Article ID: 285902 - Last Review: February 28, 2007 - Revision: 4.4 OEMPnpDriversPath in Sysprep.inf is limited to 2047 charactersThis article was previously published under Q285902 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
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
SUMMARY
The OEMPnpDriversPath value in the Sysprep.inf file is limited to 2047 characters.
MORE INFORMATION
Exceeding this limitation does not cause an error when you run Sysprep, but it does truncate the path to the limitation when it is appended to the DevicePath registry entry in the following key:
HKLM\Software\Microsoft\Windows\CurrentVersion
To work around this limitation, manually enter the path that is provided in OEMPnpDriversPath into the DevicePath entry and then remove OEMPnpDriversPath from the Sysprep.inf file before running Sysprep.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. To enter the path in the DevicePath entry:
Using large paths in OEMPnpDriversPath and DevicePath may cause application or heap errors to occur on the computer. | Article Translations
|
Back to the top
