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

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_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion 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.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish