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.

High CPU and memory use in Windows 10 when daylight saving time is configured


View products that this article applies to.

Symptoms

You have a computer that's running Windows 10 version 1507 or version 1511 and that's configured to use a time zone where daylight saving time (DST) changes occur at midnight (12:00 AM) instead of at 2:00 AM. In this situation, you may experience the following issues.

Issue 1
The TaskHostw.exe process consumes 100 percent of CPU resources. Therefore, system performance and battery life decrease dramatically. On small form factor devices, this issue may affect thermal management, as the process keeps running in a loop doing time conversion calculations.

Issue 2
The pagefile consumes excessive disk resources, which triggers the high disk utilization.

Issue 3
Excessive memory use occurs.

Issue 4
Excessive disk, CPU, or memory use causes the computer to hang or freeze.

↑ Back to the top


Cause

This issue occurs because of a race condition in the TaskHostW.exe process (a generic host process for Windows services) that runs one of the energy.dll scheduled tasks. This scheduled task runs according to the time that's set on the computer. This issue occurs only on the day when DST changes.

The energy.dll file is loaded when DST changes occur at midnight instead of at 2:00 AM.

↑ Back to the top


Resolution

To resolve this issue, upgrade your computer to Windows 10 version 1607.

↑ Back to the top


Workaround

To work around the issue, disable the Power Efficiency Diagnostics task by using one of the following methods.

Method 1: Use the UI
  1. Select Start Windows logo key .
  2. Type task scheduler in the Start Search box, and then click Task Scheduler Desktop app.
  3. In the Task Scheduler console, expand Task Scheduler Library, expand Windows, and then click Power Efficiency Diagnostics.
  4. In the middle pane, select and right-click AnalyzeSystem, and then click Disable.
  5. Close the Task Scheduler console.
Method 2: Use a command prompt
  1. Select Start Windows logo key  , and then type cmd in the Start Search box.
  2. Right-click Command Prompt Desktop app, and then select Run as administrator.
  3. At the elevated command prompt, run the following command line:
    schtasks /Change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /DISABLE
  4. Exit the command prompt.
You can query the status of the task by running the following command:

schtasks /Query /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"

The output should appear as follows:

Folder: \Microsoft\Windows\Power Efficiency Diagnostics
TaskName Next Run Time Status
===================== =========== ===============
AnalyzeSystem N/A Disabled


Method 3: Use Local Group Policy Editor to run computer startup scripts


From the Group Policy Preferences (GPP) of a domain controller:




From a client Group Policy report:


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3203563
Revision : 1
Created on : 1/7/2017
Published on : 11/10/2016
Exists online : False
Views : 931