PowerToys: Unable to use PowerToys Run

Microsoft PowerToys version

0.51.1

Running as admin

  • Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Start PowerTools; it will attempt to start up PowerTools Run but will crash and Windows Bug collector launches to collect some info. No actual crash message shows; attempting to launch PowerLauncher.exe directly does the same thing. Looking in Reliability Monitor, I’m able to to see some details:

Source
PowerLauncher

Summary
Stopped working

Date
‎12/‎26/‎2021 1:35 AM

Status
Report sent

Description
Faulting Application Path:	C:\Program Files\PowerToys\modules\launcher\PowerLauncher.exe

Problem signature
Problem Event Name:	APPCRASH
Application Name:	PowerLauncher.exe
Application Version:	0.51.1.0
Application Timestamp:	5e222541
Fault Module Name:	StackHash_a9dd
Fault Module Version:	10.0.19041.1288
Fault Module Timestamp:	a280d1d6
Exception Code:	c0000374
Exception Offset:	PCH_25_FROM_ntdll+0x000000000009D8C4
OS Version:	10.0.19042.2.0.0.256.48
Locale ID:	1033
Additional Information 1:	a9dd
Additional Information 2:	a9dd50868a4075c5a4d2b996fd47598b
Additional Information 3:	ae4a
Additional Information 4:	ae4a3ca0cb663211f9750835d65ffd8d

Extra information about the problem
Bucket ID:	d40ea18aafc1f62d226307b76a0a0709 (1324911199716509449)

Attaching “Report Bug” zip file PowerToysReport_2021-12-26-23-57-36.zip .

✔️ Expected Behavior

Power Launcher running.

❌ Actual Behavior

It crashes.

Other Software

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 26 (6 by maintainers)

Most upvoted comments

Sent a link manually to you @jaimecbernardo.

in logs, you can see it quickly trying to start. maybe it is failing in one of the two paths here but that seems like an area we would have caught. Top 2 are same error

[2021-12-26 23:57:15.8598] [ERROR] [S:\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\ShellLinkHelper.cs::172]
-------------------------- Begin exception --------------------------
Message: Failed to fetch description for C:\Windows\syswow64\odbcad32.exe, Unspecified error

'Microsoft Secure Assessment Browser' violates pattern constraint of '\bms-resource:.{1,256}'.


Exception full name  : System.Runtime.InteropServices.COMException
Exception message    : Unspecified error

'Microsoft Secure Assessment Browser' violates pattern constraint of '\bms-resource:.{1,256}'.

Exception stack trace:
   at Microsoft.Plugin.Program.Programs.ShellLinkHelper.IShellLinkW.GetDescription(StringBuilder pszName, Int32 cchMaxName)
   at Microsoft.Plugin.Program.Programs.ShellLinkHelper.RetrieveTargetPath(String path)
Exception source     : 
Exception target site: Void GetDescription(System.Text.StringBuilder, Int32)
Exception HResult    : -2147467259
-------------------------- End exception --------------------------


[2021-12-26 23:57:15.8598] [ERROR] [S:\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\ShellLinkHelper.cs::172]
-------------------------- Begin exception --------------------------
Message: Failed to fetch description for C:\PROGRA~2\WINDOW~4\wmplayer.exe, Error HRESULT E_FAIL has been returned from a call to a COM component.

Exception full name  : System.Runtime.InteropServices.COMException
Exception message    : Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception stack trace:
   at Microsoft.Plugin.Program.Programs.ShellLinkHelper.IShellLinkW.GetDescription(StringBuilder pszName, Int32 cchMaxName)
   at Microsoft.Plugin.Program.Programs.ShellLinkHelper.RetrieveTargetPath(String path)
Exception source     : Microsoft.Plugin.Program
Exception target site: Void GetDescription(System.Text.StringBuilder, Int32)
Exception HResult    : -2147467259
-------------------------- End exception --------------------------


[2021-12-26 23:57:15.8761] [ERROR] [S:\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\UWPApplication.cs::590]
-------------------------- Begin exception --------------------------
Message: 	Error status: KNOWN
		Program path: C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
		Exception thrown in called method: Not available
		Possible interpretation of the error: |Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge can't find logo uri for Assets\MicrosoftEdgeSquare44x44.png in package location: C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
		Possible resolution: Can be ignored and PowerToys Run should still continue, however the program may not be loaded

Exception full name  : System.IO.FileNotFoundException
Exception message    : Unable to find the specified file.
Exception stack trace:

Exception source     : 
Exception target site: 
Exception HResult    : -2147024894
-------------------------- End exception --------------------------