PowerToys Run not finding PowerShell script shortcuts in User Start Menu

Created on 9 Jun 2020  路  9Comments  路  Source: microsoft/PowerToys

Environment

Windows build number: 10.0.19041.264
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): Run

Steps to reproduce

If you have PowerShell scripts (or other scripts) that you create shortcuts too and put in the Start Menu folder(s) they are not found.

Other apps in those locations are found. I have quite a few admin scripts that I can run from Windows 10 Search (Win + Q, just Win, etc.). For example, I created a folder in C:\Users\UserID\AppData\Roaming\Microsoft\Windows\Start Menu\Programs and created shortcuts to all of my PowerShell scripts in there. Windows 10 search finds them, PowerToys Run does not. Even after days (incase it was index timing) they are still not found.

Expected behavior

Anything in the Start Menu folders (All Users, Current Users) should be available to be run, including shortcuts, etc.

Actual behavior

PowerToys Run does not find shortcuts to PowerShell scripts (and maybe others, but the scripts are what I've tested on several machines).

Screenshots

work start script win 10 search works
work start script powertoys run fails
work start script shortcut location

Issue-Bug Product-Launcher

Most helpful comment

Great catch, we'll work on this

All 9 comments

Great catch, we'll work on this

Thank you for reporting!

I've created countless shortcuts in %APPDATA%\Microsoft\Windows\Start Menu\ and expected them to show up. Some are shortcuts to applications, some are scripts, Hyper-V profiles, etc. I prefer PowerToys Run, but I'm stuck with the regular old start menu search for now.

v0.19 fixed the issue for me. I can now find the shortcuts to PowerShell scripts in the tool. Thanks!

I still have the issue, any shortcuts inside my user's start menu folder don't appear in power toys run results.

@justanindieguy PowerShell script shortcuts, correct?

@justanindieguy PowerShell script shortcuts, correct?

Yes, that's correct.

I just popped one on my desktop and it loaded in 0.21.1, @justanindieguy still an issue?

image

test

I did the same and it's working fine. I'm on PT v0.21.1

Going to close this, if it isn't fixed, please comment.

Was this page helpful?
0 / 5 - 0 ratings