The task doesn't run under specific account

Discussion in 'Windows Server' started by Alexey Zhilenko, Jun 10, 2009.

  1. Hello!
    OS is MS Server 2008 Std x64 fnd in need to schedule batch file.
    I create the task and provide user account that has password different from
    account name and has System right "Log on as a batch job" on this machine (I
    checked it with RSoP tools - it has).


    The task doesn't run. And it generates error:
    Event ID 101.
    Task Scheduler failed to start "\www backup" task for user "domain\UserAcc".
    Additional Data: Error Value: 2147943785.

    Error Value: 2147943785 - shows that the trouble is in absense of
    appropriate log on right. But as i said above the account has "Log as a batch
    job" system right.

    Please tell me where i'm wrong.

    I also tried to run task with checked/unchecked Run with highest privileges
    checkbox - result was the same.

    The setting "Run whether user is logged on or not" is enabled.

    Thank You.
    Alexey Zhilenko, Jun 10, 2009
    1. Advertisements

  2. Hello Alexey,

    What job should the task fullfill? There is "www backup" listed, so i assume
    something with backup software, if yes what backup software is used?

    It exist also a User right assignment for "Backup files and directories"

    Best regards

    Meinolf Weber
    Meinolf Weber [MVP-DS], Jun 10, 2009
    1. Advertisements

  3. Hello. Thank You for reply.
    Actually that is the next commands:

    stsadm -o backup -url http://portal -filename


    stsadm -o backup -directory \\bkpserver\sharepoint\Farm -backupmethod full

    I'll try to give the right you mentioned, but i was sure that stsadm
    processes through SPS interface and doesn't require the right backup and

    I'll give information about result.

    Thank you.
    Alexey Zhilenko, Jun 11, 2009
  4. I've sorted out the trouble.
    It related to MOSS2007, more exactly to permissions of its DBs.
    Alexey Zhilenko, Jun 12, 2009
  5. Hello Alexey,

    Nice to hear that you solved.

    Best regards

    Meinolf Weber
    Meinolf Weber [MVP-DS], Jun 12, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.