0

In Linux, I can change MAC Address easily using ifconfig command.

e.g.

sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx

Is possible to do the same via CLI in Windows OS?

I know we can change it via Network Adapter's properties or registry, I just want to know if this is possible via CLI.

Sabrina
  • 5,373

1 Answers1

4

You can change the registry via CLI. Therefore, anything you can change via registry you can also change via CLI.

reg add "HKLM\SYSTEM\CurrentControlSet\..." /v NetworkAddress /t REG_SZ /d 1a2b3c...
u1686_grawity
  • 452,512