I have been trying to push out a Bigfix script to our network that will run a simple registry punch to modify multiple settings within
HKEY_CURRENT_USER\Control Panel\International.
The easiest way I thought about doing it was to run a dos command
dos regedit /s \server\share\file.reg.
The command seems to execute however it never completes successfully.
I looked at some articles about how to modify settings within the HKEY_CURRENT_USER branch but im not quite sure how to implement that script into the command above.
I tried both the registry and software deployment wizards and both didn’t work.
When the registry wizard completed…and all of my clients said fixed.
The registry setting that I was reporting on didn’t change indicating the registry punch didn’t work successfully.
The software deployment wizard … on all clients failed.
here is the script that I was reporting on
value “Locale” of key “Control Panel\International” of (key whose ((it = name of current user as lowercase OR it starts with name of current user as lowercase & “@” ) of (it as string as lowercase) of value “Logon User Name” of key “Software\Microsoft\Windows\CurrentVersion\Explorer” of it) of key “HKEY_USERS” of registry)
And here is the contents of the registry file that I have been trying to install
The problem is that the BigFix Agent runs as the system account so the HKCU branch refers to the system user. You can try downloading and running the RunAsCurrentUser.exe in your BigFix action to run this registry command: