Sophos agent restart/reload policies

Microsoft Windows
Post Reply
User avatar
Simon Sheppard
Posts: 192
Joined: 2021-Jul-10, 7:46 pm

Sophos agent restart/reload policies

Post by Simon Sheppard »

Just dropping this here in case it is useful to someone.

If you have a Sophos client that is failing to pick up policy changes, this will give it a kick. After restarting it may take 10 minutes or so for the new policy to refresh fully.

It has to be run 'As Admin'.

Code: Select all

@echo off
:: run this as administrator
cd "C:\ProgramData\Sophos\Remote Management System\3\Agent\AdapterStorage\SAV\"
if %errorlevel% NEQ 0 goto:eof
del * /q
net stop "Sophos Agent"
net start "Sophos Agent ... olicy-task
Post Reply