regdelete64

Regdelete64 uses the same syntax as the regdelete command, but places a call to Wow64DisableWow64FsRedirection before launching the 64-bit version of Regedit to set the registry, allowing you to use the 64-bit registry available on 64-bit machines. This command deletes a registry key value of the given name. If the value doesn't already exist, this command will fail and all subsequent commands will not be executed.

Syntax

regdelete64 "<registry key>" "<value name>"

Where registry key is the name of the key and value name is the value in the registry key you wish to delete.

Example

regdelete64 "[HKEY_CLASSES_ROOT\ShellScrap]" "NeverShowExt"

Deletes the NeverShowExt value from the specified registry key.

Notes

This command is Windows-only. It will cause an action script to terminate on a Unix agent.

If the specified key doesn't already exist, it will be created by this command.

Version 6.0 and above -- Windows Only