How to Edit Registry in Safe Mode
Windows safe mode is a type of boot process that loads fewer drivers and software, so you can attempt to restore or fix issues when you boot normally into the operating system. Windows safe mode lets you edit the registry, so you can remove startup programs or other issues that inhibit normal boot processes. The Registry Editor is available using the same methods you use with a normal boot, but you must first access Windows in safe mode.
Press the reset button on the computer to reboot it. When you see the boot messages on the command, press and hold the "F8" key.
Scroll down the menu items using the keyboard's arrow keys and choose "Safe Mode" from the menu items, then press "Enter." The computer boots Windows in safe mode.
Click the Windows "Start" button and type "regedit" into the search text box. Press "Enter" to open the Registry Editor.
Right-click a registry value and select "Modify." This opens a configuration window where you can edit the registry value. Click "OK" and reboot the computer to boot normally. This changes the registry in safe mode, but the changes persist even when you boot normally.