Home > Enterprise Desktop Tips > Windows desktop management tips > Running System Restore from the Recovery Console (well, sort of)
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS DESKTOP MANAGEMENT TIPS

Running System Restore from the Recovery Console (well, sort of)


Serdar Yegulalp, Contributor
02.21.2006
Rating: -3.86- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One of the most commonly requested features in Windows is the ability to boot to the Recovery Console and perform a System Restore operation. There are times when it's simply not possible to boot Windows in safe mode to run System Restore, and the Recovery Console has no built-in way of running System Restore.

That being said, if you need to run System Restore to revert the system to an earlier version of the SYSTEM or SOFTWARE Registry hive, because of a corrupted Registry, it is possible to do this manually. This method is far from perfect and doesn't take into account any of the other changes that System Restore might track (such as changed .DLLs or other system components), but it will allow you to recover copies of the Registry in the event of a failure—provided they've been saved with System Restore and are available.

Here is the 12-step process:

    1. Boot the Recovery Console from the Windows XP installation CD.

    2. When you're at the Recovery Console command prompt, change into the root directory of the system drive with the cd command (i.e., cd \).

    3. Change into the System Volume Information directory by typing cd system~1 on most machines, or cd "System Volume Information."

    (The filenames with ~1 are generated by default to provide backwards compatibility with programs that only recognize 8.3-format filenames. It's possible to disable 8.3 filename generation on NTFS volumes to gain some speed, but the speed gained by doing this is generally pretty small and it can have the unintended consequence of making it impossible to use 8.3 filenames in contexts like this. If you can't use 8.3 filenames to navigate, 8.3 name generation might be disabled. See Microsoft's support document called How to Disable the 8.3 Name Creation on NTFS Partitions.

    4. The System Volume Information directory contains a folder name _restore followed by a GUID in curly braces. Change into it by typing cd _resto~1; if that doesn't work you'll have to type cd "_restore{GUID_STRING}", with the full GUID string in place of GUID_STRING.

    5. In the _restore directory are a group of subdirectories starting with the letters RP and followed by a number. These are the different restore points available for that volume.

    6. Check the date on each directory and look for one that corresponds to a date before you began experiencing problems.

    7. Change into the appropriate directory. If the directory is named RP74, for instance, change into it by typing RP74.

    8. Inside that directory will be a subdirectory named snapshot; change into that directory as well (cd snapshot)

    9. The snapshot directory holds backup copies of the SOFTWARE and SYSTEM Registry hives, named _REGISTRY_MACHINE_SOFTWARE and _REGISTRY_MACHINE_SYSTEM, respectively.

    10. The target directory for these files is ...


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    Windows desktop management tips
    Reduce hardware costs by using Universal Desktop Converter
    Teaching a new PC old tricks: How to deploy Windows 7's XP mode
    New Windows XP Mode eliminates compatibility issues in Windows 7
    Remote troubleshooting made easier with Windows 7's Problem Step Recorder
    Converting Windows 7 deployment images to virtual hard drive files
    Using Windows 7 to configure workstations for optimal power management
    An intro to Windows 7's Deployment Image Servicing and Management tool
    Admins can wear many hats using Netcat
    Manage the desktop image lifecycle to limit work, ensure security
    Choosing the best way to install images

    Microsoft Windows XP Pro
    Guide to converting from Windows XP to Windows 7
    Top 5 registry keys for Windows XP
    Manage the desktop image lifecycle to limit work, ensure security
    Secure Windows XP before a Windows 7 upgrade
    Microsoft's August patches run the gamut
    Hold on to Windows XP at your peril
    XP stragglers blame hardware costs, new features
    Your questions answered: The Windows 7 upgrade quandary
    Windows Vista users get little pricing relief on Windows 7
    Vista shops eye quick path to Windows 7, XP shops likely to resist

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Error messages for Windows XP Pro  (SearchEnterpriseDesktop.com)
    XP key changer  (SearchEnterpriseDesktop.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    \Windows\System32\Config, and the hives there are named SOFTWARE and SYSTEM. Rather than overwrite those files entirely, you can rename them to something else. Typing ren \windows\system32\config\software \windows\system32\config\software.bak and ren \windows\system32\config\system \windows\system32\config\system.bak will rename them to software.bak and system.bak, respectively.

    11. Copy in the backup hives: copy _REGISTRY_MACHINE_SOFTWARE \windows\system32\config\software and copy _REGISTRY_MACHINE_SYSTEM \windows\system32\config\system.

    12. Type exit to leave the Recovery Console and restart the computer.

If you have an alternate operating system, such as a Linux live-recovery CD or another installation of Windows, that has access to the NTFS file system, you can perform the file copying from there as well, without having to struggle as much with the command line.


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

Rate this Tip
To rate tips, you must be a member of SearchEnterpriseDesktop.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts