psexec \\computer -u Administrator cmd

The above command launches an interactive command prompt on \\computer running as Administrator. Mark Russinovich and Bryce Cogswell over at Sysinternals never fail to amaze me. If you haven't already, go grab Pstools now!

Jason Posted @ 10/8/2003 2:18 PM
Wow...that's pretty wild..It's actually a local window executing a remote command prompt (or whatever). Very cool stuff!

I didn't describe what it does very well - but yes, it is pretty wild!  It will even copy the command you want to run onto the remote machine if nessesary (it doesn't have to be cmd).  All without using telnet.  Bonkers!

No Comments