Showing results for 
Search instead for 
Did you mean: 
Level 7
Report Inappropriate Content
Message 1 of 1

The process cannot access the file because it is being used by another process

I am getting this message from a software development IDE (Arduino), when I try to compile. If I stop real time scanning, I have no problem. The IDE puts the file in a temporary folder, while compiling. The first time I compile is OK. But following tries will not work, I get the error message 'The process cannot access the file because it is being used by another process'


I posted this 3 weeks ago and after a week got the answer:

Please follow the article How to exclude files from VirusScan scanning instead of turning off the Realtime scanning everytime.


This was no help, so I answered back:

My problem is a temporary file with different names for every build (new build number is part of the name), that the development environment creates in a temp folder. The temp folder is the same every time. I can not exclude a folder.

I never got an answer. So now I try again.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community