Как сбросить настройки реестра с помощью консоли восстановления в Windows 7?

41394
jonas

Мне нужно исправить машину с Windows 7, которая может загружаться только в безопасном режиме. Я не могу использовать DVD или вынуть жесткий диск, и для восстановления системы нет доступных дат для восстановления.

С Windows XP или Vista я бы сделал следующее:

  1. Включите, нажмите F8, выберите «Дополнительные параметры загрузки», затем «Восстановить систему», затем «Командная строка».
  2. cd c:\windows\repair
    copy * ..\system32\config**
    replace? [yes|no|ALL]

Есть ли эквивалентные серии шагов для исправления Windows 7?

5

3 ответа на вопрос

8
Jeremy W
  • Press F8 during boot

  • Select "Repair my computer"

  • Select the hard drive that windows is installed on

  • Choose Command Prompt from the next menu

  • Run these commands to make a temporary copy of your registry

    cd /d c:\windows\System32\config xcopy *.* c:\RegBack\ cd RegBack dir 
  • Examine the last modified dates of the Software, System and SAM files. Were the files created before your problem started?

  • If they were created before the problem started then type these commands:

    copy /y software .. copy /y System .. copy /y Sam .. 

    (the two dots are part of each command)

  • Reboot. If things don't work, you can restore the original registry by copying the files from C:\Regback to C:\Windows\System32\config.

0
jarrow

Click the Windows button and type the word run. Click on run at the top of the list. Type in msconfig in the open bar. Under the General tab select normal startup. Under the Boot tab, double check to make sure that safe boot is not checked. Click OK and restart your computer.

0
Lee Jones

Для пользы других: я не мог получить доступ к командной строке DOS, нажимая F5или F8когда Windows пыталась загрузить Windows, поэтому мне пришлось создать загрузочный диск, используя рабочую установку Windows 7 на моем рабочем ноутбуке.

Я использовал его для загрузки и смог открыть окно командной строки и ввести последовательность команд, перечисленных.

На перезагрузке все заработало.