Partager via


Restore the registry

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To restore the registry

  1. Click Options, and then click Print to print these instructions. (If you are using the Help and Support Center, click Print above the topic area.) They will not be available after you shut down your computer in step 3.

  2. Open Registry Editor.

  3. Click Start, and then click Shut Down.

  4. In the list, click Restart, and then click OK.

  5. When you see the message Please select the operating system to start, press F8.

  6. Use the arrow keys to highlight Last Known Good Configuration, and then press ENTER.

    NUM LOCK must be off before the arrow keys on the numeric keypad will function.

  7. Use the arrow keys to highlight an operating system, and then press ENTER.

Caution

  • Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on your computer.

Notes

  • To open Registry Editor, click Start, click Run, type regedit, and then click OK.

  • You must have appropriate permissions to make changes to a registry key. To maintain security when making changes to a registry key for which you need administrative credentials, log in as a member of the Users group and run Regedit as an administrator by right-clicking the Regedit icon, clicking Run as, and clicking an account in the local Administrators group. The Regedit icon does not appear by default from the Start menu. To access the icon, open the Windows or WINNT folder on your computer.

  • Choosing Last Known Good Configuration provides a way to recover from problems such as a newly added driver that may be incorrect for your hardware. It does not solve problems caused by corrupted or missing drivers or files.

  • When you choose Last Known Good Configuration, Windows restores information in registry key HKLM\System\CurrentControlSet only. Any changes you have made in other registry keys remain.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Startup options
Start the computer using the last known good configuration