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

Article translations Article translations
Article ID: 313111 - View products that this article applies to.
This article was previously published under Q313111
Expand all | Collapse all

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: July 1, 2004 - Revision: 2.2
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbprb kbbug kbsysadmin KB313111

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