JSI Tip 6362. When you use Sysprep on Windows 2000, the OEMPnpDriversPath in Sysprep.inf is limited to 2047 characters?

Jerold Schulman

February 20, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you exceed the 2047 character limit for the OEMPnpDriversPath in Sysprep.inf, no error is reported, but the the DevicePath Value Name, a REG_EXPAND_SZ data type, at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion is truncated.

To workaround this limit:

1. Remove the OEMPnpDriversPath from Sysprep.inf.

2. Manually configure the DevicePath Value Name by using Regedt32. Each path should be separated by a semi-colon (;) and should include the %SystemDrive% and %SystemRoot% reference, unlike the relative paths that are used in Syspref.inf.

3. Run Sysprep.

NOTE: Long paths in OEMPnpDriversPath or DevicePath can cause errors during processing.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like