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

help with script and runas

Status
Not open for further replies.
Jul 27, 2004
397
0
0
US
I am trying to write a script that will do three things.

1. Map a drive
2. run a reg file
3. launch an executable with alternate credentials.

I can get the first two going but can't figure out how to do the third. This also has to be silent to our users. Can you provide any input.

Systems Administrator
A+, Network+, MCSA 2000, MCSE 2000
MCSA (2003), MCSE 2003, CCNA
 
package as an msi?

run with WMI, there is an execute method in one of the WMI classes, the advantage being that you can supply crediatials when binding to the WMI repository
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top