Regset issue - Not creating Reg Key

Hey guys. Weird issue, I have this regset

regset "[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Cached Mode]" "Enabled"=dword:00000000

It works fine from the debugger. Creates my key and sets it correctly.

But when I run it from Bigfix it never creates the key. Ive tried regset and regset64.

I have other Regsets doing the same actions and working just fine in the same baseline. This one…does not. Im really stumped.

I have these same regsets in the baseline and they work fine.

// Set ExcludeHttpsAutoDiscoverDomain
regset “[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover]” “ExcludeHttpsAutoDiscoverDomain”=dword:00000001

// Set DisableOrganizationalForms
regset “[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Forms]” “DisableOrganizationalForms”=dword:00000001

// Set ExcludedEnterpriseForms

regset64 “[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Outlook\Forms\ExcludedEnterpriseForms]” “IPM.Note.Custom”=dword:00000001

regset64 “[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Outlook\Forms\ExcludedEnterpriseForms]” “IPM.Note.Custom.Voice”=dword:00000001

regset64 “[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Outlook\Forms\ExcludedEnterpriseForms]” “IPM.Note.Custom.Voice.Mail”=dword:00000001

regset64 “[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Outlook\Forms\ExcludedEnterpriseForms]” “IPM.Note.Custom.Voice.Mail.Email”=dword:00000001

When run via an action, the HKCU is that os SYSTEM not the logged, whereas via the debugger you are running in the logged in user content in user which is why you see it work via the debugger but not as a deployed action.

You should try the approach mentioned in Regset in HKCU hives - #3 by JasonWalker though do be aware that if the fixlet is relevant with no user if logged in, the action will still fail to set the user reg key as it wont be able to detect a user registry.

2 Likes

I cant figure out why these two work then? They are under Current_user also.

But that does make totaly sense. Thank you for the link! I will read through it. Sometimes we get to focused on the problem and forget to take a step back haha.