(imported topic written by Mark_Macherey)
I’m seeing strange behavior with Regset, I need to set several registry keys and regset only seems to set the last key when writing a set of keys
RegSet “[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\Baseline Sequencing]” “Start Baseline 1”="{NOW}"
RegSet “[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\Baseline Sequencing]” “Stop Baseline 1”="{NOW}"
only the last one (“Stop Baseline 1”) is written, to the registry, it doesn’t seem to matter how many I have, only the last gets written
using the pause command below will write both statements initially but will only update the last variable on successive writes
RegSet “[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\Baseline Sequencing]” “Start Baseline 1”="{NOW}"
pause while {not exists value “Start Baseline 1” of key “HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\Baseline Sequencing” of registry}
RegSet “[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\Baseline Sequencing]” “Stop Baseline 1”="{NOW}"
pause while {not exists value “Stop Baseline 1” of key “HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\Baseline Sequencing” of registry}
is there a better way to do this, and BTW
i’m seening this
behaviour with the Fixlet Debugger