« Regular expressions considered inexpressive?Knocking on wood »

McAfee VirusScan and the Startup folder

21/02/05

Permalink 07:50:03 pm
Categories: General, Programming, Software

McAfee VirusScan and the Startup folder

I was just writing a utility assembly for the startup handling of my applications. That thing is called ....Startup.dll, which kind of made sense to me and resides within a folder called Startup in my source code hierarchy. No problem that far. Things started to behave weirdly when I created a small test app, a separate project in a subfolder of the Startup folder. Suddenly I got an error from Visual Studio: CS0016, ... can't write to file ...\test.startup.exe: access denied.

Usually this kind of problem has something to do with the funny methods that VS uses to access IntelliSense information for the IDE. That's been a known problem in VS.NET 2003 for a long time and although I was using v2005, I thought maybe it had to do with that. Restarted, looked around... no change. I tried to create another project in another place and found out bit by bit that actually the path where the project was stored was the issue here.

To make a long story short: I found that McAfee VirusScan was the source of the problem. I'm using the Enterprise 8 version, no idea about others. That thing has a feature called "Access protection", which performs some port blocking and others functions. Under the option name Prevent access to suspicious startup items (.exe) it implements a protection for the Startup folder... but not only for the Startup folder, but for all folders that are called Startup. Wow.

By configuring the access protection via the VirusScan Console, it's possible to switch that option off and everything's back to normal. Now back to my startup utility :-)

1 comment

Comment from: Warren [Visitor] Email
WarrenThanks, my colleague has spent 1.5 days trawling the internet and such like trying to solve this issue. All we did to test this was to disable McAcfee and voila the website was built.
12/12/07 @ 11:23

Leave a comment


Your email address will not be revealed on this site.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)
Please complete the song title below. Hint: enter 's', 'a', 't', 'i', 's', 'f', 'a', 'c', 't', 'i', 'o', 'n'
antispam test

Enter your email address:

Search

Oliver
MVP logo
May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31