2023年12月19日发(作者:)

去除/恢复桌面图标的盾牌、箭头

目录

去除/恢复桌面图标的盾牌、箭头 ......................................................................................................... 1

去电脑桌面图标的盾牌: ...................................................................................................................... 1

去电脑桌面图标的快捷方式箭头: ...................................................................................................... 1

恢复盾牌: .............................................................................................................................................. 2

恢复快捷方式箭头: .............................................................................................................................. 2

将需要的代码粘贴至新建的文本文件里,然后把.txt后缀改为.bat,最后右键管理员运行

去电脑桌面图标的盾牌:

reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell

Icons" /v 77 /d "%systemroot%,197" /t reg_sz /f

taskkill /f /im

attrib -s -r -h "%userprofile%"

del "%userprofile%" /f /q

start explorer

+

去电脑桌面图标的快捷方式箭头:

reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell

Icons" /v 29 /d "%systemroot%,197" /t reg_sz /f

taskkill /f /im

attrib -s -r -h "%userprofile%"

del "%userprofile%" /f /q

start explorer

pause

恢复盾牌:

reg delete

"HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons"

/v 77 /f

taskkill /f /im

attrib -s -r -h "%userprofile%"

del "%userprofile%" /f /q

start explorer

+

恢复快捷方式箭头:

reg

"HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell

/v 29 /f

taskkill /f /im

attrib -s -r -h "%userprofile%"

del "%userprofile%" /f /q

start explorer

pause

delete

Icons"