Skip to content

Instantly share code, notes, and snippets.

@dim5
dim5 / remove_uninst_icons.ps1
Last active October 26, 2019 21:41
Powershell script to remove uninstall icons from the start menu - improving search results
# This little snippet removes uninstall icons from the start menu - improving your search results
Get-ChildItem "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" -Recurse -Filter *uninstall*.lnk |
ForEach-Object {
Remove-Item $_.FullName
}
# You may run it once, or schedule a task for this (with an action like this:
# powershell.exe -file "this file's location" -WindowStyle Hidden -NoProfile
# )