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 read some related document on above query:

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

http://ss64.com/nt/psexec.html

I used this command on in my comman d prompt :

psexec \\PCname -u UserName -p ****** "C:\Program Files\Messenger\msmsgs.exe" 

But i can't see Messenger on either my or on remote machine.

I am trying to do this

share|improve this question

2 Answers 2

Ways to do what you want (on an all-Windows domain):

  • Make your application run without being installed. Put it on a network share. Trust the network share, so programs will launch without security warnings. Make a shortcut to it.

  • Make your application deploy as an MSI installer, deploy it by group policy. Update it, redeploy it, and have people reboot to pick up the new one.

  • install a server with Remote Desktop Services (and appropriate licenses), and install your program on it, and then publish it as a Remote App (it runs on the server, you see the window on your client).

  • Use a deployment tool such as ClickOnce

  • Use another app deployment solution to push it out to the desktops, maybe Microsoft App-V, more likely a third party. Altiris SVS used to be in this space, I don't know what's current at the moment.

share|improve this answer

I may be mistaken, but you can try to add a -i parameter, so that the process you're trying to launch will run in an interactive mode in the specified target computer.

Edit : I just saw what you're trying to acheive, and I don't think you can acheive that with psexec, which is used to execute process on remote computers. Here, you may what to try an application presentation solution, like Xenapp or Windows 2008 remote desktop services

share|improve this answer
    
You certainly can do remote execution with PSExec, but only for non-interactive processes (nothing will be shown on the remote computers screen). –  Richard Nov 29 '10 at 9:23
    
how can do this via "Xenapp " or with any other solution ? –  Preeti Singh Nov 29 '10 at 9:29

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.