+ Post New Thread
Results 1 to 3 of 3
Windows Thread, OEM PNP Drivers Path XP in Technical; Hi, Does anyone have a tool to scan a directory and automatically add the sub folders to the OEM PNP ...
  1. #1

    Join Date
    Jan 2009
    Location
    Yorkshire
    Posts
    26
    Thank Post
    4
    Thanked 67 Times in 2 Posts
    Rep Power
    23

    OEM PNP Drivers Path XP

    Hi,

    Does anyone have a tool to scan a directory and automatically add the sub folders to the OEM PNP Drivers Path Registry key? I have lots of drivers in lots of subfolders on my master image XP machine and I really don't want to go through and have the type them manually.

    Thanks in advance.

  2. #2


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148
    dir folder /b /s /ad > file.txt
    Then use excel to manipulate it into the apropriate format.

  3. #3


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,770
    Thank Post
    222
    Thanked 2,630 Times in 1,938 Posts
    Rep Power
    779
    Microsoft have a VBScript on their TechNet website that does exactly what you want (it's called PNPPath.vbs). You will find the link to download it at the top of this page. I have also mirrored it here too.

    By the way, the OEMPnpDriversPath value is limited to 4,096 characters, so if your folder names come to more than that you will either need to shorten them or use SysPrep Driver Scanner instead. This uses the "DevicePath" registry key which has a limit of 64,000 characters.

SHARE:
+ Post New Thread

Similar Threads

  1. OEM Drivers in windows 7
    By timbo343 in forum Windows 7
    Replies: 7
    Last Post: 13th April 2010, 12:49 PM
  2. [Windows Software] XP licenses, volume and oem
    By fafster in forum Licensing Questions
    Replies: 18
    Last Post: 29th March 2010, 02:51 PM
  3. OEM license sticker
    By Simcfc73 in forum Windows
    Replies: 5
    Last Post: 21st January 2010, 11:37 PM
  4. Creating an OEM XP Disk?
    By Zoom7000 in forum Windows
    Replies: 3
    Last Post: 2nd December 2009, 02:21 PM
  5. OEM vs Boxd Package
    By anthrax69 in forum Windows Vista
    Replies: 8
    Last Post: 5th February 2007, 12:59 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •