Using kixtart to modify HKLM keys during user logon

Posted on 2007-07-21
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 82

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now