Creating a reg change script
Hi,
I am looking to push out a reg change to HKEY_CURRENT_USER.
The reg keg key has been created and works fine when using registry editor. This has been tested when actually running on the workstation.
However when using the enforce registry setting to create within Kace it reports as succesfully completed (when running on a pc) but it does not actually add it to the workstation. Within the scripting section i have enabled it as an online Kscript and set it to run as the logged in user but it does not work.
The user it will run under will have registry changing rights.
Nay ideas why this may not be working and how to get it working?
Thanks in advance.
Answers (3)
I would just have it run as system. Launch a program
%systemroot%\system32\reg.exe
with params
add HKCU\SOFTWARE\Manufacturer\Title /v "KeyName" /t REG_DWORD /d "Data" /f
in "on success" field of a task.
You can have it run at user login by clicking the checkbox in Scheduling. There is no reason to have it run as user that I know of.