Win8 开始按钮右键菜单(Win+X 菜单)失效,多因注册表 IsShortcut 字符串值被误删/修改。双脚本修复:先注册表恢复快捷方式标识,再批处理重建图标缓存。

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=""
[HKEY_CLASSES_ROOT\piffile]
"IsShortcut"=""

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
导入注册表后注销/重启,再以管理员运行 bat,Win+X 菜单恢复正常,快捷方式小箭头也重新显示。