User Tip #46: Use netsh to configure your laptop's nic for different networks |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
netsh -c interface dump > c:\configs\officeinterface.txt
Now lets say you take it home and reconfigure it correctly for you home network. To save you home network configuration for later use:
netsh -c interface dump > c:\configs\homeinterface.txt
OK. Now you take the laptop back to the office and you need to reconfigure for the office environment: nic address, wins, gateway address... Use the following command to restore your office network interface:
netsh -f c:\configs\officeinterface.txt
At end of day, you take it home. To setup for home, run:
netsh -f c:\configs\homeinterface.txt
As you can imagine, this is very valuable if you have get your laptop to function in multiple network locations.
Related tips: