startisback

Open full view…

Error while trying to run app from search as admin

he3als
Sun, 26 Dec 2021 00:51:37 GMT

Hello, I am attempting to run PowerShell and other apps from the search as administrator. However, I get an error stating that I have no association for that file (the file is just a shortcut). Another strange thing is that there is no little shield UAC icon next to the 'Run as Administrator' in the search. I can run applications as admin from the app list. The ful error message is: 'This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page'. I am using the latest StartIsBack with Windows 10 21H2. [Explorer_sYAabD5Vo0](//muut.com/u/startisback/s1/:startisback:aLTC:explorer_syaabd5vo0.png.jpg) [Explorer_dbCNwf4u25](//muut.com/u/startisback/s1/:startisback:Hfas:explorer_dbcnwf4u25.png.jpg)

he3als
Sun, 26 Dec 2021 00:53:29 GMT

It is probably something wrong in the registry, but I just have no idea what is wrong. Also, here is what the context menu looks like when I right click on PowerShell in the programs list: [75n4Kw3cvH](//muut.com/u/startisback/s1/:startisback:6msP:75n4kw3cvh.png.jpg). As you can see, it also has the little shield UAC icon, unlike the context menu for an application in the search.

he3als
Sun, 26 Dec 2021 00:57:02 GMT

I could disable UAC, but that would cause issues with stuff like drag and dropping and it would be less secure. Security is not too much of a concern for me though, as I dual boot Linux for stuiff that needs to be kept secure.

startisback
Sun, 26 Dec 2021 09:55:08 GMT

Some shell context menu extensions are known to break this functionality

he3als
Sun, 26 Dec 2021 13:17:41 GMT

Which shell extensions?

he3als
Sun, 26 Dec 2021 13:37:45 GMT

https://paste.gg/p/anonymous/6d5697074d8248268e7cd0c3617ff80d/files/729c966875ea4543898de5e248085cfb/raw Here are all the shell extensions I have. I exported the list using ShellExView.

he3als
Sun, 26 Dec 2021 15:15:12 GMT

I fixed it! I found these: https://www.tenforums.com/general-support/49768-run-administrator-file-does-not-have-program-associated.html https://www.sevenforums.com/tutorials/200558-run-administrator-add-remove-context-menu-windows-7-a.html I simply downloaded the `Remove_bad_Run_as_administrator.reg`, `Restore_Run-as-administrator.reg` and `Remove_Run-as-administrator.reg`. Then I ran the `Remove_bad_Run_as_administrator.reg` first, then the `Remove_Run-as-administrator.reg` and finally the `Restore_Run-as-administrator.reg`. Now when I right click on shortcuts from the search, it has the shield UAC icon and works fine. I don't think it was anything to do with shell extensions. I ran the registry files with NSudo to make sure that it works. [Explorer_oFyPOpzf7c](//muut.com/u/startisback/s1/:startisback:azUU:explorer_ofypopzf7c.png.jpg)