Event ID 1511 when you start a task that is created in Task Scheduler in Windows 8 or Windows Server 2012

Applies to: Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 Standard


This issue occurs when the task has the following settings:
  • Enable "Run whether user is logged on or not" in the general settings, and specify a user who does not have its user profile directory created yet on the local computer.
  • Enable "Repeat task every: xx" or "Stop task if it runs longer than: xx" in the triggers settings.
In this situation, when you run the task, a temporary user profile is created, and the specified user is logged on by using the temporary user profile. Additionally, event ID 1511 of User Profile Service that resembles the following is logged in the Application log:

Hotfix information

Important Do not install a language pack after you install this hotfix. If you do, the language-specific changes in the hotfix will not be applied, and you will have to reinstall the hotfix. For more information, see Add language packs to Windows.

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


There is no prerequisite to apply this hotfix.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


This issue occurs because the user name that is passed in from the Schedsvc.dll file is in the format of "domain name\username," and it does not pass the name check.


See the terminology that Microsoft uses to describe software updates.