Question: How can I import .REG files to a non-booting Windows?


  1. Posts : 20
    Windows 10 Pro
       #1

    Question: How can I import .REG files to a non-booting Windows?


    Hey everyone,
    Today I used a registry cleaner to fix my slow system, but instead of repairing it it made my PC stuck in user login bootloop, but thankfully they backed up the registry and I have it. So the question is, how can I import the registry in this non-booting PC?

    Note: I tried running RegEdit from CMD from Repair DVD, but "load hives" is greyed out!

    Thanks in advance :)

    Regards,
    addas
    Last edited by addas; 15 Jan 2016 at 15:18. Reason: Grammar Mistake
      My Computer


  2. Posts : 35,492
    Win 10 Pro (21H2) (2nd PC is 21H2)
       #2

    Hi, did you have system restore enabled? If so, a simpler approach is to boot your PC from an installation medium, and navigate through Troubleshooting, Advanced to System Restore.

    Otherwise, it is possible to copy the hives from backup manually, and I have seen this documented in this forum.

    Lesson:
    a. Avoid registry cleaners
    b. Use disk imaging to preserve your system and your sanity. (Macrium Reflect or Aomei Backupper (free) + their boot disk + external storage medium for the backups.
    c. Turn on System Restore (if not already done).
      My Computers


  3. Posts : 1,073
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
       #3

    Take the hard drive to a working Windows system. Load the registry hive from the HD and then edit there and then unload the registry hive.
      My Computer


  4. Posts : 5,478
    2004
       #4

    addas said:
    Note: I tried running RegEdit from CMD from Repair DVD, but "load hives" is greyed out!
    You need to selecy HKEY_LOCAL_MACHINE (or HKEY_USERS) before "load hives" is available.

    It will be greyed out if you just open regedit and have Computer highlighted.

    You might have luck trying the last known good configuration but I have to say it never worked for me.
      My Computer


  5. Posts : 1,073
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
       #5

    The last time I had to do it was over 10 years ago when I basically edited the registry and used a value too high for a key which caused the system to BSOD at bootup.

    Load registry hive for offline registry editing Smallvoid.com
      My Computer


  6. Posts : 2,790
    Linux Mint 20.1 Win10Prox64
       #6

    The Windows 10 backup copy of the registry is under:
    C:\Windows\System32\config\RegBack
    Boot up the PC using WinPE or Installation Disk into command prompt and copy all files under RegBack to C:\Windows\System32\config

    Question: How can I import .REG files to a non-booting Windows?-.jpg
      My Computer


  7. Posts : 20
    Windows 10 Pro
    Thread Starter
       #7

    Thank you all guys for your help! The problem was fixed by topgundcp method!

    dalchina
    Windows Restore always fail, probably because of the registry corruption, and yes you're right I will never ever use Registry Cleaners! Thanks!
    Almighty1Thank you so much man!
    lx07Man thanks so much for this tip! It may come handy next time!
    topgundcpThannnnnnks so much, you're awesome! and I used WinPE as you advised!

    +1 for everybody and this amazing community!

    Regards,
    addas
      My Computer


  8. Posts : 35,492
    Win 10 Pro (21H2) (2nd PC is 21H2)
       #8

    Glad you got it sorted out.
      My Computers


  9. Posts : 1,073
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
       #9

    Glad it all worked out for you and you're always welcome!
      My Computer


  10. Posts : 1
    Windows 10 64
       #10

    topgundcp your solution saved me HOURS!!! Thank you!!!!!


    Thanks to all the folks who participate here, and in particular to topgundcp who saved me HOURS of work with the simple fix and some rebooting and clicking that was not possible before that! Blessings to your and yours topgundcp!!!

    addas said:
    Thank you all guys for your help! The problem was fixed by topgundcp method!

    dalchina
    Windows Restore always fail, probably because of the registry corruption, and yes you're right I will never ever use Registry Cleaners! Thanks!
    Almighty1Thank you so much man!
    lx07Man thanks so much for this tip! It may come handy next time!
    topgundcpThannnnnnks so much, you're awesome! and I used WinPE as you advised!

    +1 for everybody and this amazing community!

    Regards,
    addas
      My Computer


 

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

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




Windows 10 Forums