# Saving and Restoring an Adapter's Configuration Settings

The Save and Restore Command Line Tool is a VBScript (SavResDX.vbs) that allows you to copy the current adapter and team settings into a standalone file (such as on a USB drive) as a backup measure. In the event of a hard drive failure, you can reinstate most of your former settings.

The system on which you restore network configuration settings must have the same configuration as the one on which the save was performed.

| NOTES: You must have Administration privileges to run scripts. If you do not have Administration privileges, you will not receive an error, the script just will not run. Only adapter settings are saved (these include ANS teaming and VLANs). The adapter's driver is not saved. Restore using the script only once. Restoring multiple times may result in unstable configuration. The Restore operation requires the same OS as when the configuration was Saved.

## Command Line Syntax

> cscript SavResDX.vbs save|restore [filename] [/bdf]

SavResDX.vbs has the following command line options:

save | Saves adapter and team settings that have been changed from the default settings. When you restore with the resulting file, any settings not contained in the file are assumed to be the default.
restore | Restores the settings.
filename | The file to save settings to or restore settings from. If no filename is specified, the script default to WmiConf.txt. Note: The static IP address and WINS configuration are saved to separate files (StaticIP.txt and WINS.txt). You cannot choose the path or names for these files. If you wish restore these settings, the files must be in the same directory as the SavResDX.vbs script.
/bdf | If you specify /bdf during a restore, the script attempts to restore the configuration based on the PCI Bus:Device:Function:Segment values of the saved configuration. If you removed, added, or moved a NIC to a different slot, this may result in the script applying the saved settings to a different device. Notes: If the restore system is not identical to the saved system, the script may not restore any settings when the /bdf option is specified. Virtual Function devices do not support the /bdf option.

## Examples

### Save Example

To save the adapter settings to a file on a floppy diskette, do the following.

1. Open a Windows Command Prompt.
2. Navigate to the directory where SavResDX.vbs is located (generally c:\Program Files\Intel\DMIX).
3. Type the following:

cscript SavResDX.vbs save e:\settings.txt

### Restore Example

To restore the adapter settings from a file on a floppy diskette, do the following:

1. Open a Windows Command Prompt.
2. Navigate to the directory where SavResDX.vbs is located (generally c:\Program Files\Intel\DMIX).
3. Type the following:

cscript SavResDX.vbs restore e:\settings.txt

`Last modified on 2/10/10 3:18p Revision`