Console Registry tool for Windows

By Bryan Muehlberger, ITworld |  How-to

Microsoft's latest and greatest operating systems - Windows XP
Professional and Windows .NET Server (currently in release candidate
status) - offer a breadth of new command line utilities that will
hopefully make your job easier. One of these new utilities is the
Console Registry tool for Windows.

**Caution: Modifying the registry incorrectly can render your system
unbootable and force you to reinstall. Modify at your own risk.**

The Console Registry tool for Windows, which can be launched by typing
"reg.exe" at the command line, allows you to add, change and display
registry keys and values directly from the command line. NOTE: This is
a different utility than the Registry Manipulation Utility (reg.exe)
that was included with the Windows NT Server Version 4.0 Resource Kit,
Supplement Two.

The cool feature of this utility is its ability to manipulate the
registry in a number of different ways. For example, you have the option
of exporting a key or set of keys from the registry to a .REG file. You
also have the ability to import a .REG file, which will overwrite and/or
add the keys and values listed in the .REG file directly to your
registry. But what if you just want to change a value of an existing
key? You can do this directly from the command line without the use of
.REG files by typing a command similar to the following:

REG QUERY HKLM\Software\Microsoft\Windows\CurrentVersion\Run

This command gives you a list of all of the keys and values under the
Run section of this portion of the registry. If you want to change a
value, you type a command similar to the following:

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v DMU /d

Join us:






Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Ask a Question