Skip navigation

How can I enter an OEMPnPDriversPath longer than 256 characters in the Windows 2000 unattend.txt file?

A. By default, Win2K limits the OEMPnPDriversPath in the unattend.txt file to 256 characters, which can prevent the OS from automatically installing some drivers. To work around this limitation, you can modify the .inf file that stores the default paths for drivers and manually add extra paths by performing the following steps:

  1. Open the hivesft.inf file on the Win2K distribution server.
  2. Search for the line
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\inf" 
  3. Append the extra paths to this line, separating each path by a semicolon (;). For example, to add the paths
    C:\drivers\gui, C:\drivers\usb, C:\drivers\keyboard, and C:\drivers\audio, 
    change the line to read
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\inf";c:\drivers\gui;c:\drivers\usb;c:\drivers\keyboard;c:\drivers\audio
  4. Save the hivesft.inf file.
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