Jump to content

Removing Registry Entries


Recommended Posts

In RunOnceEx it is possible to add registry settings, but what I want to know is wether or not i can remove a registry setting USING A BATCH FILE. and i know that this is like a really stupid question, but i cant remmember how to add them. plz refresh me on this. thanks.

Link to comment
Share on other sites


You can use REG DELETE in batch files.

Also you can use - in registry files to delete keys and values

; Delete Shares
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares]

; Delete Programs
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver]
"Programs"=-

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...