Thomas’ Developer Blog

July 23, 2008

Allow programs at start up on Vista (Prevent Windows Defender from Blocking)

Filed under: Server — Tags: , , , , , , , — sanzon @ 10:06 am

Yes it’s been ages since I’ve updated. Anyway I came across a very annoying part of window’s defender. Now this can be a problem with anyone who uses any startup program that defender blocks. Yes you can disable defender, but honestly I’d prefer to keep security if i can. Helps a lot with a server. lol

Anyway the solution requires some minor “hacking.” I don’t really like to call it that since you’re just using what you have free access to anyway. 

To begin you have to start by removing that program from start up.

1) Run > msconfig
2) Click the Startup Tab
3) Scroll down until you find that pesky program giving you issues
4) Note the location and see if it is HKLM or HKCU

Open up regedit
1) Run > regedit
2) If it is HKLM go to HKey_Local_Machine otherwise it should be HKey_Current_User
3) Go to HKLM/HKCU > Software > Windows > Current Version > Run
4) Find that pesky program, right click, and delete that string value (the ab icon thing)

After that you need to go to task scheduler
1) go to: Start > Program Files > Accessories > System Tools > Task Scheduler
2) Under actions context at the top click “create task…”

Under create task
1) Give it a name (I choose the name of the program
2) Make sure you select run only when user is logged on
3) Check “Run with highest privileges
4) Go to the triggers tab
5) Click New
6) From the drop down select at log on
7) Make sure everything is unchecked EXCEPT “enabled” and click OK
8 ) Click Actions tab
9) Click New
10) Select Start a Program from the dropdownlist
11) Browse for the program you want to start
12) Click OK
13) Click Settings Tab
14) Check Allow task to be run on demand
15) Check Run task asap after a scheduled start is missed
16) Uncheck “Stop the task if it runs longer than:”
17) Uncheck “If the task is not scheduled to run again…”  (note that you can check this if you want, but only if you don’t plan to run the program again after a set time)
18 ) Make sure “Do not start a new instance” is selected from the drop down list at the bottom
19) Click OK
20) Restart and it should be working just fine



  1. so that is the only way…
    vista is good… bt it is so microsoftish to release a good prodct with such utterly stupid limitations… never mind clicking through 3 confirmation boxes for some operations…

    Comment by rolf — December 1, 2008 @ 9:38 pm

  2. In windows 7 I believe they planning on removing some of these annoyances, but still have the security.

    Besides the startup issue, I haven’t had much problem clicking the confirmations here and there.

    Comment by sanzon — December 1, 2008 @ 11:39 pm

  3. thank you for this post!

    your detailed recipe for fixing program loading / permission problems worked well.

    i followed this outline (except the regedit part) and it worked perfect for me on 3 programs that vista was choking on at startup.

    i couldn’t really understand the regedit part, so left that out and it seemed to work without it.

    one question: is there a way to have a program open minimized into the system tray using the task scheduler?

    thank you.

    Comment by john k — April 1, 2009 @ 3:04 pm

  4. Thanks! That was really annoying. I run PeerBlock at startup, now without Microsoft demanding two manual confirmations first.

    Comment by CounterClockWise — November 15, 2009 @ 5:45 pm

  5. You have done it again! Superb read.

    Comment by Major Ford — May 28, 2010 @ 3:30 pm

  6. […] I log in to my Windows desktop, but with Admin privileges.   A little Google searching turned up this procedure for Windows Vista.  I assume it works the same or very similarly for Windows 7.  Because it is a […]

    Pingback by Auxiliary Memory» Blog Archive » Allow program to run with Admin privileges at startup — July 7, 2010 @ 6:30 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

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

Google photo

You are commenting using your Google 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

Create a free website or blog at

%d bloggers like this: