Sign in to follow this  
Followers 0
gcue

runas (psexec alternative?)

5 posts in this topic

i am trying to run remote programs on remote PCs in our network.

id like to see what you guys can recommend for this (trying to ween off psexec).

instead of specifying the local admin acount on the remote PCs, is there a way I can just use current credentials and not prompt the script user for a password? (successfuly only if script user belongs to the admin group on network pcs of course)

any thoughts?

Share this post


Link to post
Share on other sites



See if this works:

#RequireAdmin
; Your code starts here

Share this post


Link to post
Share on other sites

hmm wouldnt that be rights on the local machine?

Share this post


Link to post
Share on other sites

Do a search for remote process?

PSEXEC is prob the best option to be honest. WMI and ScheduledTasks seem to be the only other accepted method.

Why can't you use psexec with your network credentials, as long as that network account is in the admin group of the remote system?

Share this post


Link to post
Share on other sites

i can but id like to resort to not using 3rd party apps if possible, u know?

Do a search for remote process?

PSEXEC is prob the best option to be honest. WMI and ScheduledTasks seem to be the only other accepted method.

Why can't you use psexec with your network credentials, as long as that network account is in the admin group of the remote system?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0