Regset default key value to GUID

(imported topic written by arnoldgsteve91)

I am trying to create an ‘UNDO’ fixlet for the MS10-046 shell icon handler workaround for some old Win2K boxes. (The other fixlet, which clears the relevant default key values, it works fine. It’s just this UNDO fixlet that is returning an error and the reg keys are not set.) I believe the problem is escaping the burly braces around the GUID in the string I am trying to assign (which I have done according to other forum postings about using curly braces in actionscript) However, it till fails with the key’s default value unchanged.

Here’s the results of the action with the error, which includes the ActionScript. Even though all steps report complete, the action is still failing.

Any suggestions for a fix or for troubleshooting advice are welcome.

Thanks!

======================================

The action failed.

This action has been applied 1 time and will not be applied again.

Status Failed

Start Time 8/30/2010 1:51:53 PM

End Time 8/30/2010 1:51:53 PM

Action Script Execution Detail

Completed // enter your action script here

Completed // Sets default value of these two keys to their original default values, to re-enable their icon handlers

Completed // regset "

HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler

" “”="{{00021401-0000-0000-C000-000000000046}"

Completed // regset "

HKEY_CLASSES_ROOT\piffile\shellex\IconHandler

" “”="{{00021401-0000-0000-C000-000000000046}"

======================================

(imported comment written by NoahSalzman)

All your lines are commented out.

// is the comment operator

Here is what the “Execution Detail” output looks like normally (just pulled a random one from my box):

Completed // Enter your action script here 
Completed delete __createfile 
Completed delete wizardedit.reg 
Completed createfile until @end_create_reg_file 
Completed Windows Registry Editor Version 5.00 
Completed  
Completed [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Resiliency\DisabledItems] 
Completed "{names of keys whose (value of it as string contains "D30E8981") of key "hkey_current_user\software\microsoft" of registry}"=- 
Completed @end_create_reg_file 
Completed move __createfile "c:\wizardedit.reg"

(imported comment written by arnoldgsteve91)

Yeah, I’m an idiot.

I commented out the payload when I was troubleshooting so I wouldn’t post something stupid.

Let me try that again with the important bits enabled…