How Do I Access the Windows Registry and Edit It Manually?
Open Registry Editor, back up first, and know how to undo a change.
To open the Windows registry, select Start, type regedit.exe and press Enter. Before you change anything, back up the key you plan to edit, because a wrong change can stop Windows or your programs from working.
Change the registry only if you are sure
Microsoft warns that serious problems might occur if you change the registry incorrectly. These problems might require you to reinstall Windows. Microsoft recommends changing settings in Windows itself where possible, and following trusted step-by-step instructions exactly when a registry change is needed.
Open Registry Editor
These steps are the same in Windows 11 and Windows 10.
- Select Start.
- Type regedit.exe in the search box and press Enter.
- If Windows asks for an administrator password or confirmation, enter the password or confirm.
Back Up Before You Edit
Export the Key You Will Change
- In Registry Editor, find and select the key or subkey you want to change.
- Select File > Export.
- In the Export Registry File dialog box, choose where to save the backup and type a name in the File name box.
- Select Save.
Create a Restore Point (Extra Safety)
System Protection is not turned on by default. If it is off, turn it on first: open the System Protection tab as in step 1 below, select Configure, select Turn on system protection, set the disk space with the slider and select Apply.
- Select Start, type Create a restore point and select it in the results.
- In the System Properties dialog box, on the System Protection tab, select Create.
- Type a description for the restore point and select Create.
Make Your Change
In the left pane of Registry Editor, each folder is a key. Open the folders to reach the key your instructions name, then make only the change those instructions describe. Registry Editor lets you find, add, change, rename and delete keys and values.
Undo a Change
- Open Registry Editor.
- Select File > Import.
- In the Import Registry File dialog box, go to your backup, select the file and select Open.
If Windows does not work correctly after a change, use System Restore to go back to the restore point you created.
An Easier Way to Clean the Registry
To remove invalid and leftover registry entries without editing them by hand, use WinZip Registry Optimizer. It backs up your registry before every repair, and you can undo the repairs later. See what the Windows registry is and why to use WinZip Registry Optimizer.
Frequently Asked Questions
What is the .reg file I saved when I exported a key?
It is a backup of that registry key. To put the key back the way it was, import the file in Registry Editor with File, Import. Only import .reg files that you made yourself or that come from a source you trust.
Is it safe to delete registry keys I do not recognize?
No. Delete or change a key only when trusted instructions tell you to. A wrong change can stop Windows or your programs from working.
Does WinZip Registry Optimizer back up the registry before it makes changes?
Yes. It saves a backup before every repair and can also create a Windows restore point. You can undo the repairs from Options, Restore.