4 Ways to Edit Windows Registry Offline [Without Regedit]
Method Three
Using a recovery CD by Lazesoft will also enable us to edit the registry from the bootable rescue disc. This has a nice bonus of including all the other tools from the Lazesoft Recovery Suite Home Edition such as disk backup and cloning, Windows product key recovery/user password reset and file undelete/recovery, so it’s a very useful disc to have around.
1. Download Lazesoft Recovery Suite Home and install the program.
2. Run the Recovery Suite and click the button that offers to create a CD or USB bootable media. You will then have the opportunity to burn to CD, write directly to a USB flash drive or save the ISO file for later writing.
3. Boot the computer with your CD/USB media and when the Home window opens, select Windows Recovery then choose your operating system to load the registry from. This will obviously range from 1 entry to several for a multiboot system.
4. In the main recovery screen click either the LoadingCrash or RepairTools tab -> Registry Editor, and click on the Registry Editor button. You will notice that Lazesoft Recovery Suite can only edit HKEY_LOCAL_MACHINE although this should be more than enough for the majority of tasks because the Microsoft subkeys are usually where most major system issues such as logon and startups are found.
5. Navigate to SOFTWARE -> Microsoft -> Windows NT -> CurrentVersion -> Winlogon and find the Usetinit value name in the right pane. Double click it and you can change the value data to “C:\Windows\System32\Userinit.exe,”.
6. Once editing is complete click on “Write Changes to Disk”.
There does seem to be a slight bug on some systems where the main 4 keys in the editor (SAM, SECURITY, SOFTWARE, SYSTEM) will be empty, although there is a simple solution to get around this. Close the editor and also the Windows Recovery window so you’re back at the Recovery Suite Home screen, then just click on the Windows Recovery button, select the operating system again and then go back into the registry editor. This worked every time.
Method Four
This will explain the tougher method on how to access registry without booting in to Windows using UBCD4Win. We’ve previously written a guide on how to create a UBCD4Win CD. Once you have the CD created, just follow the few simple steps below.
1. Boot up computer with UBCD4Win.
2. Once Ultimate Boot CD 4 Windows is fully loaded, click Start -> Programs -> Registry Tools -> RegEdit.
3. Select the HKEY_USERS key.
4. Click File from menu bar and select Load Hive.
5. Browse to C:\Windows\System32\Config\ and select SOFTWARE. Make sure that it is C:\ and not X:\ drive, otherwise you’ll be loading the CD’s registry.
6. Enter the Key Name as NEWHIVE.
7. Expand HKEY_USERS and you’ll see a newly created NEWHIVE in the list. Expand the NEWHIVE and locate the following location. HKEY_USERS -> NEWHIVE -> Microsoft -> Windows NT -> CurrentVersion -> Winlogon
8. Double-click Userinit and set it to the correct value. Make sure you include the comma at the end after Userinit.exe if that’s what you’re editing.
9. Go back to HKEY_USERS and select NEWHIVE.
10. Click File from menu bar and select Unload Hive. Click Yes when asked if you are sure you want to unload the current key and all of its subkeys.
If you already have UBCD4Win created, the whole process is much faster. However, I understand that not everyone has a Windows XP install disc on hand.
Alain guy is right , add 5th method f8 –> windows repair—> cmd —> regedit…….
Ultimately i am create registry & working correctly..Thank you Sir!
Thanks, a very useful post!!!, I didn’t know I was that easy!.
Another way is Linux and “chntpw” to edit the Windows registry.
What can I save, when you Rock, Raymond, you ROCK
You are my life saver Mr. Raymond. I used this method through A virus rescue system & BANG….. It rocks man..
Thanks, this post save me
Pcregedit site is dead
Try “Registry Editor PE”
U are the best Raymond
Really Really … can’t thank u enough
with my all wishes to u to achieve your wishes in your life
u can’t imagine how u help me through these .. u are a real genius
thank u , and … stay blessed :)
It worked for me. Revived an old XP desktop after sitting for 4 years. I had the logon logoff loop, possibly made worse by Nortons 360 as I could not run in safe mode.
1) Used FixMeStick to remove viruses;
2) Used Method 1 PC Regedit.iso to enter missing userinit as described above;
3) Used active@LSoftTechnologies to burn above ISO to CD.
Raymond, there is a 5th method which does not require any tools/booting on an external CD if you have access to the repair utility
See explanation here
mattterrabyte.wordpress.com/2011/07/17/modify-windows-registry-startup-repair/
I think you should add it to your list
Thanks for the solution , was trying to delete a record that did not exclude .
.) Start on Windows install CD
.) At the “Install Now” selection screen, hit Shift+F10 to open a cmd box
.) type: regedit (or regedt32) then Enter
Moreover:
.) Click on HKLM (for instance)
.) File/Load Hive, find your hard drive letter (ex: D:), load D:\Windows\System32\Config\SYSTEM and give hive a name (ex: DEBUG)
.) Do any modifications you want within this hive
.) When done, select the hive (DEBUG) then File/Unload Hive
Hi, thanks for the info & Hirens Boot CD download link – looks like a useful tool !
Thank you so much!! you are a life saver!! i just built my first pc ever and thought of tinkering the registry, which is sstupid stupid stupid on my part. heartbreaking to not getting it working after that. but after i went to do your methods i got it back up! thank you so much!!
THANKS MAN YOU’RE VERY HELPFUL THAN OTHER WEBSITE OR BLOG I’VE FOUND ON HOW TO BOOT/REPAIR USING USB FLASH DRIVE AND SO FAR YOUR BLOG HELP ME SO MUCH. THANK YOU! :)
thanks a lot man.. awesome tutorial
Thank you so much for this! I corrupted my registry by following vague registry edit instructions, and the first method here got me back in business.
Note to other users, I had to do a Binary Edit. Simply Editing the values was not suffcient.
Cheers!
Thanks a lot
Thanks a lot!!!
Awesome, thanks!
thank you so much
I had a problem was with the RPCSS not starting correctly on my laptop, this tool made it easy to rectify! Whoever made this is a genius.
A thousand thanks for the tutorial, I have use PCREGEDIT several times and it is great.
This post just saved my life. OK, maybe not my life, but a hell-of-a lot of trouble. Thanks!
A thousand thanks for that, it saved my tail today.
you are so good, I like you!
PC Regedit saved me big time! THanks Raymond!
hi
thank soooooooooooo much
it was great
i suddenly deleted “userinit” key patch in registry and i couldn’t do anything
i used hirens boot CD (mini windows xp) and edited my registry in the way you said
again thanks so much
Thank you and Thank you again Raymond for this detailed explanation on how to use PCregedit to restore userinit; I have regain control of my pc after 5 hours of pure panic! Thanks also to the PCregedit team, wherever they are.
This is an awesome page compared to dozens I have been through today.
All the best!
This really worked for me. I used Bart PE to access the registry edit. I have spent days over the last few weeks trying to solve this problem and this finally did it. It was due to a virus either w32silly – forever.exe or music.exe which came onto the computer via an infected USB memory stick. I was aware that the userinit.exe file was the problem but the other solutions suggested elsewhere never worked (perhaps it was the comma at the end?) Thanks very much.
Thanks a million Raymond, you’ve saved me a LOAD of work with this tutorial! Awesome work and highly appreciated. Highly!!
You are a genius!!! Thank u so much!!
Login Logoff Loop no more. What a great post, easy to follow Deliastyle walkthrough. Thank you.
Many thanks Raymond – this link was a great find. I have never seen this problem before & I have been working in IT for many years. I tried numerous things but continued to scratch my head for two weeks before finding this article. It thankfully saved me from the time consuming PC rebuild, which I was beginning to think was my only option – well done for producing a great fix.
Many thanks to you and the author of PCRegedit, this saved me.
Nice to know have software like this.
Thanks for posting this. I have been working on computers for 9 yers. and this is the first time I saw the logon loop issue. My client and I thank you!
Thanks bro. Your tutorial has save my wifes laptop. I use PC Regedit and burn it into a cd. Then i follow your instruction. Thanks once again.
wow, that’s perfectly works! thank you so much!
Hello Raymond, I had a similar problem with you. The problem with my case is my useinit file was infected with a virus still can’t figure out yet. Realizing my userinit.exe file was infected (through virus scan), i simply disable the userinit entry in Autorun.exe (by sysinternals) and wasn’t too care about what the dialog box was talking about. Simply clicked Ok, then the next time i restarted my PC, the infinite logon-logoff loop strike me.
Through my other PC i manage to Google this page. Man, what you’ve done is what we as PC not-so-expert user commend. Thanks bro! You really saved millions others who are careless enough to mess with their useinit.exe entries in the registry. Hehehe.. Cheers..
Wow, thanks you saved my wifes laptop.
Thanks again!!!!!!!!!
Man,
You really saved my bacon with this fix – many, many thanks. There were two things that I had to do a bit differently, though (I used the PC Regedit fix for my situation).
1) Even though I couldn’t logon, Windows did attempt to start so I went into the BIOS setup to disable the A: drive and HDD, forcing the CD drive to be seen.
2) After navigating to the offending key, I had to edit the key instead of adding a key.
Other than that, your fix worked perfectly and, again, many thanks.
Erich Frerking
Thank you, very good work. I followed the second option downloding PCRegEdit.iso
It worked just fine.
Thanks! You just saved my computer! I had a virus and was a bit too zealous in cleaning it out, messed with something in Hijackthis, and got caught in an endless logon/logoff loop. NOTHING worked, and I was ready to do system restore and just start over. Then I landed on this page and, seriously, a few minutes later my computer was back in working order. You rock!
Hello. Thank you for your help and guidelines.
Raymond thanks for tutorial ;)
Thanks Ray. I once had the same problem a few weeks ago and it really bugged me till I got BartPE. It works too.
hmm good tutor thanks i like it
Thanks mate, wonderful tip and nicely written tutorial, cheers!
Hey Ray,
Another good tip. Thanks man, you are awesome.
nice tutorials thanks ray!
Thanks Raymond.
thanks for the wonderful tips.
Anyways thanks and cheers :)