Delete start menu shortcuts containing "uninstall"
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will delete any start menu shortcuts containing "uninstall"

Users without Admin rights cannot delete these shortcuts, and they cannot actually uninstall most programs either. Programs can be uninstalled through the "Add/Remove Programs" UI instead of using these shortcuts.

To see what this task will delete, see the property "All Users Start Menu "Uninstall" shortcuts" in the analysis "All Users - Files & Shortcuts - Desktop & Start Menu - Windows"

 


Property Details

ID3657
StatusAlpha - Code that was just developed
TitleDelete start menu shortcuts containing "uninstall"
DomainBESC
Download Size0
SourceInternal
Source IDjgs194
Source Release Date11/27/2013 12:00:00 AM
Added by on 11/27/2013 9:44:50 AM
Last Modified by on 11/27/2013 9:44:50 AM
Counters 2837 Views / 9 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1116 fixlets and 524 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists descendants whose(name of it as lowercase ends with ".lnk" AND name of it as lowercase contains "uninstall") of folder ((it as string) of value "Common Start Menu" of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of native registry)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
dos del {("%22" & it & "%22") of concatenation "%22;%22" of pathnames of descendants whose(name of it as lowercase ends with ".lnk" AND name of it as lowercase contains "uninstall") of folder ((it as string) of value "Common Start Menu" of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of native registry)}
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!