Need help extracting registry keys from a .reg file


  1. Posts : 10
    Windows 7 Home Premium 64bit
       #1

    Need help extracting registry keys from a .reg file


    Hi,

    I recently restored my notebook back to factory default. I backed up most of everything manually
    including the registry which I basically just exported as a .reg file. I don't want to restore the registry,
    just keys to certain programs I want to restore.

    I've read that one method is to create a temporary hive in the registry, but this seems extremely
    dangerous as my pc suffers from BSODs from time to time. If this were to happen before I could
    remove the hive, I have no doubt my pc would be destroyed.

    If anyone knows a safer method I would greatly appreciate your input.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    You should solve the BSOD issue before putting more time/effort into setting up this computer.

    A ".REG" file is just text. Open it in notepad and search for what you want.
      My Computer


  3. Posts : 10
    Windows 7 Home Premium 64bit
    Thread Starter
       #3

    I've been trying to fix the BSOD problem for several years. I have limited internet access and few resources so it's
    going very slow. By restoring back to default I think I have eliminated my software or viruses as possible causes.

    I opened the .reg file in Notepad++, copied the key I wanted, and pasted it in a new .reg file.
    The registry would not accept it because it was not binary.

    Thanks for responding
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    You need to keep this...
    Code:
    Windows Registry Editor Version 5.00
    ...at the top of the text file.
      My Computer


  5. Posts : 10
    Windows 7 Home Premium 64bit
    Thread Starter
       #5

    I received an 'error accessing registry'.

    I took a snap shot of the error and the .reg file.
    the reg file is included too.
    Last edited by cp769; 20 Sep 2015 at 15:31. Reason: removed reg file
      My Computer


  6. Posts : 10,485
    W7 Pro SP1 64bit
       #6

    Try the attached reg file.

    You probably don't have the same user SID.
    Last edited by UsernameIssues; 20 Sep 2015 at 15:14. Reason: removed reg file
      My Computer


  7. Posts : 10
    Windows 7 Home Premium 64bit
    Thread Starter
       #7

    I got the same error
      My Computer


  8. Posts : 10,485
    W7 Pro SP1 64bit
       #8

    It is slowly coming back to me. I ran into this problem several years back. I ended up manually entering in the info via regedit. Let's see if other forum members know of a better way to handle this.
      My Computer


  9. Posts : 10
    Windows 7 Home Premium 64bit
    Thread Starter
       #9

    Thanks for helping.
    I'll save doing it manually as a last resort (I'm bound to screw it up).
      My Computer


  10. Posts : 10
    Windows 7 Home Premium 64bit
    Thread Starter
       #10

    Use [HKEY_CURRENT_USERS\...] hive instead of [HKEY_USERS\...]

    Solved by UsernameIssues & GoKay
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:27.
Find Us