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.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

How are you setting up the script?  Are you calling a .reg file?

What operating system? (ex. Win7x64)

Answered 09/13/2012 by: jknox
Red Belt

Please log in to comment
1

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. 

Answered 09/14/2012 by: muebel
Tenth Degree Black Belt

Please log in to comment
0

Can you provide the logs for the Kscript? 

Answered 09/13/2012 by: kwhatcher
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share