2

I'm on Windows XP SP2 with no hack for concurrent sessions installed. I want to simply execute a single command on this machine from another remote computer, and nothing else. I want to run it as either the user who's already logged in, or as a different user. I have administrator permission. The command will not be GUI-based, and I don't want to install a software on either host or client.

The client is running Linux (preferred), but I could also use Windows XP.

My major concern is that the user currently logged in should not be logged off.

0fnt
  • 2,001

1 Answers1

3

Running a command on a remote machine can be done in multiple ways: PowerShell remoting, PsExec from Sysinternals, remote desktop (psexec is probably the easiest for a one shot use), but these will all either create a new session or run as system.

I.e. they won't run as the logged in user on that remote machine.

If you don't really need to run as the logged in user see above. Otherwise group policy to set a login script might be the simplest approach.

Richard
  • 9,172