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

Uninstall Sophos 10.8 via script for all workstations

Dears,

we are trying to uninstall the Sophos 10.8 form all workstations. Is there any script that we can run. Please share it 

thanks in advance 



This thread was automatically locked due to age.
Parents
  • I assume you are trying to remove the older on-premise version given the version you mention?

    Are you migrating from SEC managed on-prem to Sophos Central?

    Can you run the following PS on a computer to see what's installed? Maybe paste the result.  Thanks

    $data=@()
    'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*',
    'HKLM:\SOFTWARE\Wow6432node\Microsoft\Windows\CurrentVersion\Uninstall\*' | %{
    foreach ($Product in (Get-ItemProperty $_)) {
    if ($Product.Publisher -match "Sophos"){
    $data += [PSCustomObject]@{
    DisplayName = $product.DisplayName
    Version = $Product.DisplayVersion
    UninstallString = $product.uninstallstring
    }}}};$data | ogv

Reply
  • I assume you are trying to remove the older on-premise version given the version you mention?

    Are you migrating from SEC managed on-prem to Sophos Central?

    Can you run the following PS on a computer to see what's installed? Maybe paste the result.  Thanks

    $data=@()
    'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*',
    'HKLM:\SOFTWARE\Wow6432node\Microsoft\Windows\CurrentVersion\Uninstall\*' | %{
    foreach ($Product in (Get-ItemProperty $_)) {
    if ($Product.Publisher -match "Sophos"){
    $data += [PSCustomObject]@{
    DisplayName = $product.DisplayName
    Version = $Product.DisplayVersion
    UninstallString = $product.uninstallstring
    }}}};$data | ogv

Children
No Data