Appending to the Sysprep.inf

  • Thread starter Thread starter Brian B
  • Start date Start date
B

Brian B

I have gone over the 2047 character limit in the
sysprep.inf file. How do I append to this file so I can
add more drives. I have shortend the directory names
already. Is there a registry hack that allows me to add
more drivers to the DevicePath or I limited to the
sysprep.inf 2047 character limitation.
 
You can work around this limitation by manually entering the path that is
provided in OEMPnpDriversPath into the DevicePath entry and then by removing
OEMPnpDriversPath from the Sysprep.inf file prior to running Sysprep.

285902 OEMPnpDriversPath in Sysprep.inf is Limited to 2047 characters
http://support.microsoft.com/?id=285902

FYI...XP increases this limit to 4,096.
312535 Maximum Length of the OEMPnpDriversPath Value in Windows XP
http://support.microsoft.com/?id=312535
 
We just tried this today after finding that article. We
took the first part of the OEMPnpDriversPath and added it
to the Devicepath in the Registry. That left us with an
extra 500 characters in the sysprep.inf. When we reran
sysprep it added what was in the the syspre.inf to the end
of the DevicePath in the registry. That is a good work
around. Do you know of another way that could be scripted
or a way to add a string in the registry that would append
the DevicePath.
 
Back
Top