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 have a remote machine running windows 7. It has two users. It has the default user with no password which is used for home theater purposes. I have a separate login I use for remote desktop. I would like to be able to be able to remote into my account and use a console command to start an application on the local login account.

Any ideas?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

You can use powershell. Windows 7 shipped with powershell 2.0, which has a lot of great remote utilities.

You can either open a new tab to a remote shell, or use winrm. These are both "native".

share|improve this answer

PsExec sounds like the app you are looking for.

psexec \\computer -u user -p psswd  cmd [arguments]

There are a lot of options such as which session to use as well.

share|improve this answer
1  
Do you need to specify "-i 1" (or some other Session ID) for Windows 7? Just curious, I haven't tried psexec on RTM Windows 7, this used to be an issue with the pre-release versions. –  Helvick Nov 10 '09 at 21:07
    
Is there a way to start a remote app without using third party software? Aside from logging into that user of course. -Helvick, I don't know anything about session IDs. –  Paul Nov 10 '09 at 21:11
    
@Helvick - not sure about the session number. I am trying to test it myself. –  Sim Nov 10 '09 at 22:38

I may have an answer, but I don't want to give you something that won't let you achieve the desired result.

Can you tell us why you need to launch an application as the other user?

share|improve this answer
    
The remote machine hosts all of my torrent downloading as it is usually on. I would like to be able to remote start bittorrent so I may log in via uTorrent. Normally I would use remote desktop however that would log off whoever is watching TV. –  Paul Nov 11 '09 at 1:57

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.