Registry Tip #304: Use Rregchg.exe to remotely create or change a registry data values

Hits: Failed to execute CGI : Win32 Error Code = 3


The Windows NT 4.0 Resource Kit include a commandline remote registry editor which is very useful for automating changes on multiple NT boxes. Since it is command line, it can be scripted.

The RREGCHG command uses the following syntax:

RREGCHG \\ KeyName ValueName Type Value

For example, to change the ClassesBuild value of type REG_SZ in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\JavaVM from an existing value of 1100 to 1200, you'd type the following:

RREGCHG \\ SOFTWARE\Microsoft\JavaVM ClassesBuild REG_SZ 1200

where is the name of the remote computer. You need administrative rights for this to work.

Related tips:

Syntax Examples of Windows NT Server Registry Resource Kit Utilities
Administering The NT Registry




Must have for NT administrators



Must have for NT advanced users