Win10和Win11去除桌面快捷方式小箭头
标签搜索

Win10和Win11去除桌面快捷方式小箭头

sky
sky
2023-12-25 / 0 评论 / 41 阅读 / 正在检测是否收录...

最近家里的Windows11电脑,因为最近折腾建站的原因,图标增多,五花八门是越看越丑。想起之前在Windows10的那台机器上做过这个操作,于是就试试这个方法适不适用于Windows11,结果成功,记录一下备忘:

新建一个txt文件,录入以下命令,最后保存为bat格式,右键管理员执行。

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

执行完毕,就可以即时看到效果。

PS:之前网上有一段这样的代码,可以达到效果,但实际执行完,是会导致任务栏的快捷方式失效报错的。我找了一下,也附上解决方案:

代码:

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

使用方法同样为保存为bat格式,右键管理员权限执行。

7

评论 (0)

取消