Fixing registry problems via system restore when windows won't boot


Recommended Posts

Fixing registry problems via system restore when windows won't boot.

Everybody knows about system restore, how you can use it to restore your system back to a particular date when all was well. What happens when windows does not boot, because of a problem with the registry? Everybody?s first thought is either performing a repair installation of windows or formatting and reinstalling. Before going that drastic there is one Hail Mary you can attempt before giving up all hope. To do this you need a copy of bartpe (a version of windows that you can boot off a CD.

http://www.nu2.nu/pebuilder (you can use this free software to make your own)

System restore stores all of the restore points in the root of C: in a folder called ?System Volume Information? (You have to tell windows to show Protected Operating system files).

If you open that folder you will see a folder called ?_restore (and then a bunch of numbers)?. All your machines restore points are stored there. The restore points all share a common name, the letters RP and then a number (example RP143). The numbers themselves don?t really tell you when that restore point was created, but the time stamp does. So it?s best to view by details and arrange by date. So you pick a RP folder corresponding by the date you want to go back to and open it up. Every restore point has a ?Snapshot? folder. This folder contains a backup of the system registry the day the restore point was created.

All the registry backups start with the name _Registry_User followed by the name of the registry file. Example _REGISTRY_MACHINE_SYSTEM. (all that file needs is a little rename love?n and it will be as good as new).

Windows stores all of its registry entries in c:\windows(or winnt)\system32\config. So it?s best to backup that folder up before making any changes. After that?s done it?s a good idea to rename the current registry entries to something else, like system to systemold. Now return to your ?Snapshot? directory and copy all backed up registry entries and paste them in c:\windows(or winnt)\system32\config.

All it takes now is just a little renaming. Let?s take system for example. The backup of the system registry file is called _REGISTRY_MACHINE_SYSTEM. Right click it and rename it to what the old file was called. In this case the file was called just system with no file extension. The same goes for the rest of the registry files. The most common registry files to get you back up and running are, System,Software,Security,SAM and Default. I usually just restore all of them.

Once complete reboot your machine. If all goes well the once unbootable windows installation should come back to life, if all that was wrong was the registry. This has worked on more than one occasion, when the fate of a windows install was looking pretty bleak.

Edited by warwagon
  • 2 weeks later...

Excellent technique man, haven't had the need to try it, but it sounds QUITE logical & solid...

(Kudos to you!)

:)

* They ought to "sticky thread" this one... imo, @ least!

HOWEVER - wouldn't RECOVERY CONSOLE (free, as in included with your Operating System CD/DVD already) allow for the SAME THING?

(E.G..-> backing up originals, renaming files, & Copy/overwrite of corrupt ones)

I.E.-> It's QUITE POSSIBLE, bart's PE builder is NOT required!

HOWEVER - you may be correct: It's possible that the registry hives are LOCKED, even if only in part, while RC operates too & a 3rd party tool MAY be needed (since it is NOT "Windows itself" running & thus, not locking registry hives).

(Other tools could possibly manage it as well - such as "System Lifeline" by the folks that produce ONTRACK utlities - this is NOT a std. command processor, & it works while windows is booting. prior to the Windows OS Explorer.exe shell taking effect... & probably does NOT "lock" the registry hives against overwrites too).

APK

P.S.=> Since I liked it, even though it's only based on "theoreticals" @ this point (imo & experience because I have NOT had to use it, but it sounds logical enough)? You get a "5 stars" out of me for a rating... apk

Edited by APK
Excellent technique man, haven't had the need to try it, but it sounds QUITE logical & solid...

(Kudos to you!)

:)

* They ought to "sticky thread" this one... imo, @ least!

HOWEVER - wouldn't RECOVERY CONSOLE (free, as in included with your Operating System CD/DVD already) allow for the SAME THING?

(E.G..-> backing up originals, renaming files, & Copy/overwrite of corrupt ones)

I.E.-> It's QUITE POSSIBLE, bart's PE builder is NOT required!

HOWEVER - you may be correct: It's possible that the registry hives are LOCKED, even if only in part, while RC operates too & a 3rd party tool MAY be needed (since it is NOT "Windows itself" running & thus, not locking registry hives).

(Other tools could possibly manage it as well - such as "System Lifeline" by the folks that produce ONTRACK utlities - this is NOT a std. command processor, & it works while windows is booting. prior to the Windows OS Explorer.exe shell taking effect... & probably does NOT "lock" the registry hives against overwrites too).

APK

P.S.=> Since I liked it, even though it's only based on "theoreticals" @ this point (imo & experience because I have NOT had to use it, but it sounds logical enough)? You get a "5 stars" out of me for a rating... apk

True you don't need bartpe. But with the recovery console you have to type out the whole file names. They can be quite long. yes it can be done. BartPE is easier

True you don't need bartpe.

Ah, THAT'S what I was wondering & it appears THERE IS NOTHING LOCKING THE REGISTRY @ THAT POINT (while in RC)... that's what I needed to know!

I was unsure here on this note, thanks for seconding me on it & removing my doubts @ this point.

(Heh, I would try to "experiment" here, but... I only have 1 system now, & trying to pull a "radical experiment" on it, after it has been up & running on Windows Server 2003 since 2003 would be a HUGE risk imo... one I would rather NOT gamble on!)

BUT, you have "had the balls" to try it apparently!

(& that earns your 5 star rating from me @ least, on that merit alone (well, that & the fact your technique sounded logical as all get out too!)).

The thing is, over on "my side of the fence", is:

I don't dare "risk" this setup - TOO many years poured into it, very fine-tuned, secured, & much reorganization/personalization into it etc. et al!

(Well, then again, I have an Acronis TrueImage backup I could return to that IS current, but, would take me about 1 hr. to reinstall the OS, install Acronis TrueImage, & then run the restore from it also)

Ah heck, I'll admit it - it's just me being a coward is all, lol!

But with the recovery console you have to type out the whole file names. They can be quite long. yes it can be done. BartPE is easier

Easier = GOOD!

:)

* RC is "primitive" in MANY respects, such as its copy command being a pain too (so, I hear your "pain" when you mention typing things out in it, & more), but, it does do the job well enough, but as you say, sometimes NOT as easily as other things can.

APK

P.S.=> What I am wondering @ this point, & perhaps you can help here? Is IF there is an "SDK" for Windows RECOVERY CONSOLE, because this has given me an idea... that is to write up a small app for RC that will allow .reg file merges. Do you know if MS puts out a SDK for RC? Thanks... apk

Note that this is unnecessary in Vista - just insert the operating system DVD, choose "repair my computer", and the DVD will automatically restore the registry. I've had it do this when my registry became corrupted (a friend was over, and he accidentally flipped the power supply switch while the computer was booting. Not good)

  • 3 years later...

Note that this is unnecessary in Vista - just insert the operating system DVD, choose "repair my computer", and the DVD will automatically restore the registry. I've had it do this when my registry became corrupted (a friend was over, and he accidentally flipped the power supply switch while the computer was booting. Not good)

Plus in Vista and 7 under the c:\windows\system32\config folder there is a folder in their called regback. So if you wanted to do it yourself, all you have to do is back up your original ones. and just copy and paste the contents of regback, into the system32/config folder and boom! Done!

Plus in Vista and 7 under the c:windowssystem32config folder there is a folder in their called regback. So if you wanted to do it yourself, all you have to do is back up your original ones. and just copy and paste the contents of regback, into the system32/config folder and boom! Done!

Only took you 3+ years to reply mate. Gotta be a record, right? :D

  • 7 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It is such a shame. I used to really respect Neowin's articles.
    • So.... slower fixes and slower security updates are preferred? I mean, there is no goldilocks zone here until it can literally update without ever needing a restart, and even then I'm sure someone would complain.
    • [New Deal] Save 73% on a lifetime EbookMagic Starter Plan by Steven Parker Today's highlighted Neowin Deal comes via our Apps + Software section, where you can get a lifetime subscription and save 73% on a lifetime EbookMagic Starter Plan. EbookMagic helps turn your ideas into complete, professionally formatted ebooks without spending weeks writing, editing or designing. Simply enter your title, genre and key details, and EbookMagic creates structured content, polished layouts and a custom cover in just minutes. Instead of juggling separate writing tools, formatting software and cover generators, EbookMagic handles the entire ebook creation process in one place. Generate content, customize your book and export ready-to-use files designed for publishing, sharing or personal projects. EbookMagic Lifetime gives aspiring authors, creators and entrepreneurs the flexibility to build, publish and scale projects over time without ongoing subscription fees. Whether you're building lead magnets, creating educational resources or starting your self-publishing journey, EbookMagic simplifies the process and helps bring ideas to life faster. AI-Powered Ebook Creation AI Writing Assistant: Transform prompts & ideas into complete ebook content. 12 Professional Writing Styles: Write using multiple styles and tones. Author Style Mimicking: Adapt content to preferred writing styles. Personalized Cover Generator: Produce custom ebook covers automatically. AI Audiobook Creator: Convert your books into professional-sounding audiobooks using a variety of realistic AI voices (1 audio book included). Built to Help You Create Faster Lightning Fast Creation: Build complete ebooks in minutes. Target Audience Optimization: Tailor content to specific demographics and reader preferences. Intelligent Chapter Structure: Automatically organize chapters and generate a table of contents. 15+ Genres Supported: Create fiction, non-fiction, business, romance, self-help and more. Quality Assurance: Improve readability and engagement with built-in content optimization. Convert to Interactive Books: Transform standard content into interactive experiences. 57 Major Languages Support: Produce ebooks across supported languages. Ready for Download & Publishing Ready for Sale: Create professional books that can be published and sold on Amazon KDP and other major publishing platforms Kindle & Print-Ready Formats: Export files prepared for publishing. No Watermarks: Create cleaner deliverables for publishing. Commercial Usage Rights: Sell or publish your ebooks. Built-In Editing Tools: Make edits before export. What You'll Get 5 Ebooks per month Each generated ebook can support up to 500,000 words per book. Up to 50 cover generations 12 professional writing styles Author style mimicking Personalized Cover Generator Convert to Interactive Books Multiple languages support Kindle & Print-ready formats Commercial usage rights No watermarks Good to know Length of access: Lifetime Redemption deadline: Redeem your code within 30 days of purchase Access options: Desktop and mobile Max number of devices: Up to 3 devices can be used per license. Available for both new and existing users that are not on lifetime plan. Updates included A lifetime subscription to EbookMagic Starter Plan normally costs $149, but this deal can be yours for just $39.99, that's a saving of $109. For full terms, specifications, and license info please click the link below. Get this EbookMagic Starter Plan lifetime deal for just $39.99 (was $149) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      PsYcHoKiLLa
      170
    3. 3
      +Edouard
      164
    4. 4
      Steven P.
      85
    5. 5
      ATLien_0
      76
  • Tell a friend

    Love Neowin? Tell a friend!