Solved

REG ADD COMMAND LINE

Posted on 2007-11-14
5
4,941 Views
Last Modified: 2012-01-29
Hey All,

I'm trying to create a REG ADD command line but I keep getting errors can someone please help me with the Syntax.  Here is the export out of the registry that I am trying to create a command line for.  Please help

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order]
"ProviderOrder"="RDPNP,LanmanWorkstation,WebClient,PnSson,CognizanceCredMgr"
0
Comment
Question by:dbguy2626
5 Comments
 
LVL 7

Expert Comment

by:dansoto
ID: 20281285
The error would help
0
 
LVL 3

Accepted Solution

by:
samalraj earned 500 total points
ID: 20281306
Hi,
      this link better serves your need
http://www.computerhope.com/issues/ch000848.htm

Regards,
Amal
0
 

Author Comment

by:dbguy2626
ID: 20281459
the error tells me invalid key.  but I dont see any key issues.  Can you guys give me a working sample that I can modify?
0
 
LVL 2

Expert Comment

by:sunny-s
ID: 22558458
it says "too many command line params" when you forget, for example, /d switch before data value. Command like can be pretty long.

my working example:
reg add "HKCU\Software\Canon\Network ScanGear\Tool\DeviceInfo" /v IPAddress3 /t REG_DWORD /d 135 /f
0
 

Expert Comment

by:MOQINFRA
ID: 37514672
I am trying to adding data to the value at following location on XP machine (SP3)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

the value name is Security Packages

And the data already contained is As follwos:

kerberos
msv1_0
schannel
wdigest

I need to add 'tspkg' to this value

So i created a batch files as : reg add hklm\system\currentcontrolset\control\lsa /v "Security Packages" /t REG_MULTI_SZ /d tspkg

However it overrites the already existing content which i do not want.

i checked http://technet.microsoft.com/en-us/library/cc742162(WS.10).aspx


It shows to ad as Copy Code
REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail\0\0

However when i do that the data for the Value shows as
kerberos\msv1_0\schannel\wdigest\tspkg

I want to see the data as
kerberos
msv1_0
schannel
wdigest
tspkg


Simply put : i just want to add tspkg to the above value
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now