Cloning a machine with Sophos installed

Reading Time: < 1 minute

Before cloning a machine or uploading an image with Sophos installed to WDS (Windows Deployment Services) carry out the below tasks so you don’t experience issues later.

1) Stop the following services; Sophos Message Router, Sophos Agent and Sophos AutoUpdate Service.
2) Remove keys named pkc and pkp from the below locations:

[HKEY_LOCAL_MACHINE\Software\Sophos\Messaging System\Router\Private]
[HKEY_LOCAL_MACHINE\Software\Sophos\Remote Management

3) Delete the following files; status.xml and machine.xml at the below locations on the base image machine:

C:\Program Files\Sophos\AutoUpdate\Data\Status\
C:\Documents and Settings\All Users\Application Data\Sophos\Sophos Anti-Virus\Config\

4) If the SID value has been changed, open a command prompt and type the following command:

MsiExec.exe /i “c:\Program Files\Sophos\AutoUpdate\cache\savxp\Sophos Anti-Virus.msi” REINSTALL=ALL REINSTALLMODE=voums UPDATEDRIVERS=0 /l*v c:\msi.log /qb

On Windows Vista the command is:

MsiExec.exe /i “c:\ProgramData\Sophos\AutoUpdate\cache\savxp\Sophos Anti-Virus.msi” REINSTALL=ALL REINSTALLMODE=voums UPDATEDRIVERS=0 /l*v c:\msi.log /qb

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.