Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Vista - Launch UAC restricted programs at startup from a limited account

Reply
 
Old 03-29-2008   #1 (permalink)


Vista Ultimate x64
 
 

Launch UAC restricted programs at startup from a limited account

Hello,

I read many threads without finding a valuable answer to the following question :

Is it possible to launch UAC restricted programs at startup from a limited account using the scheduler ?

On my computer, I have one adminstrator account and three limited accounts. I need to launch a program at startup which requires administrative privileges.

I have created a task beginning at log on for any user. The administrative user account is used to run the task when it is logged on. The "Run with highest privileges" is selected.

When I log on the administrative user account, it is working very well : the task is started and the program is launched as it is supposed to. Perfect ! However, on the limited accounts it does not work. According to the log file, it seems the task is started but the program can't be launched.

So I decided to change the task security options so that the task could be run whether the administrative user is logged on or not.

Well, whether I logged on the administrative user account or on the limited ones, nothing happened.

I am stuck there and I don't know what to do next. Maybe someone could help ?

Thanks.

Cyrille

My System SpecsSystem Spec
Old 03-31-2008   #2 (permalink)
Brandon.HK


 
 

RE: Launch UAC restricted programs at startup from a limited account

Hi,
In the Task Scheduler\create task\general, under the Security options, try
to select
"Run whether user is logged on or not".

Brgds/Brandon Chau

"crustom" wrote:
Quote:

>
> Hello,
>
> I read many threads without finding a valuable answer to the following
> question :
>
> -Is it possible to launch UAC restricted programs at startup *from a
> limited account* using the scheduler ?-
>
> On my computer, I have one adminstrator account and three limited
> accounts. I need to launch a program at startup which requires
> administrative privileges.
>
> I have created a task -*beginning at log on*- for -*any user*-. The
> -*administrative user account*- is used to run the task *-when it is
> logged on-*. The "Run with highest privileges" is selected.
>
> When I log on the administrative user account, it is working very well
> : the task is started and the program is launched as it is supposed to.
> Perfect ! However, on the limited accounts it does not work. According
> to the log file, it seems the task is started but the program can't be
> launched.
>
> So I decided to change the task security options so that the task could
> be run -*whether the administrative user is logged on or not*-.
>
> Well, whether I logged on the administrative user account or on the
> limited ones, nothing happened.
>
> I am stuck there and I don't know what to do next. Maybe someone could
> help ?
>
> Thanks.
>
> Cyrille
>
>
> --
> crustom
>
My System SpecsSystem Spec
Old 03-31-2008   #3 (permalink)


Vista Ultimate x64
 
 

Re: Launch UAC restricted programs at startup from a limited account

Hello,

Thank you for your suggestion. In fact, if you go back to my original post, I wrote that, as a second try, I selected "Run whether user is logged on or not". Surprisingly, nothing worked anymore, whether I logged on the administrator account or on limited accounts. I can confirm everything was working very well on the administrator account when "Run when it is logged on" was selected.

The main question is therefore : Why is it that changing from "Run when it is logged on" to "Run whether user is logged on or not" prevents the task from being launched as it should ? Is there some security permissions somewhere to be set ?

Cyrille
My System SpecsSystem Spec
Old 03-31-2008   #4 (permalink)


Vista Ultimate x64
 
 

Re: Launch UAC restricted programs at startup from a limited account

Hello,

I thought it would be helpful if I could provide you (and everybody) with a list of events. Keep in mind that I don't have Vista in english : I had to translate each event description the best I could. However all event IDs are also provided to avoid any confusion.

I hope it will help...

Logging on the administrative user account

When "Run whether the user is logged on or not" is selected
119 The task is started at log on
319 The task scheduler received a message to launch the task
200 Operation started
100 Task started
129 Task process created
102 Task stopped
201 Action stopped
---> Everything seems ok but the program is not launched !

When "Run when the user is logged on" is selected
Surprisingly, same events as before
----> but this time, the program is launched !

Logging on a limited user account

When "Run whether the user is logged on or not" is selected
119 The task is started at log on
200 Operation started
319 The task scheduler received a message to launch the task
100 Task started
129 Task process created
201 Action stopped
102 Task stopped
----> Everything seems ok but the program is not launched!

When "Run when the user is logged on" is selected
119 The task is started at log on
101 The task cannot be started (ERROR)
----> There is an error preventing the task from being started
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
VISTA: How to change the order in which programs launch on startup Vista General
HOW to Stop STartup Programs that do not show in the "startup" folder or have options in the programs to not start at windows startup Vista installation & setup
Vista Quick Launch Bar Won't Launch Programs Vista file management
Programs launch twice from Startup folder Vista General
Startup Programs buy User Account Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46