Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Running "netsh exec" after "netsh interface dump" causes loss of interfaces.


View products that this article applies to.

Symptoms

If the user does the following:

1. Dumps network interface config via netsh -c interface dump > <ScriptFile>

2. Modifies contents of <ScriptFile>, and then reapplies the configuration via netsh exec <ScriptFile>

3. Reboots the system

The system will lose its IPv4 network interface configuration including any fixed IP addresses.

↑ Back to the top


Resolution

The following is a recommended workaround for the described problem:

1. In the <ScriptFile> generated from the netsh dump command, remove the reset command from the IPv4 Configuration section and save the file.

2. Run netsh interface ipv4 reset.

3. Reboot the system.

4. Apply the file by running netsh exec <ScriptFile>

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2792074
Revision : 1
Created on : 1/7/2017
Published on : 4/26/2013
Exists online : False
Views : 279