Win11 prompts that the file does not have an application associated with it to perform this operation, how to solve it

        When we are trying to remove the arrow in the lower left corner of the desktop icon , we often find ways to delete the IsShortcut file in the registry on the Internet, but this method is only applicable to win8 or win10 systems. If it is a win11 system, doing so will also eliminate the arrows in the lower left corner of most icons. Although the icons on the desktop can be opened normally, it will cause the fixed icons in the system taskbar to fail to open. And there will be a prompt " This file does not have an application associated with it to perform this operation. Please install the application. If you have already installed the application, please create an association on the "Default Application Settings" page. ".

        Apparently because of deleting the IsShortcut file. So we just need to restore the registry and use another method to remove the arrow in the lower left corner of the icon.

recovery method

        Create a new txt text file on the desktop, copy and paste the following code into the txt file, then rename the file to .bat format, and right-click to run as an administrator.

taskkill /f /im explorer.exe
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f
reg add "HKEY_CLASSES_ROOT\lnkfile" /v IsShortcut /t reg_sz /f
reg add "HEKY_CLASSES_ROOT\piffile" /v IsShortcut /t reg_sz /f
start explorer

 By running the .bat file, the registry files will be restored. Icons are back to normal.

remove icon small arrow

        Create a new txt text file on the desktop, copy and paste the following code into the txt file, then rename the file to .bat format, and right-click to run as an administrator.

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
pause

 By running the .bat file, there is no need to restart as before, the small arrows in the lower left corner of all icons will disappear, and there is nothing wrong with the application on the taskbar! !

Guess you like

Origin blog.csdn.net/Little_Star0/article/details/128447238