• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set a machine to use DHCP using netsh remotely via command prompt
#1
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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Machine won't boot without a graphics card! Mark 6 17,772 26-05-2011, 04:08 AM
Last Post: latch

Forum Jump: