Guest Sanjay Pais Posted January 30, 2008 Posted January 30, 2008 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
Guest Pegasus \(MVP\) Posted January 30, 2008 Posted January 30, 2008 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".
Guest Sanjay Pais Posted January 30, 2008 Posted January 30, 2008 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". >
Recommended Posts