Using kixtart to modify HKLM keys during user logon

I am trying to set some HKLM keys using a logon script with kixtart. The problem is that I cannot modify the HKLM hive without Administrator privledge so I am looking for a way to run the "Writevalue" commands in the kixtart script with Admin privledges even though the user logging on has only normal user privledges. Is there a way to temporarily dur these commands as Admin during the execution of the logon script.
broadsoftAsked:
Who is Participating?
 
oBdACommented:
You can use a *startup* script through a GPO or local policy. A startup script runs in the System context and has the necessary permissions to alter HKLM keys. In this case, the startup "script" would be kix32.exe, the parameter your kix script. Or you can use a batch script with a regedit.exe import or the reg.exe utility.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.