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 ...
28th June 2010, 04:06 PM #1
OEM PNP Drivers Path XP
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.
IDG Tech News
28th June 2010, 04:21 PM #2
dir folder /b /s /ad > file.txt
Then use excel to manipulate it into the apropriate format.
30th June 2010, 01:43 AM #3
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.
By timbo343 in forum Windows 7
Last Post: 13th April 2010, 01:49 PM
By fafster in forum Licensing Questions
Last Post: 29th March 2010, 03:51 PM
By Simcfc73 in forum Windows
Last Post: 22nd January 2010, 12:37 AM
By Zoom7000 in forum Windows
Last Post: 2nd December 2009, 03:21 PM
By anthrax69 in forum Windows Vista
Last Post: 5th February 2007, 01:59 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)