TechArena Community

TechArena Community (http://forums.techarena.in/)
-   Windows Server Help (http://forums.techarena.in/windows-server-help/)
-   -   Granting Execute Permission on Scheduled Tasks (http://forums.techarena.in/windows-server-help/904797.htm)

Sanjay Pais 31-01-2008 03:07 AM

Granting Execute Permission on Scheduled Tasks
 
We have Windows 2003 servers that are locked down and we are unable to
execute scheduled tasks in windows.

Is it possible for the Administrator to create a scheduled tasks which will
run under the context of a user with Admin privileges. Can he then give us
permission to execute/run the task. This way the task will run under the
identity of the Admin user rather than mine.

The task runs a batchfile that runs a nant script that needs admin
privileges to create databases from backup, modify the metabase in IIS to
create websites using directory services.

Thanks in advance

Sanjay



Pegasus \(MVP\) 31-01-2008 03:13 AM

Re: Granting Execute Permission on Scheduled Tasks
 

"Sanjay Pais" <sdpais@athotmaildot.com> wrote in message
news:OWq2Jh4YIHA.4712@TK2MSFTNGP05.phx.gbl...
> We have Windows 2003 servers that are locked down and we are unable to
> execute scheduled tasks in windows.
>
> Is it possible for the Administrator to create a scheduled tasks which
> will run under the context of a user with Admin privileges. Can he then
> give us permission to execute/run the task. This way the task will run
> under the identity of the Admin user rather than mine.
>
> The task runs a batchfile that runs a nant script that needs admin
> privileges to create databases from backup, modify the metabase in IIS to
> create websites using directory services.
>
> Thanks in advance
>
> Sanjay
>


You can run scheduled task under any account you like.
The usual method is to create a dedicated account (not
a user account!), e.g. "Schedule".



Sanjay Pais 31-01-2008 03:21 AM

Re: Granting Execute Permission on Scheduled Tasks
 
That's just it, we do not have admin right to create databases and assess
the iis metabase.

If a user say UserA is granted those rights and the scheduled task is set up
to run under the identity of UserA, is it possible to grant myself exceute
permission on the same task so that when I run it, it runs under the
identity of UserA and not mine.

This allows me to run a task without having admin privileges


Sanjay
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:%237gjWk4YIHA.4880@TK2MSFTNGP03.phx.gbl...
>
> "Sanjay Pais" <sdpais@athotmaildot.com> wrote in message
> news:OWq2Jh4YIHA.4712@TK2MSFTNGP05.phx.gbl...
>> We have Windows 2003 servers that are locked down and we are unable to
>> execute scheduled tasks in windows.
>>
>> Is it possible for the Administrator to create a scheduled tasks which
>> will run under the context of a user with Admin privileges. Can he then
>> give us permission to execute/run the task. This way the task will run
>> under the identity of the Admin user rather than mine.
>>
>> The task runs a batchfile that runs a nant script that needs admin
>> privileges to create databases from backup, modify the metabase in IIS to
>> create websites using directory services.
>>
>> Thanks in advance
>>
>> Sanjay
>>

>
> You can run scheduled task under any account you like.
> The usual method is to create a dedicated account (not
> a user account!), e.g. "Schedule".
>





All times are GMT +5.5. The time now is 08:32 PM.