Solved

REGCHG Syntax

Posted on 1997-06-24
2
514 Views
Last Modified: 2013-12-28
The NT Resource Kit has two utilities, REGCHG and RREGCHG.  The Help on these is not clear about the syntax.  I need a working example of the syntax.  Specifically, how should the path and syntax parts of the command line be formatted, and does the value portion need to be enclosed in quotation marks?
0
Comment
Question by:hawkinsc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
gantriis earned 100 total points
ID: 1779155
Hi kawkinsc.

I agree with you. The lack of documentation doesn't exactly make this a user friendly utility.

First of all. This utility will only work with keys under the HKEY_LOCAL_MACHINE hive.

The only difference between regchg and rregchg is that rregchg has one more parameter (in the beginning of the parameter list) that enables the user to do the change on a remove computer ("rregchg \\MYSERVER xxx yyy ..." is equal to regchg xxx yyy ..." when run on the machine MYSERVER.

Assuming that you need to insert the below value in the registry on the machine NYMSERVER as a string value::

KEY:       HKEY_LOCAL_MACHINE\SOFTWARE\CoolApp\Parameters
VALUE: CoolFeatures = Yes

you would need to type this command line:

"RREGCHG \\MYSERVER  SOFTWARE\CoolApp\Parameters  CoolFeatures  REG_SZ  Yes"

I have inserted the complete command-line in "" but of course you chould not type them. Only use quotes if you need to insert a key/value/name containing spaces.

Hope this is the answer to your question.

Cheers
JG

0
 

Author Comment

by:hawkinsc
ID: 1779156
Thank you very much.  Additional Info I discovered:   If you have spaces in the path, key name, or value, you need to put quotation marks around the strings for these.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question