Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kixtart and changing LOCAL_MACHINE

Status
Not open for further replies.

jongag1

Technical User
Feb 1, 2002
65
NL
Hello,

I hope this is the correct forum to post this question.

We have a login script where the below is being run:

WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","Norman ZANDA","c:\norman\bin\ZLH.EXE /LOAD /NOSPLASH","REG_SZ")

When the script is run on an administrator account it changes the registry allright, but when it is run on a normal user account the registry is not updated.
LOCAL_USER is updatable, but not LOCAL_MACHINE, is there a way to do it?

Kind regards,
Age de Jong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top