How to Use REGEDIT From the Command Line

Save

You can access the registry editor through the Windows Command Prompt interface if you are otherwise unable to launch it. Command Prompt provides you with the ability to enter DOS and other Windows commands. Performing commands in this way provides a shortcut around using the Windows interface, should you desire. This function is beneficial if you are experiencing any problems with the regular interface.

  • Click "Start," "All Programs" and "Accessories."

  • Click "Command Prompt." This program is located under "Accessories" for most versions of Windows.

  • Type "regedit.exe" into the command line, and press "Enter" to launch the registry window. If you are using Windows Vista or Windows 7, a prompt appears asking if you want let the program make changes to the computer. Click "Yes." The Registry Editor window appears.

  • Type "regedit.exe /s [file name]" to import files into the registry. For example, to import "example.reg" into your registry, type "regedit.exe /s example.exe." Type "regedit.exe /e [file name]" to export registry entries to a file. For example, to export your hardware entries to your "example.reg" file, type "regedit.exe /e example.reg HKEY_LOCAL_MACHINE\HARDWARE." Use a backslash before "HARDWARE." Backslashes are used to identify the registry folder you are trying to modify, rather than the forward slash. Use a forward slash everywhere else.

Tips & Warnings

  • Type "help" into the command line and press "Enter" to see a list of other functions.
  • Be careful when editing your registry. Deleting or adding entries can render your system unresponsive.

References

Promoted By Zergnet

Comments

You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!