Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to know how I can run remote applications on Windows Machines. Until now I have been using Windows Powershell remote, that works fine, but only to execute cmdlets. I want to be able to execute any command line application, like launch a Vim session, a Diskpart utility, etc.

share|improve this question

1 Answer 1

You should be able to use the psexec utility from SysInternals to run commands on remote computers.

The syntax to launch a remote command prompt is psexec \\REMOTE-PC cmd.

share|improve this answer
    
if the computer don't belong to the same local network, what are the options? I try to use the IP address but it doesn't work. –  mjsr Jan 24 '11 at 4:09
    
I'm not completely sure what you mean by 'local network'. If the machine is not part of your authentication domain, you'll need to supply credentials. –  RobW Feb 1 '11 at 17:08
    
I'm not completely sure what you mean by 'local network'. If the machine is not part of your authentication domain, you'll need to supply credentials. PSExec -? will give you the parameters. –  RobW Feb 1 '11 at 17:17
    
@msjr The double backslash is still needed even if you are using IP address ("psexec 10.15.10.15 cmd"). And as RobW says: You can supply credentials by using the -p and -u parameters. –  Björn Oct 10 '13 at 12:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.