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

Run install as administrator

Status
Not open for further replies.

franklin1232

IS-IT--Management
Aug 29, 2001
207
0
0
US
In windows 2000 you can install software logged in as a user, are given the option to install as different user. Can I code this into and application. I shell out to the install. It runs unattended, but users can't complete the install. How can I get the install program to use administrative rights.
 
Just a guess... have you tried having a batch file (that you are shelling out to) first do a NET LOGON <username> <password> as Administrator, then call the install?

Hope that works..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top