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

Sophos removal script?

Hi,

I'm rolling out ESC 9.5 on our network, but I've found a few machines on a remote site running 7.6 - I've tried to upgrade them and they fail, and attempting to uninstall Sophos doesn't work. I recall having a Sophos-supplied removal script in the past, does anyone have a link to the most recent version of this so I can completely remove all Sophos-related stuff from these PCs and roll out 9.5 to them?

Cheers

JD

:4729


This thread was automatically locked due to age.
  • Hello JD,

    attempting to uninstall Sophos doesn't work

    That's probably why they fail to upgrade. The script is only available from Support (as a backlevel version could do more harm) and it might also fail as it performs a "regular" uninstall only. Any details as to doesn't work?

    Usually these steps are also suggested:
    Re-register msxml4.dll (Click Start|Run and type %windir%\System32\regsvr32.exe msxml4.dll then press Enter)
    Re-register msiexec (MSIEXEC /UNREGISTER followed by MSIEXEC /REGSERVER)
    Upgrade to MSI 4.5

    Christian

    :4731
  • Hi,

    Doesn't work as in reports back to Enterprise Console "Uninstallation of Sophos RMS failed" despite the fact that it isn't there. Come on guys, just give me a link to the cleanup tool, I don't need my hand holding :)

    Cheers

    JD

    :4733
  • Just read my reply there, and my apologies if it seems a little terse - I have a load of machines to upgrade and really need to start making some headway on it, so my apologies if I came across as a little arrogant :)

    JD

    :4734
  • Hello JD,

    no offence taken :smileyhappy:. Now I (and as far as I know others as well) have only received it by mail (and been told ... you know) so there's no link.

    Incidentally I just this morning I have been asked for assistance in a case where Sophos was somehow crippled and SAV couldn't be uninstalled but install/upgrade failed as well. Your case looks similar - somehow the installer thinks that RMS is installed when it isn't. Now in cases like this I tried the Windows Installer Cleanup utility but see this article, it has been withdrawn. Assuming one has this program one would remove the Sophos components from the Installer database (the products are still installed) and attempt a new install.

    Recently I had another case where the SAV9.5 upgrade has been rudely interrupted. When the machine reported an error the next day (which probably would have resolved itself) "someone" immediately tried to fix it using tools for the SAV9.0 version and then the SAV uninstall/install became stuck. Using simply the 9.5 install resolved the issue.  

    HTH

    Christian

    :4737
  • Oooh, I like that idea :)  Not entirely sure why Microsoft withdrew that utility, but I'll give it a go. The problem I have is that our infrastructure is a bit unusual in that we merged with another company and we now have 3 domains on the go, coupled with 2 installs of Sophos.... I'm trying to get everyone migrated on to one, but when I have a million and one other things to do at the same time, Sophos tends to take a bit of a back seat :)

    Thanks for your help.

    JD

    :4739
  • Oh yes!  That utility is a Godsend!  Used it to clean up a couple of installations that I spent ages on trying to sort, worked like a charm and Sophos 9.5 installed as if it was a fresh build. Highly recommended to all!

    JD

    :4779
  • We've experienced upgrade and removal problems with RMS and other components in the past, and the Windows Installer Clean-up utility ('msicuu2.exe') proves to be a very valuable tool.

    However it's not the golden bullet and we've had to result to registry hacking, process killing, reboots and emptying temp folders before re-installs.

    It's a shame that there are no official removal tools for 9.x

    :4795
  • I have the script for version 5.x and 6.x.  It still seems to work pretty well on the newer versions.

    :4826
  • I was told if i needed it theres a dirty script avalible from support.

    Just ring support and ask them to send you remsav.bat. Its quite dirty but apparently it works!!

    (although you will need admin rights and tamper protection will obviously need disabling) 

    Cheers

    Dave J

    :4834
  • Script I wrote. Save as a batch file and have Active Directory run it.

    REM --- Removes Sophos Desktop Software

    @ECHO OFF

    REM --- Check for an existing installation of Sophos Desktop Software

    if not exist "%programfiles%\Sophos\" goto _End

    REM --- Deploy to Windows 2000/XP/2003

    MsiExec /X{15C418EB-7675-42be-B2B3-281952DA014D} /Q /NORESTART

    MsiExec /X{FED1005D-CBC8-45D5-A288-FFC7BB304121} /Q /NORESTART

    MsiExec /X{9ACB414D-9347-40B6-A453-5EFB2DB59DFA} /Q /NORESTART

    REM --- End of the script

    :_End

    exit

    :16979