Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

12 Feb 2015   #1
entryman

Windows 7 Ultimate x64
 
 
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 System SpecsSystem Spec
.
12 Feb 2015   #2
Brink

64-bit Windows 10 Pro
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Possible to copy all Desktop/Program settings to another user account?
So yesterday I found that aero had become disabled. To check whether it was a windows problem, or a graphics card problem, I created another user account and logged into that and aero still worked there confirming that it was a windows user account problem. The fix here worked just fine. ...
General Discussion
User Administrator Account won't allow Administrator Privilages
Hi, I'm running Win 7 Pro x64 and Office 2007. I installed a Bluetooth transceiver recently and developed a problem when replying to email in Outlook 2007. When I select an email to reply, the email editor pops up with a "Custom UI Runtime Error in Send to Bluetooth." The solution to this issue...
General Discussion
User is both an Administrator, and not an Administrator. Cannot change
An account on my Windows 7 installation cannot have its type changed from an administrator to a user account. I tried to change it using the cmd and I'm getting these messages: >net localgroup administrators AccountName /del System error 1377 has occurred. The specified account name is...
General Discussion
Program not in User account when installed from within Administrator.
When you install a program from within Administrator account should it automatically be available from within the User account as well? I installed a program from within the Administrator account but when I go the the User account it is no where to be found. Is this program specific?
Software
Shortcut to automatically run this program as another user?
that's awesome that I found this. I've been struggling with this for about 30 mins now. but the real question is, how to automate this task of running this program as another user? Put another way, can I make a shortcut to automatically run this program as another user, that I can just click at any...
General Discussion
Limited Connectivity, Wired Network, Non-Administrator
Hey, Bit of an odd one here. I work at a company in the UK which is attempting to start rolling out Windows 7 to all computers (early adopters and all that, it's just a lot easier than the current mishmash of OSes we have!). One of the 4 users migrated so far is having an odd issue with her...
Network & Sharing


Our Sites

Site Links

About Us

Find 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:16.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App