Created
June 5, 2025 22:09
-
-
Save Cierra-Runis/48fb21c35380b6df0f9feb1d9d7fce17 to your computer and use it in GitHub Desktop.
Remove or Customize Windows Shortcut Arrow Icon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!(Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons')) { New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons' -Force } ; New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons' -Name 29 -Value "$env:SystemRoot\System32\imageres.dll,197" -PropertyType String -Force ; Stop-Process -Name explorer -Force ; $f="$env:USERPROFILE\AppData\Local\IconCache.db"; if(Test-Path $f){attrib -s -r -h $f; Remove-Item $f -Force}; Start-Process explorer; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment