

Note that the two periods are part of the command.Īfter this process completes, restart your computer.

Then replace the current registry settings with the ones from the backup using these commands: copy /y software. Enter these commands to change your working directory to the directory with your backup: Cd /d C:\windows\System32\config We’ll be assuming your Windows directory is located on the C drive. After booting the Windows OS setup, go to System Recovery and select the command prompt. If F8 doesn’t work, boot from your CD or flash drive by selecting your CD-ROM or flash drive as a primary bootable device in the BIOS and enter the repair Windows mode from there. Tap the F8 button before Windows starts and choose Repair My Computer. To do this, you’ll need your original Windows OS disk or an ISO image on the bootable flash drive with your Windows operating system.

In some situations, the Windows system will not boot into Safe Mode, so you need to manually restore your registry from the command prompt.
