Troubleshooting 'Could Not Start' scheduled task error: Announcing the arrival of Valued...

Sci-Fi book where patients in a coma ward all live in a subconscious world linked together

How to bypass password on Windows XP account?

51k Euros annually for a family of 4 in Berlin: Is it enough?

Can a non-EU citizen traveling with me come with me through the EU passport line?

How to call a function with default parameter through a pointer to function that is the return of another function?

At the end of Thor: Ragnarok why don't the Asgardians turn and head for the Bifrost as per their original plan?

Why do people hide their license plates in the EU?

How to align text above triangle figure

Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request?

Why light coming from distant stars is not discreet?

Book where humans were engineered with genes from animal species to survive hostile planets

Is it fair for a professor to grade us on the possession of past papers?

What causes the vertical darker bands in my photo?

What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?

Naming the result of a source block

What are the pros and cons of Aerospike nosecones?

How to answer "Have you ever been terminated?"

Output the ŋarâþ crîþ alphabet song without using (m)any letters

Fundamental Solution of the Pell Equation

What would be the ideal power source for a cybernetic eye?

If a contract sometimes uses the wrong name, is it still valid?

Why was the term "discrete" used in discrete logarithm?

Why aren't air breathing engines used as small first stages

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?



Troubleshooting 'Could Not Start' scheduled task error:



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Why isn't my Scheduled Task running a batch script?Why won't my ntbackup scheduled task of our Exchange data work?Windows Scheduled Task - “could not start”Scheduled Robocopy task fails with 0x10 errorHow do I rename a task in Task Scheduled on Windows Server 2008 R2Windows Scheduled Task - Error 2147943711 for “on startup” taskPowershell Script Scheduled Task Stopped Running (Could not Start)Win2K8 R2 Scheduled Task Fault ToleranceWhat causes scheduled task error 2147942402?Server 2012 R2 Run Program from Task Scheduler not running programProgram does not run properly as Scheduled Task





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I'm trying to run snapshot on my server to back up the drive onto a local NAS server. I'm currently using this on a Win2k, Win2k3, and Win2k8 servers. Both the Win2k and Win2k8 servers are correctly backup up the data, but the Win2k3 is returning a:




Could not Start




error. I use a batch file to run snapshot, and it's run using a Domain Admin account. Here's the specific Batch code:



pskill snapshot
rem @echo off
echo. 2>"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" c: \NASData_Backupsnapshotservermonday_cdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" F: \NASData_Backupsnapshotservermonday_fdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
blat -bodyF "C:Program FilesSnapshotlogsmonday_snapshot.log" -server mail.netcommusa.net -portSMTP 2525 -f mailrelay@netcommusa.net -i snapshot@*******.com -subject "Snapshot of Main Server" -u mailrelay@*******.net -pw mailrelay -to ********@gmail.com


Note blat is a simple program to send email from the command window



I've tried following this KB article found from this answer to a similar problem with no success. I've also tried this solution as well, but alas still no success.



My last result was:




0x0




which means that:




0x0: The operation completed successfully.




(from this KB article) but it's not successfully completing as it's not backup up the drives. Not sure where to go from here. Any suggestions?










share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You're running a batch file to backup? What's your batch file look like? What user are you running it from?

    – Nixphoe
    Aug 1 '11 at 20:48











  • @Nixphoe: Added more detail.

    – James Mertz
    Aug 1 '11 at 20:53











  • If you login to the server with the same user account that you're using to run the script from and you manually try to run it (maybe put in a pause at the end for troubleshooting), are you able to run it correctly?

    – Nixphoe
    Aug 1 '11 at 21:19











  • The Batch file runs fine when I run it locally. @Nixphoe

    – James Mertz
    Aug 1 '11 at 21:43













  • In the scheduled task log, what's the result code? Should be something like C0000XXX. I might also check to make sure your pskill and blat program's full path is listed just in case there might be something funny going on with that.

    – Nixphoe
    Aug 1 '11 at 21:54


















1















I'm trying to run snapshot on my server to back up the drive onto a local NAS server. I'm currently using this on a Win2k, Win2k3, and Win2k8 servers. Both the Win2k and Win2k8 servers are correctly backup up the data, but the Win2k3 is returning a:




Could not Start




error. I use a batch file to run snapshot, and it's run using a Domain Admin account. Here's the specific Batch code:



pskill snapshot
rem @echo off
echo. 2>"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" c: \NASData_Backupsnapshotservermonday_cdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" F: \NASData_Backupsnapshotservermonday_fdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
blat -bodyF "C:Program FilesSnapshotlogsmonday_snapshot.log" -server mail.netcommusa.net -portSMTP 2525 -f mailrelay@netcommusa.net -i snapshot@*******.com -subject "Snapshot of Main Server" -u mailrelay@*******.net -pw mailrelay -to ********@gmail.com


Note blat is a simple program to send email from the command window



I've tried following this KB article found from this answer to a similar problem with no success. I've also tried this solution as well, but alas still no success.



My last result was:




0x0




which means that:




0x0: The operation completed successfully.




(from this KB article) but it's not successfully completing as it's not backup up the drives. Not sure where to go from here. Any suggestions?










share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You're running a batch file to backup? What's your batch file look like? What user are you running it from?

    – Nixphoe
    Aug 1 '11 at 20:48











  • @Nixphoe: Added more detail.

    – James Mertz
    Aug 1 '11 at 20:53











  • If you login to the server with the same user account that you're using to run the script from and you manually try to run it (maybe put in a pause at the end for troubleshooting), are you able to run it correctly?

    – Nixphoe
    Aug 1 '11 at 21:19











  • The Batch file runs fine when I run it locally. @Nixphoe

    – James Mertz
    Aug 1 '11 at 21:43













  • In the scheduled task log, what's the result code? Should be something like C0000XXX. I might also check to make sure your pskill and blat program's full path is listed just in case there might be something funny going on with that.

    – Nixphoe
    Aug 1 '11 at 21:54














1












1








1








I'm trying to run snapshot on my server to back up the drive onto a local NAS server. I'm currently using this on a Win2k, Win2k3, and Win2k8 servers. Both the Win2k and Win2k8 servers are correctly backup up the data, but the Win2k3 is returning a:




Could not Start




error. I use a batch file to run snapshot, and it's run using a Domain Admin account. Here's the specific Batch code:



pskill snapshot
rem @echo off
echo. 2>"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" c: \NASData_Backupsnapshotservermonday_cdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" F: \NASData_Backupsnapshotservermonday_fdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
blat -bodyF "C:Program FilesSnapshotlogsmonday_snapshot.log" -server mail.netcommusa.net -portSMTP 2525 -f mailrelay@netcommusa.net -i snapshot@*******.com -subject "Snapshot of Main Server" -u mailrelay@*******.net -pw mailrelay -to ********@gmail.com


Note blat is a simple program to send email from the command window



I've tried following this KB article found from this answer to a similar problem with no success. I've also tried this solution as well, but alas still no success.



My last result was:




0x0




which means that:




0x0: The operation completed successfully.




(from this KB article) but it's not successfully completing as it's not backup up the drives. Not sure where to go from here. Any suggestions?










share|improve this question
















I'm trying to run snapshot on my server to back up the drive onto a local NAS server. I'm currently using this on a Win2k, Win2k3, and Win2k8 servers. Both the Win2k and Win2k8 servers are correctly backup up the data, but the Win2k3 is returning a:




Could not Start




error. I use a batch file to run snapshot, and it's run using a Domain Admin account. Here's the specific Batch code:



pskill snapshot
rem @echo off
echo. 2>"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" c: \NASData_Backupsnapshotservermonday_cdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
"C:Program FilesSnapshotsnapshot.exe" F: \NASData_Backupsnapshotservermonday_fdrive.sna -Go -T --novss --LogFile:"C:Program FilesSnapshotlogsmonday_snapshot.log"
blat -bodyF "C:Program FilesSnapshotlogsmonday_snapshot.log" -server mail.netcommusa.net -portSMTP 2525 -f mailrelay@netcommusa.net -i snapshot@*******.com -subject "Snapshot of Main Server" -u mailrelay@*******.net -pw mailrelay -to ********@gmail.com


Note blat is a simple program to send email from the command window



I've tried following this KB article found from this answer to a similar problem with no success. I've also tried this solution as well, but alas still no success.



My last result was:




0x0




which means that:




0x0: The operation completed successfully.




(from this KB article) but it's not successfully completing as it's not backup up the drives. Not sure where to go from here. Any suggestions?







windows-server-2003 backup scheduled-task snapshot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:14









Community

1




1










asked Aug 1 '11 at 20:45









James MertzJames Mertz

186418




186418





bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • You're running a batch file to backup? What's your batch file look like? What user are you running it from?

    – Nixphoe
    Aug 1 '11 at 20:48











  • @Nixphoe: Added more detail.

    – James Mertz
    Aug 1 '11 at 20:53











  • If you login to the server with the same user account that you're using to run the script from and you manually try to run it (maybe put in a pause at the end for troubleshooting), are you able to run it correctly?

    – Nixphoe
    Aug 1 '11 at 21:19











  • The Batch file runs fine when I run it locally. @Nixphoe

    – James Mertz
    Aug 1 '11 at 21:43













  • In the scheduled task log, what's the result code? Should be something like C0000XXX. I might also check to make sure your pskill and blat program's full path is listed just in case there might be something funny going on with that.

    – Nixphoe
    Aug 1 '11 at 21:54



















  • You're running a batch file to backup? What's your batch file look like? What user are you running it from?

    – Nixphoe
    Aug 1 '11 at 20:48











  • @Nixphoe: Added more detail.

    – James Mertz
    Aug 1 '11 at 20:53











  • If you login to the server with the same user account that you're using to run the script from and you manually try to run it (maybe put in a pause at the end for troubleshooting), are you able to run it correctly?

    – Nixphoe
    Aug 1 '11 at 21:19











  • The Batch file runs fine when I run it locally. @Nixphoe

    – James Mertz
    Aug 1 '11 at 21:43













  • In the scheduled task log, what's the result code? Should be something like C0000XXX. I might also check to make sure your pskill and blat program's full path is listed just in case there might be something funny going on with that.

    – Nixphoe
    Aug 1 '11 at 21:54

















You're running a batch file to backup? What's your batch file look like? What user are you running it from?

– Nixphoe
Aug 1 '11 at 20:48





You're running a batch file to backup? What's your batch file look like? What user are you running it from?

– Nixphoe
Aug 1 '11 at 20:48













@Nixphoe: Added more detail.

– James Mertz
Aug 1 '11 at 20:53





@Nixphoe: Added more detail.

– James Mertz
Aug 1 '11 at 20:53













If you login to the server with the same user account that you're using to run the script from and you manually try to run it (maybe put in a pause at the end for troubleshooting), are you able to run it correctly?

– Nixphoe
Aug 1 '11 at 21:19





If you login to the server with the same user account that you're using to run the script from and you manually try to run it (maybe put in a pause at the end for troubleshooting), are you able to run it correctly?

– Nixphoe
Aug 1 '11 at 21:19













The Batch file runs fine when I run it locally. @Nixphoe

– James Mertz
Aug 1 '11 at 21:43







The Batch file runs fine when I run it locally. @Nixphoe

– James Mertz
Aug 1 '11 at 21:43















In the scheduled task log, what's the result code? Should be something like C0000XXX. I might also check to make sure your pskill and blat program's full path is listed just in case there might be something funny going on with that.

– Nixphoe
Aug 1 '11 at 21:54





In the scheduled task log, what's the result code? Should be something like C0000XXX. I might also check to make sure your pskill and blat program's full path is listed just in case there might be something funny going on with that.

– Nixphoe
Aug 1 '11 at 21:54










1 Answer
1






active

oldest

votes


















0














It's definitely a security problem. You may check this by creating a simple task like cmd /c echo and seeing if it will fail, too. If it will:




  1. Check the actual value of Log on as a batch job policy (rsop.msc - Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment). If it is invalid (e. g. points to an empty group) any task will fail, even those running under the local admin account. What is more, changing the value and updating group policy won't fix this - you need to re-enter the credentials for every user sheduled tasks are running under (e. g. if you have 3 tasks running under one user and 2 tasks running under another one you need to re-enter the credentials just twice).

  2. Check ACL of %SystemRoot%system32cmd.exe. Read and Execute permission should be granted for BATCH group. It may be done via Group Policy: add cacls.exe %SystemRoot%system32cmd.exe /e /g BATCH:r to Computer Configuration - Windows Settings - Startup Scripts.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f296447%2ftroubleshooting-could-not-start-scheduled-task-error%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It's definitely a security problem. You may check this by creating a simple task like cmd /c echo and seeing if it will fail, too. If it will:




    1. Check the actual value of Log on as a batch job policy (rsop.msc - Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment). If it is invalid (e. g. points to an empty group) any task will fail, even those running under the local admin account. What is more, changing the value and updating group policy won't fix this - you need to re-enter the credentials for every user sheduled tasks are running under (e. g. if you have 3 tasks running under one user and 2 tasks running under another one you need to re-enter the credentials just twice).

    2. Check ACL of %SystemRoot%system32cmd.exe. Read and Execute permission should be granted for BATCH group. It may be done via Group Policy: add cacls.exe %SystemRoot%system32cmd.exe /e /g BATCH:r to Computer Configuration - Windows Settings - Startup Scripts.






    share|improve this answer




























      0














      It's definitely a security problem. You may check this by creating a simple task like cmd /c echo and seeing if it will fail, too. If it will:




      1. Check the actual value of Log on as a batch job policy (rsop.msc - Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment). If it is invalid (e. g. points to an empty group) any task will fail, even those running under the local admin account. What is more, changing the value and updating group policy won't fix this - you need to re-enter the credentials for every user sheduled tasks are running under (e. g. if you have 3 tasks running under one user and 2 tasks running under another one you need to re-enter the credentials just twice).

      2. Check ACL of %SystemRoot%system32cmd.exe. Read and Execute permission should be granted for BATCH group. It may be done via Group Policy: add cacls.exe %SystemRoot%system32cmd.exe /e /g BATCH:r to Computer Configuration - Windows Settings - Startup Scripts.






      share|improve this answer


























        0












        0








        0







        It's definitely a security problem. You may check this by creating a simple task like cmd /c echo and seeing if it will fail, too. If it will:




        1. Check the actual value of Log on as a batch job policy (rsop.msc - Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment). If it is invalid (e. g. points to an empty group) any task will fail, even those running under the local admin account. What is more, changing the value and updating group policy won't fix this - you need to re-enter the credentials for every user sheduled tasks are running under (e. g. if you have 3 tasks running under one user and 2 tasks running under another one you need to re-enter the credentials just twice).

        2. Check ACL of %SystemRoot%system32cmd.exe. Read and Execute permission should be granted for BATCH group. It may be done via Group Policy: add cacls.exe %SystemRoot%system32cmd.exe /e /g BATCH:r to Computer Configuration - Windows Settings - Startup Scripts.






        share|improve this answer













        It's definitely a security problem. You may check this by creating a simple task like cmd /c echo and seeing if it will fail, too. If it will:




        1. Check the actual value of Log on as a batch job policy (rsop.msc - Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment). If it is invalid (e. g. points to an empty group) any task will fail, even those running under the local admin account. What is more, changing the value and updating group policy won't fix this - you need to re-enter the credentials for every user sheduled tasks are running under (e. g. if you have 3 tasks running under one user and 2 tasks running under another one you need to re-enter the credentials just twice).

        2. Check ACL of %SystemRoot%system32cmd.exe. Read and Execute permission should be granted for BATCH group. It may be done via Group Policy: add cacls.exe %SystemRoot%system32cmd.exe /e /g BATCH:r to Computer Configuration - Windows Settings - Startup Scripts.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 18 '16 at 12:03









        GCRaistlinGCRaistlin

        617




        617






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f296447%2ftroubleshooting-could-not-start-scheduled-task-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...