Copilot may power new Windows 11 optimization feature

It comes with the Windows 11 Build 27863

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Windows Health and Optimized Experiences" (whesvc) service

Microsoft is testing a new performance and battery optimization feature in Windows 11 called Windows Health and Optimized Experiences. The feature first appeared in Windows 11 Build 27863 (Canary), released on May 25, 2025.

According to well-known Windows leaker Albacore (thebookisclosed), mentioned in a tweet, the Windows Health and Optimized Experiences (whesvc) service is LUA-driven.

The tool is designed to monitor and improve system efficiency, and may be marketed under the Copilot branding. Although it doesn’t integrate with the Copilot AI chat interface, code references, such as ECP CoPilot (Efficiency Copilot), suggest that Microsoft could be using the Copilot name for promotional purposes.

As noted by Albacore, the feature runs on a Lua script (ecp.v2.lua) located in the whesvc_assets.dll file. Lua is a lightweight and fast scripting language, often chosen for its small memory footprint. The script is executed through windialog.exe and uses disable_global_variables() to ensure that it operates within a sandboxed environment, thereby limiting its access to predefined functions and data.

The script relies on the following environment variables to monitor and respond to device metrics:

  • WINDIAG_ECP_EVAL_SEC – Sampling frequency
  • WINDIAG_ECP_TELEMETRY_FREQUENCY_MINUTES – Telemetry upload frequency
  • WINDIAG_ECP_BATTERY_PCT_THRESHOLD – Battery percentage threshold for triggering actions

These variables suggest that the Windows Health and Optimized Experiences feature monitors battery and performance metrics, including CPU load, brightness, power modes, and thermal readings, and then attempts to optimize these parameters to improve battery health.

As of now, it is unclear how Microsoft plans to implement this feature, whether it will automatically adjust the system settings or provide optimization recommendations.

Regarding Copilot, it appears the branding is primarily for marketing purposes, with no current indication that the feature is AI-powered or connected to the Copilot assistant’s functionality.

What are your thoughts on Windows Health and Optimized Experiences, Microsoft’s new optimization tool in Windows 11? Let us know in the comments section below.

More about the topics: Windows 11

User forum

0 messages