Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


Set a machine to use DHCP using netsh remotely via command prompt
16-02-2014, 06:19 AM
Post: #1
Set a machine to use DHCP using netsh remotely via command prompt
Set a machine to use DHCP using netsh remotely using a command prompt

1) psexec \\computerip -u domain\administrator cmd
2) See current config: netsh interface ip show config
3) Set DNS to DHCP:
Code:
netsh interface ip set dns "Local Area Connection" dhcp
4) Set IP to DHCP:
Code:
netsh interface ip set address "Local Area Connection" source=dhcp


[Image: engrish25.png]
Reply



Forum Jump:


User(s) browsing this thread: 1 Guest(s)