PRB: Dialup Networking Settings Disappear After You Run PREPTOOL (273801)



The information in this article applies to:

  • Microsoft Windows Millennium Edition

This article was previously published under Q273801
If this article does not describe your hardware-related issue, please see the following Microsoft Web site to view more articles about hardware:

SYMPTOMS

When the Microsoft Windows Millennium System Preparation Tool (Preptool) is used to prepare a hardware independent software image, the Dial-up Adapter device and network settings for the device are removed. The My Network Places desktop icon may also be removed if the system is configured only with a MODEM and no Network Interface Card.

CAUSE

Preptool removes hardware devices from the Device Manager as part of the imaging process. However, Windows Millennium does not redetect non-hardware devices such as the Dial-up adapter.

RESOLUTION

To resolve this problem, add the following sections to the C:\Windows\Msbatch.inf file before you run Preptool:

[Setup]
Network=1

[Network]
Protocols=MSTCP
NetCards=*PNP8386,*PNP8387

[Processor.Addreg]
HKLM,%KEY_INSTALLEDCOMPS%\^RNA,,,"DUN - RNA"
HKLM,%KEY_INSTALLEDCOMPS%\^RNA,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\^RNA,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\^RNA,StubPath,,"rundll rnasetup.dll,installoptionalcomponent rna"
HKLM,%KEY_INSTALLEDCOMPS%\^VPN,,,"DUN - VPN"
HKLM,%KEY_INSTALLEDCOMPS%\^VPN,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\^VPN,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\^VPN,StubPath,,"rundll rnasetup.dll,installoptionalcomponent vpn"
HKLM,"System\CurrentControlSet\Services\VxD\NDIS","DeviceVxDs",,"ndiswmi.sys"
HKLM,"System\CurrentControlSet\Services\VxD\NDIS","StaticVxD",,"ndis.vxd"

[Strings]
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"

STATUS

This behavior is by design.

MORE INFORMATION

You need to use the following steps if the target systems that receive the image only have a modem installed:
  1. Modify the Msbatch.inf file as described in the "Resolution" section.
  2. Run Preptool to create the hardware independent software image.
  3. After Preptool has finished, start the Registry Editor (Regedit.exe).
  4. Locate the NetSetupFlags value under the following key in the registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\NetSetup
  5. On the Edit menu, click Modify, and then replace the four (4) numeric values with 23 00 00 00. Click OK.
  6. Quit the Registry Editor.
You can now shut down the system and image the hard drive.

Modification Type:MajorLast Reviewed:8/8/2006
Keywords:kbprb KB273801