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?

link|improve this question
feedback

3 Answers

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".

link|improve this answer
feedback

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.

link|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
feedback

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?

link|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
feedback

Your Answer

 
or
required, but never shown

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