Is there a way to retrieve MAC from registry instead of the SLOW GetMAC.EXE

Moderator: DosItHelp
Code: Select all
getmac >> MAC.txt
Code: Select all
for /f "tokens=3 delims=:. " %%A in ('ipconfig /all^|findstr /c:"Physical Address"') do set MAC=%%A
I use MAC to differentiate computer systems from one another.I don't know much about the registry or MACs,