Scheduled tasks may not start if you used a System Preparation image to install Windows XP or Windows 2000

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
When you install a Microsoft Windows 2000-based disk image or a Microsoft Windows XP-based disk image that was created with the Microsoft System Preparation tool (Sysprep.exe), some scheduled tasks may not start as expected.

When you view the properties of a failed task, you may receive an error message similar to the following:
0x8004130f: No account information could be found in the Task Scheduler security database for the task indicated.
Cause
This behavior occurs if the scheduled tasks are scheduled to run under a system account. Tasks scheduled to run under a user account start as expected.
Workaround
To work around this issue, enter the account credentials for the task again. To do this, follow these steps:
  1. Click Start, click Run, and then type drive:\folder\Tasks, where drive is the hard disk where Windows 2000 or Windows XP is installed and folder is the folder where Windows 2000 or Windows XP is installed.
  2. Click OK.
  3. Double-click the failed task.
  4. In the Run as box, type the name of the system account that has the credentials to run the task.
  5. Click Set Password, type the password for the system account, confirm the password, and then click OK.
  6. Click OK to close the task.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
The Task Scheduler encrypts credentials by using an encryption key that is generated from a hash of various pieces of data that are specific to the computer. After you use the Sysprep.exe tool to create an image, the original encryption key cannot be regenerated because of the changes that the Sysprep.exe tool has made. Therefore, all prior credentials are lost.
Properties

Article ID: 313111 - Last Review: 01/12/2015 19:21:13 - Revision: 3.0

  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • kbnosurvey kbarchive kbprb kbbug kbsysadmin KB313111
Feedback