How to Fix a Registry With DOSby Greg Lindberg
The registry of your computer is where all important system files or stored, and any changed values or missing subkeys can cause technical issues, including errors saying your registry is corrupt. To fix the registry, use the scanreg /fix command in the command prompt in DOS mode. The DOS mode feature is accessed before your computer starts up and allows you to run various commands.
Click the "Start" button from the desktop, then click the "Shut Down" button. Click the "Restart" option to restart your computer automatically.
Press and hold down the "Ctrl" key as your computer restarts to access the DOS startup menu on your screen.
Select the "Command prompt only" option from the list of options using your arrow keys. Press the "Enter" key on your keyboard.
Enter "scanreg /fix" into the command line of the command prompt and press the "Enter" key on your keyboard.
Press the "Enter" key again when the scan is finished. Press the power button for your computer to restart again. The registry should be fixed.