Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want code to delete any key from registry from command line
i need code to delete key from registry from batch file how can i doing?
Posted
Comments
mrsh66 28-Nov-12 7:29am    
use REG utility in your batch file

example:
reg delete \\RemoteSystem\HKLM\Software\yourkey /v value

not working
Dharmateja Challa 28-Nov-12 9:20am    
you can use psexec and execute it remotely, you can download this tool from ms site...
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
mrsh66 29-Nov-12 8:26am    
i want command i written it in cmd and delete key from registry

1 solution

use REG utility in your batch file

example:
reg delete \\RemoteSystem\HKLM\Software\yourkey /v value
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900