February 11, 2010

Disable Microsoft Security Essential’s SpyNet with AutoIt

Posted in Intermediate at 4:47 pm by gloriouscomputing

My previous AntiVirus was Avira. I really didn’t like the ad it poped-up, so I showed you how to disable it with AutoIt. Well, not disable, but automatically close virtually instantly.

When I switched to Security Essentials, the promise was that this was an AntiVirus that would just work behind the scenes and not get in your way. Well, after getting my full screen game minimized the 3rd time, I decided the SpyNet pop-up’s time was up.

Here’s the Auto-It script to instantly close the PopUp (by hitting Cancel):

Do
WinWait(“Microsoft Security Essentials Sample Submission”)
ControlClick(“Microsoft Security Essentials Sample Submission”, “”, “Button3”)
Until 1=2

WATCH OUT: Do not copy/paste this code. WordPress has replaced the normal quotes with special quotes that AutoIt does not understand. I have linked to the source code (AU3) below.

To automatically say yes to uploading whatever file it wants instead, change the code to say Button2 rather than Button3.

Download: EXE or AU3 (Source Code)

Remember, this program needs to be running in the background for it to disable SpyNet. This program just works. It has no GUI. Set it to run at start up if you want it to keep working after you reboot your PC.

Advertisements

2 Comments »

  1. binet said,

    the script don’t work
    AutoItSetOption ( “TrayIconHide” , 1)
    Do
    WinWait(“Microsoft Security Essentials Sample Submission”)
    ControlClick(“Microsoft Security Essentials Sample Submission”, “”, “Button3″)
    Until 1=2

    error generated

    unable to parse line

    😦

    • gloriouscomputing said,

      Ah, yes. I forgot that WordPress messes up quotes. In the code, you’ll notice that WordPress uses special opening and closing quotes. This is something AutoIt will not understand. To fix the code, you need to replace all special quotes with normal quotes. I will update the post with a link to download the source code.


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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: