Hide Trend Micro OfficeScan Agent from Program&Features Menu
Log In or Register to download the BES file, and more.

0 Votes

Description

Hide 'Trend Micro OfficeScan Agent' from Program&Features Menu after installation

https://msdn.microsoft.com/en-us/library/aa367750(VS.85).aspx


Property Details

ID13985
StatusQA - Ready for Production Level Testing
TitleHide Trend Micro OfficeScan Agent from Program&Features Menu
Source Release Date4/20/2016 7:02:18 AM
KeywordsHide Trend Micro OfficeScan Agent from Program&Features Menu
Is TaskTrue
Added by on 4/20/2016 7:02:18 AM
Last Modified by on 4/20/2016 7:03:07 AM
Counters 1202 Views / 5 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 1117 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
exist keys whose (exist value "DisplayName" whose (it as string = "Trend Micro OfficeScan Agent") of it and not exist value "SystemComponent" whose (it = 1) of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
delete __appendfile
appendfile {concatenation "%0d%0a" of ("reg add %22" & it as string & "%22 /v %22SystemComponent%22 /t REG_DWORD /d %221%22 /f") of pathnames of keys whose (exist value "DisplayName" whose (it as string = "Trend Micro OfficeScan Agent") of it and not exist value "SystemComponent" whose (it = 1) of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry}
delete SystemComponent.bat
move __appendfile SystemComponent.bat
waithidden SystemComponent.bat
delete SystemComponent.bat
Success Criteria

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

Action 2

Action Link Click here to deploy this action.
Script Type URL
https://msdn.microsoft.com/en-us/library/aa367750(VS.85).aspx
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
this would be easier done using the `regset` and/or the `regset64` command instead of a BAT file.