If I'm the administrator and a user logs in through RDP, let's say I decide that there's a certain .exe that I want to run in the user's session. If I double-click the .exe, it will just run in my session. How can I make it run in the user's session?
feedback
|
|
You can do this with PsExec, be sure to have the right permissions to run applications for him.
-u means user, -i makes it interactive so the user sees it, -d makes sure the command doesn't wait Or maybe you are looking for the RemoteApp behavior? | |||||||
feedback
|
|
This really depends on what your exe is going to do. There are a number of ways to launch an app, but it can be tough to force an app launch when a user is logged in. Here are my suggestions for different types of apps. Interactive app - An tool or utility that requires end user input.
Background App - Something that needs to be run every time the user logs on.
When it comes to software control, it can be tricky to get things to work correctly. The main problem with running software as another user is the windows security model. It tries to separate users in their own run space so a malicious user can't force another user to run arbitrary code. Hope this helps | |||
|
feedback
|