Sophos agent restart/reload policies
Posted: 2022-Feb-23, 5:38 pm
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'.
https://community.sophos.com/on-premise ... olicy-task
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