To uninstall MSSE via a script, save the following into a text file, and change the extension to ‘.vbs’:
On Error Resume Next
Dim objShell
Set objShell = WScript.CreateObject (“WScript.shell”)
objShell.run “‘”%ProgramFiles%/Microsoft Security Client/setup.exe”‘” & “/x /s”
Set objShell = Nothing
Notes:
1. this is for v2 of MSSE – for installations of v1, replace ‘client’ with ‘essentials’.
2. this is for the 32bit version of Windows.
3. the user must have administrative rights on the machine .
4. works fine as a GPO for bulk changes, so long as it is placed under the computer config section (so the permissions above are applied).