[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Modify a REG_SZ entry in the registry using batch file

Posted on 2011-10-13
4
Medium Priority
?
1,267 Views
Last Modified: 2012-05-12
Hey guys,

I feel noob.

How can Modify a registry REG_SZ key with a value of nothing ?

"HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\SMC\SYLINK\SyLink"

In there there is a REG_SZ entry with a value in it , i want to reset that value to nothing with a batch file.

Thanks!
0
Comment
Question by:WBGames
  • 3
4 Comments
 
LVL 3

Expert Comment

by:OrenRozen
ID: 36964101
see example

reg add HKLM /v MyTest /t REG_SZ /f
0
 
LVL 3

Expert Comment

by:OrenRozen
ID: 36964111
btw, that commmand line will delete the date of the value MyTest located in the HKEY_LOCAL_MACHINE
0
 
LVL 3

Accepted Solution

by:
OrenRozen earned 2000 total points
ID: 36964125
reg add "HKLM\SOFTWARE\Symantec\Symantec Endpoint Protection\SMC\SYLINK" /v SyLink /t REG_SZ /f
 
0
 
LVL 1

Author Closing Comment

by:WBGames
ID: 36964438
Thanks,

One thing the /v was HardwareID since it's he key I wanted to reset :)

Thanks again!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 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