win10去除快捷方式小箭头

切忌删除注册表项:

HKEY_CLASSES_ROOT -> lnkfile -> IsShortcut

这个方法以前是可以的,但是在2018年之后更新的系统就会出现任务栏图标打不开的情况,点击任务栏图标会弹窗:该文件没有与之关联的应用来执行操作。

正确方法如下:

 新建文本文件,粘贴以下代码,改扩展名为bat,以管理员身份运行。

1.去掉小箭头

reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "%systemroot%system32imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%AppDataLocaliconcache.db"
del "%userprofile%AppDataLocaliconcache.db" /f /q
start explorer
pause


2.恢复小箭头
reg delete "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%AppDataLocaliconcache.db"
del "%userprofile%AppDataLocaliconcache.db" /f /q
start explorer
pause

原文地址:https://www.cnblogs.com/hmswt/p/10459559.html