StumpedTechy
MIS
We are on a windows 2003 domain we have multiple PC's with static ips and DNS entries across multiple sites so driving to each is not an option. We only have Remote Control as a tool and we don't want to have to check each machines status and call each use to not log them off the PC's. The users themseleves are not admins on their machines so we dont want to send our command line information that owrks locally. I know we can do the following locally at a PC and it will clear out the 3rd DNS entry that is no longer valid.
netsh interface ip set dns name="Local Area Connection" static 192.168.1.5
netsh interface ip add dns name="Local Area Connection" 192.168.1.6 index=2
Now when I do this locally at a PC logged on with admiin rights I can get to it. When I do an netsh -r Machinename I get the [Machinename] netsh> prompt but when I type in anything past interface ip I dont get the options for set dns or add dns that I get when connected locally.
netsh interface ip set dns name="Local Area Connection" static 192.168.1.5
netsh interface ip add dns name="Local Area Connection" 192.168.1.6 index=2
Now when I do this locally at a PC logged on with admiin rights I can get to it. When I do an netsh -r Machinename I get the [Machinename] netsh> prompt but when I type in anything past interface ip I dont get the options for set dns or add dns that I get when connected locally.