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

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

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: 23 June 2022 08:51 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 1. Hold down

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. Can I find out MAC addresses remotely under Windows with on-board tools?
  2. Is there any way to make a query so I can get the MAC address of any Windows computer without going to the PC?
  3. Read MAC address using cmd.ese or call up information?
  4. MAC addresses remote short the MAC address of the network adapter to access WiFi for only a specific computer?
  5. How do I quickly get the MAC address of any Windows PC on your network?
  6. Can I also query PCs remotely to determine the MAC address of the PC via the IP address?
  7. Need a tool that can find MAC addresses and is easy to use?
  8. What do I have to do to find out the MAC address, does Windows offer any solutions or options?
  9. I want the MAC address so I can easily query it in other applications via command line?
  10. Reading out remotely works, from MAC addresses and alternative attributes?
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

  + 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
  + 12-Ants
  + Q-Dir
  + DirPrintOK
  + FontViewOK
  + MeinPlatz
  + DesktopOK
  + ProcessKO
  + WinBin2Iso
  + ThisIsMyFile
  + PAD-s


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

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.061


► Windows 11 Terminal APP command prompt as default! ◄

► Is there also a way to save the position of the sticky notes? ◄

► List fonts from a folder under Windows that are not installed, but how? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....