Uninstall Microsoft Security Essentials via script

16 05 2011

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).


Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.