cancel
Showing results for 
Search instead for 
Did you mean: 
denniz
Level 9
Report Inappropriate Content
Message 1 of 3

McAfee McShield is locking an important file

Deleting a directory with some files in it is not possible becuase McAfee McShield has a file open.

ScreenHunter_ 2012-08-06 09.58.13.jpg

What can i do to fix this? I'm running Epo, and this is on a production machine with multiple running virtual machines, so rebooting is not an option, shutting down McAfee agent/Virusscanner is not allowed....

And what it this about, mcshield is locking files????? That should not happen i think....!!

This is the reason of a huge problem i had with a Microsoft HyperV machine running in Windows Server 2008 R2 SP1. It could not be started after a system failure, and unintended shutdown.

This was the message:

An error occurred while attempting to start the selected virtual machine(s).

‘ServerName’ could not be initialized.

An attempt to initialize VM saved state failed.

‘ServerName’ could not initialize. (Virtual machine ID “Virtual Machine GUID”)

‘ServerName’ could not create or access saved state file E:\Hyper-V\ServerName\Virtual Machine\”Virtual Machine GUID”.vsv.
(Virtual machine ID “Virtual Machine GUID”)

So looking at this error, there was no indication McAfee McShield was the problem. So i've spended an hour to fix this, and after creating a new vm, i wanted to delete the old corrupted directory, but then i did get the error that McAfee McShield caused the problem.

2 Replies
Tristan
Level 15
Report Inappropriate Content
Message 2 of 3

Re: McAfee McShield is locking an important file

Exclusions will probably resolve your problem

http://support.microsoft.com/kb/961804 - for some suggestions from Microsoft

https://community.mcafee.com/message/131115 - The post from user Parachute lists the exclusion they use on thier HyperV cluster.

Basically you know the files are 'safe' as they are specific HyperV files therefore you can exclude them and prevent VSE scanning them.

Reliable Contributor SafeBoot
Reliable Contributor
Report Inappropriate Content
Message 3 of 3

Re: McAfee McShield is locking an important file

moved to VSE forum for better attention.

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • 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