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!

Using RunAs within a script 1

Status
Not open for further replies.

smithy1981

IS-IT--Management
Sep 16, 2005
12
GB
Hi, is there a way of using RunAs within a VbScript. I want to use a cmd window but using a different accoutn to the one that the user is logged in as

Thanks
 
Yes you can. The problem lies in the passing of the password. You will want to implement a solution that allows you to pass the password securely. There is a free download that does it from Sanur.

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top