Error message when you run an old scheduled task or a newly created scheduled task on a Windows Server 2003 Service Pack 2-based domain controller: "0x8007000d: The data is invalid"

Article translations Article translations
Article ID: 958837 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You cannot run an old scheduled task on a domain controller after you install Windows Server 2003 Service Pack 2 (SP2) on the domain controller. Additionally, you cannot run a newly created scheduled task that you create by using the Scheduled Task Wizard. When you try to run an old scheduled task or a newly created scheduled task, you receive the following error message:
General page initialization failed.
The specific error is:
0x8007000d: The data is invalid.
An error has occurred attempting to retrieve task account information. You may continue editing the task object, but will be unable to change task account information.
Note However, you can run a scheduled task that you create by using Administrative Tools.

RESOLUTION

To resolve this issue, follow these steps:
  1. Stop the Task Scheduler service on the domain controller. To do this, follow these steps:
    1. Click Start, click Run, type services.msc, and then press ENTER.
    2. In the list of services, double-click Task Scheduler.
    3. Click Stop, and then click OK.
    4. On the File menu, click Exit.
  2. Change the attribute of the Tasks folder to make the folder a typical folder. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then press ENTER.
    2. At the command prompt, type cd %windir%, and then press ENTER.

      Note %windir% specifies the path where Windows is installed. Typically, C:\Windows is the path where Windows is installed.
    3. Type attrib -s tasks, and then press ENTER.
  3. Switch to the Tasks folder. To do this, type cd tasks, and then press ENTER.
  4. Back up the Sa.dat file. To do this, type copy sa.dat backup_path, and then press ENTER.

    Note The backup_path placeholder specifies the path of the location where you want to copy the Sa.dat file.
  5. Delete the Sa.dat file. To do this, type del sa.dat, and then press ENTER.
  6. Change the attribute of the Tasks folder to revert the folder back to a system folder. To do this, follow these steps:
    1. At the command prompt, type cd %windir%, and then press ENTER.
    2. Type attrib +s tasks, and then press ENTER.
  7. Type exit, and then press ENTER to close the Command Prompt window.
  8. Start the Task Scheduler service on the domain controller. To do this, follow these steps:
    1. Click Start, click Run, type services.msc, and then press ENTER.
    2. In the list of services, double-click Task Scheduler.
    3. Click Start, and then click OK.
    4. On the File menu, click Exit.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
822904 "The attempt to retrieve account information for the specified task failed" error message when you use Task Scheduler to schedule volume shadow copy to run in Windows Server 2003

Properties

Article ID: 958837 - Last Review: September 11, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Windows Server 2003 Service Pack 2, when used with:
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003, Web Edition
Keywords: 
kbexpertiseinter kbtshoot KB958837

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com