Riprep.exe Adds Duplicate Paths to the Registry

This article was previously published under Q258862
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
When you use Riprep.exe to create an image of a Windows 2000 Professional installation and the OemPnpdriversPath key is specified in the Sysprep.inf file, the entries placed in this registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows: DevicePath
are duplicated when placed in the registry. For example, an OemPnpDriversPath key that has the value
OemPnpDriversPath = drivers\nic;drivers\video
results in the following values being entered into the OemPnpdriversPath registry key:
This behavior occurs because Riprep.exe incorrectly enters the values supplied by the OemPnpDriversPath key into the registry.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Having these duplicate values in the registry can make the setup process take a few moments longer depending on the number of paths that were specified using the OemPnpDriversPath key. The duplicate values do not seem to adversely affect Setup in any other way. However, because the paths specified are used throughout the life of the computer when new hardware is installed, you may want to change these values.

To change the duplicate values, follow these steps:
  1. Start Regedt32.exe, and then load the software hive from the following RiPrep Image directory (type TEST for the key name):
  2. Edit the TEST\Microsoft\Windows\CurrentVersion\Devicepath key to remove the extra device paths after the default SystemRoot\inf entry.

    Note: All entries must begin with SystemDrive and must be separated by a semicolon (;). For example:
  3. Save the registry hive by unloading it from Regedt32.exe.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Article ID: 258862 - Last Review: 10/26/2013 04:53:00 - Revision: 4.0

Microsoft Windows 2000 Professional Edition

  • kbnosurvey kbarchive kbfix kbprb kbsetup W2000SETUP KB258862