Win10 removes the small arrow on the desktop shortcut (turn)

1. Remove the small arrow

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

Create a new text document, paste the above code into the document, and save it. Rename the document, change the suffix to .batand save.

Run the .batfile as an administrator to remove the small arrow on the desktop shortcut.

2. Reply to the small arrow on the desktop

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /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

Usage is the same as above. Note that it is administrator rights.

 

 

Guess you like

Origin www.cnblogs.com/wangbin/p/12682813.html