Sophos AV PVS Preparation Script

In preparation for shutting down PVS in private mode, the following script can be run to generalise the AV software.

===================================================================

net stop “Sophos Agent”
net stop “Sophos Anti-Virus”
net stop “Sophos Anti-Virus status reporter”
net stop “Sophos AutoUpdate Service”
net stop “Sophos Message Router”
net stop “Sophos Web Control Service”
net stop “Sophos Web Intelligence Service”

del C:\ProgramData\Sophos\AutoUpdate\data\machine_ID.txt

reg delete “HKLM\SOFTWARE\Wow6432Node\Sophos\Remote Management System\ManagementAgent\Private” /v pkp /f
reg delete “HKLM\SOFTWARE\Wow6432Node\Sophos\Remote Management System\ManagementAgent\Private” /v pkc /f
reg delete “HKLM\SOFTWARE\Wow6432Node\Sophos\Messaging System\Router\Private” /v pkp /f
reg delete “HKLM\SOFTWARE\Wow6432Node\Sophos\Messaging System\Router\Private” /v pkc /f

=====================================================================

 

NOTE: ensure that Tamper Protection has been DISABLED  prior to running this script otherwise the service will not be stopped and the generalisation will fail.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s