Microsoft KB Archive/195547

{|
 * width="100%"|

PRB: Preinstalled Network Settings Lost on Reboot

 * }

Q195547

-

The information in this article applies to:


 * Microsoft OEM Preinstall Kit (OPK) for Windows 95, versions OSR1, OSR2, OSR2.5

-

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 \\ folder, where  is the directory that contains the OPK Wizard and  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.