PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

PowerToys Run crashes due to COMException: Desktop composition is disabled

Open mdsabab8557-alt opened this issue 1 month ago • 15 comments

Microsoft PowerToys version

0.91.1.0

Installation method

Microsoft Store

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. Launch PowerToys Run on Windows 10 (build 22620.0)
  2. Observe crash and error message
  3. No user interaction possible after crash

✔️ Expected Behavior

PowerToys Run should launch normally and display the search interface, regardless of desktop composition status.

❌ Actual Behavior

System.Runtime.InteropServices.COMException (0x800705B4): [Desktop composition is disabled] at WindowsDesktop.WpfWindow.ApplyBackdrop() ...

Additional Information

No response

Other Software

No response

mdsabab8557-alt avatar Nov 10 '25 10:11 mdsabab8557-alt

The following issues might be duplicates:

  • #43412
  • #31226

AI-generated content by genai-issue-dedup may be incorrect.

github-actions[bot] avatar Nov 10 '25 10:11 github-actions[bot]

Hello @mdsabab8557-alt,

thank you for reporting the issue.


Looks like #31226, but with a different HRESULT... 0x800705B4 is WIN_32 facility + ERROR_TIMEOUT status.

jiripolasek avatar Nov 10 '25 11:11 jiripolasek

@mdsabab8557-alt

Could you please provide us with the entire log? I've never seen the stack track like this.

/bugreport

jiripolasek avatar Nov 10 '25 11:11 jiripolasek

I have the same issue with version 0.95.0.0

Here is the complete log file as zip 2025-11-11 - Kopie.zip

k3b avatar Nov 11 '25 11:11 k3b

I also got this error @jiripolasek

Bug Stacktrace is :

C:\Users\t-vimathur\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\0.93.0.0\2025-11-12.txt
IntPtr Length: 8
x64: True
Date: 11/12/2025 10:50:41 AM
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Appearance.WindowBackdropManager.UpdateGlassFrame(IntPtr hwnd, WindowBackdropType backdropType)
   at System.Windows.Appearance.WindowBackdropManager.ApplyBackdrop(IntPtr hwnd, WindowBackdropType backdropType)
   at System.Windows.Appearance.WindowBackdropManager.SetBackdrop(Window window, WindowBackdropType backdropType)
   at System.Windows.ThemeManager.ApplyStyleOnWindow(Window window, Boolean useLightColors)
   at System.Windows.ThemeManager.OnSystemThemeChanged()
   at System.Windows.SystemResources.SystemThemeFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Grimoors avatar Nov 12 '25 05:11 Grimoors

Same here @jiripolasek

Screen went black for like 40 second and looks like my display driver is all messed up after that.

C:\Users\<USERNAME>\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\0.95.1.0\2025-11-12.txt


Version: 0.95.1.0
OS Version: Microsoft Windows NT 10.0.26200.0
IntPtr Length: 8
x64: True
Date: 12-11-2025 18:13:00
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Appearance.WindowBackdropManager.UpdateGlassFrame(IntPtr hwnd, WindowBackdropType backdropType)
   at System.Windows.Appearance.WindowBackdropManager.ApplyBackdrop(IntPtr hwnd, WindowBackdropType backdropType)
   at System.Windows.Appearance.WindowBackdropManager.SetBackdrop(Window window, WindowBackdropType backdropType)
   at System.Windows.ThemeManager.ApplyStyleOnWindow(Window window, Boolean useLightColors)
   at System.Windows.ThemeManager.OnSystemThemeChanged()
   at System.Windows.SystemResources.SystemThemeFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

akash1047 avatar Nov 12 '25 12:11 akash1047

Hello @k3b, @Grimoors, @akash1047

This issue is often caused by the graphics card or its drivers. Hopefully, the next version of PowerToys Run will handle this error more smoothly. See #31226 for more details.

The original OP had a similar issue, possibly caused by a different source or error code. I’ll keep this issue open to hear from @mdsabab8557-alt and see if it turns out to be a new problem.

jiripolasek avatar Nov 12 '25 13:11 jiripolasek

Received similar error this morning as was requested to log here. Log file attached.

2025-11-12.txt

mgt4rwg avatar Nov 12 '25 14:11 mgt4rwg

Also encountered this exception today when waking up from standby. Maybe it's useful for you to have another log file, here is mine:

2025-11-17.txt

lord-haffi avatar Nov 17 '25 10:11 lord-haffi

Happens to me only after resuming after hybernate. My error message is more like the one in this issue: https://github.com/microsoft/powertoys/issues/43441

Also the error occurs since version 0.95.x and had never been seen before that version.

pseisam avatar Nov 18 '25 09:11 pseisam

Switching to another computer via VM switch causes the problem.

timahenning avatar Nov 18 '25 22:11 timahenning

Also, my Teams crashes now when I turn on the camera.

[2025-11-18 12:02:17.9012] [ERROR] [P:_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::58] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void <ThrowExceptionForHR>g__Throw|38_0(Int32) Possible interpretation of the error: Exception MSTeams Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Windows.ApplicationModel.Package.get_InstalledLocation() at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void <ThrowExceptionForHR>g__Throw|38_0(Int32) Exception HResult : -2147024809

timahenning avatar Nov 18 '25 23:11 timahenning

Seems to be fixed since 0.96.0

pseisam avatar Nov 24 '25 08:11 pseisam

Updated to the latest version. I will monitor.

timahenning avatar Dec 01 '25 00:12 timahenning

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.