/build/static/layout/Breadcrumb_cap_w.png

REGISTRY KEY DELETION

Hi,

I want to delete a particular value from a registry key like that if i have a key like test in that having various types of values like string ,dword, multistring then i need to delete only that dword value what i need to do..

i knw that hw to delete the registry key..using batch

i want to delete only the dword value in that test key but not the entire key using only batch file....

can u tell me ..where i can get the related code for that

0 Comments   [ + ] Show comments

Answers (5)

Posted by: murali.bhat 13 years ago
Purple Belt
0
Have you tried RemoveRegistry table?
Posted by: hari4243 13 years ago
Purple Belt
0
hi murali,

i'm trying to write a CA using to remove a registry key value after the application is installed so that's why i required the code in the batch script...

i knw hw to remove a reg key using batch but i req i need to remove only a value but not the whole reg key...
Posted by: kpremchander 13 years ago
Yellow Belt
0
try reg delete < full registry key value>

for example,
if you want to delete HKLM\Software\example\test

a dword key VERSION REG_DWORD

give as


REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\example\test /V VERSION

it will delete any type of registry value.

if u want to create a custom action u can create a batch file and include it
Posted by: murali.bhat 13 years ago
Purple Belt
0
Hi Hari - Can you not use RemoveRegistry table instead of batch file or CA?
Posted by: hari4243 13 years ago
Purple Belt
-2
Thank you murali and prem...for giving quick reply ....


i got that how to remove a regvalue...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ