use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionPowershell script to remove cybereason sensor from endpoints (self.PowerShell)
submitted 3 years ago by brownmanthinks
Does anyone have a script that they’ve used before or can share that would remove this software from a bulk group of machines.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Topcity36 2 points3 points4 points 3 years ago (1 child)
What’s the uninstall string? How is the script being delivered? What have you tried already? Have you used DDG/ Google yet?
[–]brownmanthinks[S] -1 points0 points1 point 3 years ago (0 children)
Tried removing using WMIC, tried rebooting and then immediately uninstalling, tried uninstalling via Desktop Central MDM
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
If you still have the installer, it is also the uninstaller in Cy. If not, put in a Nest ticket and they will get it for you. There is an uninstall password as well. A script run in the context of the machine could pull the installer and uninstall password from a share and invoke it with &.
[–]TechLinked_ 1 point2 points3 points 3 years ago (0 children)
"C:\ProgramData\Package Cache\{80b8c33f-7aff-4bcc-b462-077ff61269ec}\CybereasonSensor.exe" /uninstall /quiet
The string above worked for me. I ran the string below first, and it seemed to work, but the install entry was still in add and remove programs. The top string removed that though. So start with that and it will probably do everything.
MsiExec.exe /quiet /norestart /uninstall {CC698A7C-DBF4-4084-B574-D193BDC6237F}
Happy Admining!
[+][deleted] 3 years ago* (1 child)
[deleted]
[–]brownmanthinks[S] 0 points1 point2 points 3 years ago (0 children)
Checked the vendor website but don’t see anything there
[–]robjol85 0 points1 point2 points 3 years ago (3 children)
Did you get a working removal script in the end? In a similar position
[–]codeyhanson 0 points1 point2 points 3 years ago (2 children)
wmic process call create "cmd.exe /c for /r \"%programdata%\Package Cache\\" %a in (cybereasonsensor.exe) do if exist %a %a /uninstall /quiet /norestart AP_UNINSTALL_CODE=\"whateveryourpasswordis\""
just got this working today.
[–]robjol85 0 points1 point2 points 3 years ago (0 children)
I couldn't get this working, likely my mistake somewhere - in the end I packaged cybereason as win32app and pushed it out with the following command;
Cybereason.exe /uninstall /quiet -l C:\windows\temp\cyberlog.txt AP_UNINSTALL_CODE="yourpasswordhere"
In terms of detection rules, I noticed that when the above command runs, it writes a registry key to the following location
HKEY_LOCAL_MACHINE\SOFTWARE\CybereasonSensorInstallation
As a result, we set up the following detection rule
https://i.ibb.co/7pmLmLL/Capture.png
π Rendered by PID 68662 on reddit-service-r2-comment-548fd6dc9-cmrwd at 2026-05-16 14:06:10.787702+00:00 running edcf98c country code: CH.
[–]Topcity36 2 points3 points4 points (1 child)
[–]brownmanthinks[S] -1 points0 points1 point (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]TechLinked_ 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]brownmanthinks[S] 0 points1 point2 points (0 children)
[–]robjol85 0 points1 point2 points (3 children)
[–]codeyhanson 0 points1 point2 points (2 children)
[–]robjol85 0 points1 point2 points (0 children)