Using kixtart to modify HKLM keys during user logon

Posted on 2007-07-21
Medium Priority
Last Modified: 2008-02-01
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.
Question by:broadsoft
1 Comment
LVL 85

Accepted Solution

oBdA earned 1500 total points
ID: 19539594
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.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question