Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Silent uninstall of central?

Could someone please point me to a current and working article on how to do an uninstall of Central please?

The batch files that show up on Google appear to be a year or so old and most of the uninstall strings just seem to whizz by so I presume there's something newer and better available?

Needs to be scriptable across hundreds of machines via GPO, let's assume tamper is off.

Preferably something that can cope with the utter joy that is Sophos when it simply says "The MSI terminated unexpectedly".



This thread was automatically locked due to age.
Parents
  • Open up PowerShell and type 

    Get-ChildItem HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* |
    Get-ItemProperty| Select-Object DisplayName, UninstallString | Where-Object {$_.displayname-like "Sophos*"} | Out-file C:\Users\$Env:USERNAME\Desktop\SophosUninstall.txt
    This will give you all the uninstall strings for Sophos currently on your computer and save them in a text file call SophosUninstall on your desktop.
     
    You can use these in a script, most of them are MSI but the exe's might have a quiet parameter.
    Could try /s /S /q /Q, one of those.
     
     
Reply
  • Open up PowerShell and type 

    Get-ChildItem HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* |
    Get-ItemProperty| Select-Object DisplayName, UninstallString | Where-Object {$_.displayname-like "Sophos*"} | Out-file C:\Users\$Env:USERNAME\Desktop\SophosUninstall.txt
    This will give you all the uninstall strings for Sophos currently on your computer and save them in a text file call SophosUninstall on your desktop.
     
    You can use these in a script, most of them are MSI but the exe's might have a quiet parameter.
    Could try /s /S /q /Q, one of those.
     
     
Children