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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run with admin rights, exe not msi, how to access HKU ???

Status
Not open for further replies.

Mirdus0001

Technical User
Aug 25, 2003
29
CZ
Hi,
If I run sms program executing exe, or vbs (not msi), writing in to the registry HKU and HLM, it performs only HLM.

Propably it is because the user under which it runs is not the one who is currently logged on.

But it is strange behavior. Not allways I want repackage everything in to msi.

Any opinion or typ apreciated.
Thank you
 
You are right that its because your not running under the current user, but if they have admin rights on the local machine just run the program as only when user is logged on and install with users rights then it will show up in hklu
 
Yes thanks for your response. The main problem is that if I use user rights it is OK with HCU, but sms do not run it in hidden mode.
User see for example progress bar, task bar icon etc.

Only way recommended is to use admin elevated rights, but than HCU is inaccessible.



 
Sure it will run it hidden...On the program properties page general tab | run , just select hidden (and of course if there are hidden switches use them.) If I'm not mistaken you can launch vbsripts with wscript and it can be silent.


 
so... wscript youvbscript.vbs //B

run wscript /? for all your options
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top