Jump to content


Edit registry of drive connected via USB?

  • Please log in to reply
1 reply to this topic

#1 titewad



  • Active Members
  • 14 posts

Posted 16 April 2009 - 07:58 PM

Is there a way to read/update the registry of a secondary drive attached to a PC via USB, IDE or SATA?

The secondary drive would be taken from another PC and have a full installation of Windows XP/Vista on it. I want to check a few values and update them if they are not correct. This would be for recovering from damage done by malware, such as when the userinit.exe login program is changed in the registry.

I am familiar with using AutoIt to do this in the registry of the drive that was used to boot the PC, but not the secondary drive.

Thank you.

#2 zorphnog



  • Active Members
  • PipPipPipPipPipPip
  • 448 posts

Posted 16 April 2009 - 08:54 PM

You just have to load the registry hives from the mounted hard drive so that you can access them. See RegLoadHive and RegUnloadHive functions here http://www.autoitscript.com/forum/index.php?showtopic=50551. You can find the common hives in the System32\config folder.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users