I created some keys awhile ago using the REGSET and REGSET64 command, but now I am trying to delete the same keys and it passes debugging but fails to actually delete. Here’s the code:
As you can see I am trying to delete the FEATURE_DISABLE_IE11_SECURITY_EOL_NOTIFICATION key from the x32 and x64 registries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl
Any reason why the debugger would report success but the keys would remain?
I want to see what structure the registry is in starting at that level. For reproduction and simulation. Also, please advise version client installed and version of Fixlet Debugger being used.
The debugger reports success because the actionscript ran successfully, which is all that it indicates.
This can only delete values, not keys. You must use something else to delete keys. I believe I mentioned this as a feature request many years ago to add something like regdeletekey. CC:@AlanM
The code @strawgate provided would work for both, depending on what you needed, if you do the following:
action uses wow64 redirection { not x64 of operating system }