Make Managed

This script is for when an existing system has had a SEPM installed and you want to update PCs to this new manager.

There are bound to be other ways to do this, but this is simple and easy and has worked for me.


@echo off

echo stopping Symantec End point
"c:\program files\symantec\symantec endpoint protection\smc.exe" -stop

echo deleting old link
dir "C:\Program Files\Symantec\Symantec Endpoint Protection\SyLink.xml"
del "C:\Program Files\Symantec\Symantec Endpoint Protection\SyLink.xml"
copy \\server\utilities\ai.net.nz\symantec\SyLink.xml "C:\Program Files\Symantec\Symantec Endpoint Protection\SyLink.xml"
dir "C:\Program Files\Symantec\Symantec Endpoint Protection\SyLink.xml"

echo New link copied

echo starting Symantec End point
"c:\program files\symantec\symantec endpoint protection\smc.exe" -start
pause