Netsh commands not working on remote computer

Posted by Mike Christiansen on Super User See other posts from Super User or by Mike Christiansen
Published on 2010-10-26T06:46:04Z Indexed on 2011/01/06 1:56 UTC
Read the original article Hit count: 326

Filed under:
|
|

Hello,

At work, we are in the process of migrating over 200 computers from static IPs to DHCP. The DHCP server is configured. My biggest hurdle is physically going to every single computer in the area and configuring them all for DHCP.

I am trying to use netsh to accomplish this. However, I cannot even seem to set one computer to DHCP remotely. The command I am trying is:

netsh -r COMPUTERNAME interface ip set address name="Local Area Connection" source=dhcp
netsh -r COMPUTERNAME interface ip set dns name="Local Area Connection" source=dhcp

This results in the error

The following command was not found: interface ip set address "name=Local Area Connection" source=dhcp.

Any ideas?

© Super User or respective owner

Related posts about remote

Related posts about dhcp