Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Command Prompt - Windows 11, 10, etc. ► ««« »»»

Query the Mac address via the command line (CMD)!


You can find out the mac address (physical address) of a computer with the getmac command on MS Windows 11, 10, ... etc.!




This can also be used to get the Mac address for remote computers. The following are some examples of using this command. It works under the operating systems Windows 11, 10, 8.1, ... and under the popular Microsoft Server 2022, 2019, 2016, ... operating systems!


Contents:

1.) ... Finding out the Mac address via the command prompt!
2.) ... Get the Mac address of a remote computer!
3.) ... Query Linux computer with the command getmac?
4.) ... What should you watch out for when querying the MAC address?




1.) Finding out the Mac address via the command prompt!

1. Start the command prompt as always

2. And simply enter the command getmac to query the MAC address


(Image-1) Query the Mac address via the command line om Windows 11, 10, ...!
Query the Mac address via the command line om Windows 11, 10, ...!

-
▲ Back to the top ▲



2.) Query the Mac address of a remote computer from Windows 11, 10, ... etc.!

Run the following command to get the Mac addresses of a remote computer.


getmac /s remote_computer /u username /p password



The full name of the remote computer, or the username and password of the IP address, refer to the account on the remote computer.
 
Example:



C: \> getmac /s remotepc.example.com /u administrator /p admin password

transport name of the physical address
============================ ========================== 
25-18-25-9C-3B-19 Media separated
34-41-47-7B-AC-88 \ Device \ Tcpip_ {678DD7BB-675D-4E4C-E0AE-A261490EBE8C}



3.) Query Linux computer with the command getmac?


The getmac command will only allow us to get the Mac addresses of the computers that are running Windows. If you try to do this on a Linux computer, you receive an error message "The RPC server is not available".

If you enter an incorrect password, the command fails with the error message "Logon failure": unknown user name or incorrect password Alert!



4.) What should you watch out for when querying the MAC address?



This command (getmach) does not display Mac addresses for the disabled network connections. You can run ncpa.cpl and check which network cards are disabled. Also, I've received comments that this command does nothing to help determine the Mac address for a specific device. For example, when I need to get the Mac address for my WiFi card, the output of the getmac command is not helpful. We can use the ipconfig command to deal with this.

►►  A shortcut on the Windows desktop for network adapters!
►►  Windows 10 network adapter!





FAQ 92: Updated on: 13 September 2023 06:40 Windows
Windows-Console

Change the workgroup / PC name using the command prompt or PowerShell!


Changing workgroup or PC name using Command Prompt or PowerShell is om MS Windows 11, 10, and MS Server OS Is not impossible either, this is often used
Windows-Console

Find out the computer name via the command prompt or Powershell!


Its easy to find out the computer name using the command prompt or Powershell commands on Windows 11, 10, etc. You can determine your computer name
Windows-Console

Understand the shutdown command under MS Windows!


The Shutdown command under MS Windows 11, 10, . + MS Server is one of the most popular PC shutdown or restart command lines To use the command line,
Windows-Console

Activate and deactivate Remote Desktop via command line!


Its easy to enable and disable Remote Desktop from the command line on MS Windows 11, 10, etc. and Server OS The remote desktop can be turned off,
Windows-Console

Find out with PowerShell what is preventing shutdown and standby!


It is easy to find out with PowerShell which app or program is preventing shutdown, standby or hibernation on Windows 11, 10, etc. With all Microsoft
Windows-Console

Delete partition with Diskpart under Windows 11, 10, ... and MS Server!


It is easy to delete a partition with Diskpart on all Windows 11, 10, Desktop and MS Server 2022, 2019, operating systems Contents: 1. Deleting
Windows-Console

Command line to delete empty folders Windows 11, 10, ....!


If you want to delete empty folders via command line, here is the command for all Microsofts Windows 11, 10, Desktop and MS Server OS Contents: 1.

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. How to find the MAC address of a device and how it differs from an IP address?
  2. How to find IP and MAC Address by command line in Win?
  3. Command line utility to redirect the results of a query of the MAC addresses?
  4. How to view your computer's MAC address using ifconfig?
  5. Quickly find other devices IP and accompanying MAC addresses?
  6. How to find your physical MAC address?
  7. MAC address from an IP address using the Command Prompt?
  8. How do I find my computer's MAC address?
  9. Find an IP Address using a MAC Address?
  10. Can I also query PCs remotely to determine the MAC address of the PC via the IP address?
  11. Windows: Command To Find Mac Address?
  12. Windows Command to Find MAC Address?
  13. Read MAC address using cmd.ese or call up information?
  14. Reading out remotely works, from MAC addresses and alternative attributes?
  15. Can I find out MAC addresses remotely under Windows with on-board tools?
  16. How do I quickly get the MAC address of any Windows PC on your network?
  17. Locate MAC Address on Windows using Run Command?
  18. Query the Mac address via the command line?
  19. MAC addresses remote short the MAC address of the network adapter to access WiFi for only a specific computer?
  20. How To Get A Mac Address From An IP?
  21. Need a tool that can find MAC addresses and is easy to use?
  22. What is a MAC address, Finding the IP and MAC address using the command-line?
  23. Is there any way to make a query so I can get the MAC address of any Windows computer without going to the PC?
  24. I want the MAC address so I can easily query it in other applications via command line?
  25. Is there a way to query a MAC address from a command line?
  26. Can I determine the current IP from a known MAC Address?
  27. Finding the MAC Address of Windows or Mac Computer?
  28. Find the MAC Address of a Computer or Device?
  29. How to Find a MAC Address from an IP Address?
  30. Query the network to retrieve MAC addresses associated with IP addresses?
  31. What do I have to do to find out the MAC address, does Windows offer any solutions or options?
  32. Get mac address from command line?
  33. What is a MAC Address and How Do I Find It?
Keywords: windows, 11, 10, console, query, address, command, line, find, physical, computer, with, getmac, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + 4ur-Windows-8-Mouse-Balls
  + 12-Ants
  + Q-Dir
  + PaintOkay
  + DirPrintOK
  + FontViewOK
  + MeinPlatz
  + DesktopOK
  + IsMyMemoryOK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Command line and shut down the computer! ◄
► What are the main functions of kernel memory? ◄
► TV sleep function with Please Sleep in Don't Sleep? ◄
► PreventTurnOff: Program startup, when you reactivate the PC, Options? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....