Thread: ipconfig
View Single Post
  #9   Spotlight this post!  
Unread 06-10-2010, 00:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,072
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: ipconfig

Quote:
Originally Posted by Mark McLeod View Post
Yes, it's just restricting the netsh operation to an administrator account.
E.g., right click on Command Prompt and click on "Run as..." once you get an administrators account.
OK that's the problem. Apparently with Vista, even if you are logged into an admin account it's not sufficient to just open a command window and start typing netsh commands.

I right-clicked on the netsh.exe executable and selected "run as administrator" and was able to run the commands you provided. I didn't get any error messages, but I'm wondering about the results I got.

When I ran the commands:
Quote:
netsh interface ip set address name="Local Area Connection" static 10.73.37.6 255.0.0.0 10.73.37.4 1
netsh interface ip show config
... I got the result:
Quote:
Configuration for interface "Local Area Connection"
DHCP enabled: Yes
Default Gateway: 10.73.37.4
Gateway Metric: 1
InterfaceMetric: 10
DNS servers configured through DHCP: 192.168.1.1
Register with which suffix: Primary only
WINS servers configured through DHCP: None
Is DHCP supposed to be enabled? And why don't I see the 10.73.37.6 and the 255.0.0.0?



Reply With Quote