Share via

restore registry from backup under USB command prompt

Anonymous
2021-04-26T21:49:58+00:00

I made an incorrect registry change and the system fails to boot and will not go into recovery mode. I have booted from a USB and, using the command prompt, checked RegBack and found it empty. I did make a manual backup of the registry before I made the change. Is it possible to restore this backup from the recovery USB drive created on another computer?

The change I made was an attempt to resolve a repeated, unannounced reboot issue. I removed the ProfileImagePath from the entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList

Update:

I was able to replace the deleted registry keys by editing the SOFTWARE hive. However, even though these were the only changes before failure to boot, the system still fails to boot and auto repair is not successful. I will likely have to reinstall the os and copy the data back.

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. DYARI BARHAM 34,526 Reputation points Independent Advisor
    2021-04-27T10:41:41+00:00

    Dear AlanHaskins1,

    Thanks for reaching out! I'm an Independent Advisor and a Microsoft user like you. I will be happy to assist you in this regard.

    As far as I understood your question, you want to:

    1-Import the exported .Reg file:

    From the Start menu, type regedit.exe, and then press Enter. If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

    In Registry Editor, click File > Import.

    In the Import Registry File dialog box, select the location to which you saved the backup copy, select the backup file, and then click Open.

    https://support.microsoft.com/en-us/topic/how-t...

    2-Open and Edit .Reg file:

    Right-click any REG file and then click the “Edit” to open the file in your default text editor.

    Or, right-click the .Reg file and then click the Open With > Notepad

    The file will open in the text editor and then you will be able to read, edit, or delete any lines from the file. After that, save it, import it to the Registry

    Please let me know if you need further assistance.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-04-26T23:47:09+00:00

    I think your answer will be in here...

    https://www.tenforums.com/performance-maintenance/37586-question-how-can-i-import-reg-files-non-booting-windows.html

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

    Read through it, & post back any further question. It looks like Amighty1 posted a link to great instructions in case you cannot simply use a restore point (as dalchina said)...

    (1) Boot to a USB Installation drive, & select "Repair your computer" (instead of to install).

          This reboots to the recovery environment at the "Choose an Option" screen.

    (2) Click "Troubleshoot > Advanced Options > System Restore".

    Choose a point made before the problem began. It will bring back the Registry of that date.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-04-26T22:38:46+00:00

    Thanks for the reply. My problem is that I do not know how to uncompress the export file (*.reg)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Igor Leyko 111K Reputation points Independent Advisor
    2021-04-26T22:44:36+00:00

    How exactly did you create this backup?

    Was this answer helpful?

    0 comments No comments
  5. Igor Leyko 111K Reputation points Independent Advisor
    2021-04-26T22:24:30+00:00

    Hi Alan,

    My name is Igor, I'm Independent Advisor. I have 12 Microsoft MVP awards. It's a pleasure for me to help others and I'll do all my best to help you.

    Sure you may replace current registry file with its backup. Command prompt allow to do this. There is no difference what computer was used for recovery drive creation.

    Was this answer helpful?

    0 comments No comments