How can I change registry values from the command line?

John Savill

March 27, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. The Windows 2000 and Windows NT Server resource kits include the regfind utility, which you can use to find (and change) values in a registry location. For example, you can enter the following command:

C:> regfind -p HKEY_CURRENT_USERControl PanelDesktop"old value" -r "new value"

where "old value" is the old wallpaper name and "new value" is the new wallpaper name. You can add the -m switch and use regfind to modify remote machines:

C:> regfind -m \[computer name]-p HKEY_CURRENT_USERControlPanelDesktop "old value" -r "new value"

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like