Jump to content

Delete registry value


Recommended Posts

Hi,

I want to delete a registry value like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls]
"G:\\Program Files\\Common Files\\Nero\\DSFilter\\NeAudCD.ax"=dword:00000001

I tried with:

$path = @CommonFilesDir & "\Nero\DSFilter"
RegDelete ("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls", $path & "\NeAudCD.ax")

but didn't work. What is wrong?

Edited by dexter23
Link to comment
Share on other sites

To delete a reg value the syntax of the command is:

RegDelete ( "keyname" [, "valuename"] )

Go into the registry and get the correct value name. What you have is not correct.

Hi,

I want to delete a registry value like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls]
"G:\\Program Files\\Common Files\\Nero\\DSFilter\\NeAudCD.ax"=dword:00000001

I tried with:

$path = @CommonFilesDir & "\Nero\DSFilter"
RegDelete ("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls", $path & "\NeAudCD.ax")

but didn't work. What is wrong?

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
 Share

  • Recently Browsing   0 members

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