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 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: 7 August 2021 15:57 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:
Keywords: windows, 11, 10, console, query, address, command, line, find, physical, computer, with, getmac, Questions, Answers, Software




    

  + Freeware
  + File management
  + Decoration and fun
  + Automation
  + Office
  + Order on the PC
  + PC testing tools

  + 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

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


► Search query customize in Windows 10/11 and MS Server! ◄ ► Disable grouping in Windows 8.1, 10 taskbar (turn off)? ◄ ► Changing User Passwords in Windows 10 / 11 Without Knowing the Current? ◄ ► Driver Update via the Windows 10/11 Device Manager! ◄ ► Search data, sort by date and delete at MS Windows restart! ◄ ► Open a second drive of folder in new window (Tab)? ◄ ► Share more fonts for Windows 11, 10, ... command prompt! ◄ ► How do I find out which Windows I have? ◄
This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....