Consider the following scenario. You create a scheduled task on a Windows 8 or Windows Server 2012-based computer. Then, you set the trigger for the task to On workstation lock or On workstation unlock for a specific user account. In this scenario, the task does not start when you unlock or lock the computer by using the user account.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.