Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

REGCHG Syntax

Posted on 1997-06-24
2
Medium Priority
?
529 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 300 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

618 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