I ran across runas ( I am on 2000), but I can't figure out
how to call it and then handle the subsequent password
prompt. I was hoping that since I am running the wsh as
admin I could su without a password or find a util where I
could put the password on the su command line.
Thanks
Quote:
>-----Original Message-----
>what os?
>If you are using 2k/xp then you can use runas, if it is
NT you will need to
>install 3rd party stuff.
>> Is there a way in wsh to switch to another user before
>> doing a Wsh.Shell Run ? I have a service that is
>> configured to be run as a user that is not admin, and I
>> need to become that user before stopping and starting
the
>> service. Doing it as admin causes probs.
>> Thanks
>.