Automatically run a program as administrator on limited user's desktop


  1. Posts : 19
    Windows 7 Ultimate x64
       #1

    Automatically run a program as administrator on limited user's desktop


    I am using Windows 7 x64. I have several programs I would like to start automatically with administrator privileges on a limited user desktop. In task scheduler I can schedule a start as administrator at each logon of the limited user. The problem is when I do this it starts in session 0. In other words, the GUI of the program is not on the user's desktop.

    I can change the task scheduler entry to use Sysinternals' psexec -i -h options to put the program on whatever user account is using the console desktop, which happens to be my limited user. However I am concerned this could be exploited. For example, if the limited user logs on remotely task scheduler will still run psexec which will still put the administrator process on the console desktop. Should another user be logged in they would have administrator privileges (I think).

    psexec allows one to specify the session number via -i but does not have a way to say start in xxx user's session.

    Does anyone know what I'm talking about or a way to solve the problem? Thanks
      My Computer


  2. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
       #2

    Hello entryman,

    If you like, you could use the tutorial below to create an elevated shortcut of the program that a standard user can run. :)

    Elevated Program Shortcut - Create for Standard User
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:07.
Find Us