Regedit deleted and now want to restore it using cmd

-2

I have made a copy of regedit on by desktop (by exporting it), after that I deleted some of registries entries(hkey_local_machine) due to which now my system does not restart. Can you tell me how to restore the regedit copy on my desktop using command promt as I am able to open cmd under advance option.

My windows is 10 I have tried to open safe mode but didn't work. Tried to reset pc and that also didn't work.

vipin kumar singh

Posted 2016-07-29T18:35:38.127

Reputation: 9

Your question is unclear. Did you delete Regedit itself, or stuff in the registry? – Ƭᴇcʜιᴇ007 – 2016-07-29T18:56:44.140

stuff in registry – vipin kumar singh – 2016-07-29T19:03:19.003

1Please edit your question and clarify that. – Ƭᴇcʜιᴇ007 – 2016-07-29T19:06:06.690

plz help me i have some useful stuff that i don't wnat to lose – vipin kumar singh – 2016-07-29T19:09:45.180

can you not just double click on the the .reg backup to re-import the data? – Matt Clark – 2016-07-29T19:11:19.713

no as my window is not booting. – vipin kumar singh – 2016-07-29T19:15:02.273

Your regedit backup is stored on the machine you were editing regedit on...? – root – 2016-07-29T19:32:04.677

yes it is stored in same machine – vipin kumar singh – 2016-07-29T19:34:44.393

Since you can load a command prompt, did you try to run regedit from it? – Julie Pelletier – 2016-08-01T02:43:26.310

Answers

1

Regedit.exe is just the editor application, with which you can edit the registry hive contents. Restoring this executable won't bring back your deleted registry keys and values.

If the system is unbootable, boot your computer using the installation media (or) recovery drive, get into the Repair / Recovery Options page and do a System Restore rollback from there. Refer the instructions here.

Note: You may need to first change the boot order in the BIOS setup page and set it to boot from USB or DVD (depending upon which installation media you're going to use).

w32sh

Posted 2016-07-29T18:35:38.127

Reputation: 8 611