Drawing Blanks

Premature Optimization is a Prerequisite for Success

Visual Studio 2008 and Vista UAC (and nasty viruses)

leave a comment »

I used to turn off UAC in Vista, until I got a terrible malware problem and realized that UAC would have protected me.

So now I work with UAC On and it’s not that annoying after all. The only issue is that Visual Studio 2008 needs to run as Administrator in order to access local websites. Here is a little tip on how to make VS2008 always run as Administrator. You need to set the “Run as Administrator” flag (under Properties/Compatibility) on these 2 exes:

Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe

Program Files\Common Files\microsoft shared\MSEnv\VSLauncher.exe

Another bit of advice on how to avoid malware infections: Never turn off UAC. If you have Java, make sure you have the latest version of JRE and uninstall all older versions. I got infected because of a JRE vulnerability. Don’t rely just on your antivirus program. No antivirus (no matter free or commercial) can prevent/remove all existing (and future) kinds of infection. Also, make sure your system has a Recovery Partition (or you have a Windows installation media). That will allow you to run System Restore from a clean boot.


Written by bbzippo

04/14/2010 at 6:11 pm

Posted in Uncategorized

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: