Windows Server 2008 R2 may encounter a workaround for a task schedule that cannot be run automatically

Source: Internet
Author: User

Recently met a strange phenomenon, in doing a regular backup of a system to use the non-system with the rsync command, but the manual start is no problem, but also very much expect the bulk of the host on many, how to do? Under Windows Server 2003, there is no problem performing a scheduled task, and there is an unexpected exception under Windows Server 2008 R2.

Under normal circumstances, our mission plan will have feedback values that allow us to determine whether the task was scheduled to run correctly last time (detail connection: http://support.microsoft.com/kb/267031/).

Code 0 or 0x0: Operation completed successfully.

Code 1 or 0x1: The function called is incorrect or an unknown function was invoked.

Code 10 or 0xa: the environment is incorrect.

Code 0x8009000f: General access Denied

Figure 1 See the last run result is not 0

Such a non-0 situation indicates that it cannot be accepted.

I see this error message by setting a breakpoint on this batch.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.