ForceFed Posted February 13, 2006 Share Posted February 13, 2006 I have a Ghost Image that I want to add some drivers to but it seems that the OEMPNPDrivers line will not modify the line in the registry if it is already present. What I planned to do was push the image to a clean HDD, Slave it, modify the sysprep.inf oempnpdrivers line and add the drivers folders but it will not work. Is there a way to modify the registry on the slaved drive so I can remove the pnp drivers line so that it will be recreated on first startup?Please NOW in Microsoft Windows XP section, use [TAGS] in your topic's title.See rules--Sonic Link to comment Share on other sites More sharing options...
net_user Posted February 13, 2006 Share Posted February 13, 2006 are you talking about editing the registry in the ghost image? Link to comment Share on other sites More sharing options...
ForceFed Posted February 13, 2006 Author Share Posted February 13, 2006 are you talking about editing the registry in the ghost image?Yes, I need to remove a line in the registry in the image. Link to comment Share on other sites More sharing options...
Takeshi Posted February 14, 2006 Share Posted February 14, 2006 You cannot edit the image directly but once restored to a partition you can then easily edit the registry by loading the appropriate hive. Link to comment Share on other sites More sharing options...
ForceFed Posted February 14, 2006 Author Share Posted February 14, 2006 You cannot edit the image directly but once restored to a partition you can then easily edit the registry by loading the appropriate hive.So what you are saying is that once the image is on a HDD and the HDD is slaved in I can just use regedit to load the appropriate HIVE and edit it from there?Where is the HIVE for "HKLM\Software\Microsoft\Windows\CurrentVersion\DevicePath" located? Link to comment Share on other sites More sharing options...
Aegis Posted February 14, 2006 Share Posted February 14, 2006 Load the Software hive and find that key . Link to comment Share on other sites More sharing options...
ForceFed Posted February 14, 2006 Author Share Posted February 14, 2006 Load the Software hive and find that key . That's not much help. What folder should I be looking in? Will it be a a *.dat file extension? Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted February 14, 2006 Share Posted February 14, 2006 (edited) It will be in %SystemRoot%\system32\config and doesn't have a file extension.Failing that you could just restore the image to a fresh system, boot it, make your changes, re-sysprep and recreate the image. Either way you're going to have to recreate the image. Edited February 14, 2006 by nmX.Memnoch Link to comment Share on other sites More sharing options...
averagecdn Posted February 14, 2006 Share Posted February 14, 2006 mmm there a couple of different ways to do.... you could load the GHO file into something like ghost walker then run regedit and edit the registry without having to restore the image to another Computer. I am not sure if you can do this with a PE disc or you are better suited to drop the drive into another machine and complete the task that way. Link to comment Share on other sites More sharing options...
Sonic Posted February 14, 2006 Share Posted February 14, 2006 I see one solution ... restore image on a computer (don't boot at all to keep system untouched) , boot from Avast! Bart CD which it's include "Avast Registry Editor" .. it will load your registry .. modify it and shutdown. After re-make ghost of the system. Link to comment Share on other sites More sharing options...
averagecdn Posted February 14, 2006 Share Posted February 14, 2006 Sounds good Sonic... that solution works great!!! Link to comment Share on other sites More sharing options...
ForceFed Posted February 14, 2006 Author Share Posted February 14, 2006 Thanks for the replies guys. I'll try it and see how it goes. Link to comment Share on other sites More sharing options...
ForceFed Posted February 15, 2006 Author Share Posted February 15, 2006 I see one solution ... restore image on a computer (don't boot at all to keep system untouched) , boot from Avast! Bart CD which it's include "Avast Registry Editor" .. it will load your registry .. modify it and shutdown. After re-make ghost of the system.Thanks for all of the comments and help guys. I did a search for Avast Bart CD and the only thing I found cost $200.00 which wasn't an option. I did however find a solution which I will explain for future reference.1. I pushed my Ghost image down to a clean Hard Drive and then shut the system down.2. I slaved the Hard Drive into another system and copied the new driver folders to the Hard Drive.3. Next I opened the registry editor (regedt32), Highlighted HKLM, and clicked on Load Hive.4. The File I loaded was "%systemroot%\System32\Config\Software" (named it zzz).5. From there I was able to locate the DevicePath value under "microsoft\Windows\CurrentVersion".6. I added the value for the folders containing the Drivers I added to the image.7. Unloaded Hive and closed the registry editor.8. Shut Down the system and saved the new image.It worked like a charm! Link to comment Share on other sites More sharing options...
averagecdn Posted February 15, 2006 Share Posted February 15, 2006 Great ForceFed glad to hear it worked.... Link to comment Share on other sites More sharing options...
laura Posted May 18, 2006 Share Posted May 18, 2006 @ForceFed and @allis it possible to load system's part CurrentControlSet ?then i loaded system hive i saw only ControlSet001 and ControlSet002 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now