Esko Logo Back to Esko Support

Page History

Choose your language for a machine translation:

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

 

Description

Normally, changes in Windows network settings will require a reboot. The command line described in this article will make the changes on the fly.

Procedure

In some circumstances it is useful to be able to switch network settings such as IP address, DNS settings, etc. for a Windows computer "on the fly", without rebooting. The netsh command in Windows can be used to do this.

Info

There can be syntax differences between different Windows Operating Systems.

Open a Command Prompt Window and create a copy of your existing network settings by using the command:

Code Block
netsh -c interface dump > networksetting.txt 

This will write a copy of your existing network settings to a text file named networksetting.txt. The exact name of the file is arbitrary and can be placed anywhere you wish.

You can change the network settings by loading the settings in the networksetting.txt file, which take effect immediately by using the following command:

Code Block
netsh -f networksetting.txt

Through this method, you can create text file dumps for as many network settings as you like, and then use simple command line .BAT commands to switch between them as and when you need.

Article information
Applies toWindows OS
Created4-Jun-13
Last revised11-Nov-13
AuthorIMY
CW Number 
Panel
titleContents

Table of Contents
classinline-toc