How do I restore the IP address for my PC via command line?
This article discusses restore your PC's IP address to communicate with your WWVDS system from a command line.
Open Command Prompt
- Open command prompt using one of the following methods:
- Windows key + R —> type cmd —> click OK.
- Star menu —> type run and open applet —> type cmd —> click OK.
Restore Previously Saved Settings
- To restore previously saved network settings, use the following command:
netsh exec <drive_letter>:\<path>\<settings_file>
For example:
- to restore the network configuration from a file, such as c:\original_ip_config.txt, run the command:
netsh interface ip set address "<interface_name>" dhcp
- if the interface name is Ethernet 2, run the command:
netsh interface ip set address "Ethernet 2" dhcp
Confirmation
- Check the network settings using the netsh command:
netsh interface ip show config