Page 2 of 2 First 12
  1. #21

    Re: Manually Restore the Registry From its Backup in Windows (Windows 7 / Vista)

    Attachment 19324
    Attached Thumbnails Attached Thumbnails Manually Restore the Registry From its Backup in Windows (Windows 7 / Vista)-image-jpg  
    Last edited by Aura; 02-26-2016 at 01:47 PM. Reason: Removed useless quote tag


    • Ad Bot

      advertising
      Beep.

        
       

  2. #22

    Re: Manually Restore the Registry From its Backup in Windows (Windows 7 / Vista)

    Ok So I screwed up my registry file. Save it. So I typed in from a command prompt dir c:\win* and it shows Windows and Windows.old
    SO I try to type in cd c:\windows and it doesn't do anything it still says X:\Sources. Anyone got any ideas how to get this to work?

  3. #23
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,032
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: Manually Restore the Registry From its Backup in Windows (Windows 7 / Vista)

    Hi anaylor01.

    Short list of the actions to do:
    • get access to your system drive with an external disk/usb
    • open a command prompt (elevated, as administrator)
    • find the system partition (i.e., the correct system letter, because it might be different than the default c:)
    • create a new folder (where you prefer, but in the tutorial it's created inside the config folder) and copy there your current (damaged) registry files
    • go to the regback folder, where you should find a working (and some days older than the current) copy of your registry files
    • if there are 0 byte files, also those registry files must be considered damaged (therefore, you shouldn't procede to the next point)
    • copy the working registry files over the damaged ones (i.e., overwrite them)


    Commands to run - the lines starting with ' are the explanations:
    ' change drive or partition
    c:
    ' to ensure c: is the system partition, run dir: it should list windows, users, program files, etc, present in your system partition
    dir
    ' if c: is not the system partition, you should do more tries; examples: d: or e: or f:, always followed by dir
    ' when you find the correct drive letter, you should use THAT letter when you see c:\ in the following commands
    ' change directory to system32
    cd C:\Windows\System32
    ' you should now see your command prompt became c:\windows\system32>
    ' create the backup directory CurrentCorruptBackup (or configbackup, like writhziden said.. Just use your preferred name and keep it in mind you should use that name for the following three commands)

    md CurrentCorruptBackup
    ' if you run dir now, you should see the new folder CurrentCorruptBackup
    ' copy the current config content, i.e. all corrupted registry files, to CurrentCorruptBackup

    copy config CurrentCorruptBackup
    ' make sure the files were copied to the CurrentCorruptBackup folder
    dir /a CurrentCorruptBackup
    ' change directory to regback, where a hopefully working copy of windows registry has been backed up by windows itself
    cd config\RegBack
    ' you should now see your command prompt became c:\windows\system32\config\regback>
    ' to ensure there aren't any files with 0 as size, run dir. "If there are any size 0 files, do not continue"
    ' you should usually see five files here: DEFAULT, SAM, SECURITY, SOFTWARE, SYSTEM

    dir
    ' copy these files to the parent directory C:\Windows\System32\config
    copy * ..\*
    ' if you did it correctly, the prompt will ask you if you want to overwrite the files, and you'll answer yes to each one of the five files

    ' alternative command to use instead of the previous one
    ' remember to use the correct drive letter, found at first steps

    copy * C:\Windows\System32\config\
    Last edited by xilolee; 11-26-2017 at 09:58 PM.

  4. #24

    Re: Manually Restore the Registry From its Backup in Windows (Windows 7 / Vista)

    THANK YOU!!!! THANK YOU!!!! THANK YOU!!!!!

Page 2 of 2 First 12

Similar Threads

  1. Replies: 0
    Last Post: 06-27-2012, 05:50 AM

Log in

Log in