It is often recommended to stop the Symantec Endpoint Protection Manager service via services.msc before running the script.