PRB: Preinstalled Network Settings Lost on Reboot

ID: Q195547


The information in this article applies to:


SYMPTOMS

When you restart the target computer after configuring the network, none of your network settings are retained.


CAUSE

The MSBatch.inf and OEMAudit.inf files contain lines that restore network settings to default.


RESOLUTION

You can work around this issue by removing the lines from MSBatch.inf and OEMAudit.inf that restore default network settings. Any modification to these files must be made before you start preinstallation.

You can modify these files before generating the preload boot floppy (PBF). These files are located in the \<wizard-dir>\<configuration-set> folder, where <wizard-dir> is the directory that contains the OPK Wizard and <configuration-set> is the name of your configuration set.

You can also modify these files after the PBF has been created. OEMAudit.inf is located in the A:\pre_img\Windows\Options folder, and MSBatch.inf is located in the A:\pre_img\Windows\Options\CABs folder.

MSBatch.inf

Locate and comment out the following line:

   HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\setup","OEMRemoveNet",,1 

OEMAudit.inf

Locate and comment out the following line:

   RemoveNet=c:\windows\options\oemaudit.inf 

Comments in .inf files are designated by a semi-colon ";" at the beginning of the line.


STATUS

This behavior is by design.


MORE INFORMATION

If you have already preinstalled Windows 95, any modifications to OEMAudit.inf or MSBatch.inf on the target computer are ineffective. You must modify these files before preinstalling Windows 95.


REFERENCES

For more information, visit the Microsoft OEM System Builder Web site:

http://www.microsoft.com/oem.


Keywords          : kbOPK kbWinOS95 
Version           : 
Platform          : 
Issue type        : kbprb 

Last Reviewed: March 6, 1999