Last active
November 1, 2024 05:30
-
-
Save rainbowflesh/1c1b42024c6545f2b065da2ddcc0addd to your computer and use it in GitHub Desktop.
Kill M$ OneDrive Sh*t self propagating process FileCoAuth.exe
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
| $processes = Get-Process -Name 'FileCoAuth' -ErrorAction SilentlyContinue | |
| if ($processes) { | |
| foreach ($process in $processes) { | |
| try { | |
| Stop-Process -Id $process.Id -Force | |
| Write-Host "Stopped process: $($process.Name) with ID: $($process.Id)" | |
| } | |
| catch { | |
| Write-Host "Failed to stop process: $($process.Name) with ID: $($process.Id). Error: $_" | |
| } | |
| } | |
| } | |
| else { | |
| Write-Host "No processes named 'FileCoAuth.exe' were found." | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment