Showing results for 
Show  only  | Search instead for 
Did you mean: 

Files locked by VirusScan...

Hi All...

I have a client who is having problems with VirusScan...

She is running ePO & VS 8.0 and Server2003

They have shared folders on servers which there staff access but for some reason
VS is locking these files , they cannot be edited or renamed.

In the logs you can see the file was being scanned!

She has unticked scan network drives , as well as ensured Leave Shares with their existing access rights is selected.

ANY ideas?

Thanks in advance...
5 Replies
Level 7
Report Inappropriate Content
Message 2 of 6

RE: Files locked by VirusScan...

I've experienced this issue also and would appreciate any advise on it.
Level 7
Report Inappropriate Content
Message 3 of 6

Microsoft Office hosted files remain locked until the server is restarted


I have this problem and it can be resolve with Document ID n°614778 . A hotfix was in this KB

Microsoft Office hosted files remain locked until the server is restarted


McAfee VirusScan Enterprise 8.0, Patch 15 + HotFix 311933
McAfee VirusScan Enterprise 8.0, Patch 16
Microsoft Office Suite
Microsoft Windows (all supported versions, see 613414)


Microsoft Office temporary files are not deleted.
When using Microsoft Excel or Microsoft Word, it is not possible to save, rename or delete files.
Microsoft Office files are being locked.
Locked files are only released after a computer restart.
The Microsoft Office application displays the following error:

Microsoft Excel
Save not completed. File rename failed, Retry?


Clicking Cancel generates the following message:

Microsoft Excel
Your changes could not be saved to 'Tape logs v1.5.xls', but were saved to a temporary document named <File_Name>. Close the existing document, then open the temporary document and save it under a new name.


Change or Cause

The file system filter driver in this release, in conjunction with the opportunistic locking mechanism (enabled in Microsoft Windows operating systems by default), can cause server-hosted files to remain locked until the server is restarted.


Solution 1 - Download and install HotFix 375377

This issue is resolved in HotFix 375377 which is attached at the bottom of this article.

Solution 2 - Upgrade to VirusScan Enterprise 8.5i

Upgrade to VirusScan Enterprise 8.5i with a valid GRANT number. See KB41962 for general information on downloading software from McAfee.

NOTE: McAfee strongly advises upgrading to VSE 8.5i, which offers additional security features in addition to fixing this issue.

Solution 3 - Download the reposted VirusScan 8.0i package

The VirusScan Enterprise 8.0i package with Patch 16 and the 5200 engine has been posted to the download site.
HotFix 375377 is also included in the repost package as a separate install package.

Follow these steps to download the reposted VirusScan 8.0i package:

Go to the following website:
Log on using a valid grant number.
Locate the McAfee VirusScan Security section.
Click View available downloads.
Click VirusScan Enterprise v8.0i.
Click I Agree to accept the license agreement.
Click and save it to the desired location.


Disable Microsoft Opportunistic Locking (OpLock):

Disable OpLocks, as described in the Microsoft KnowledgeBase article:



RE: Microsoft Office hosted files remain locked until the server is restarted

Brilliant Thanks
Level 7
Report Inappropriate Content
Message 5 of 6

RE: Microsoft Office hosted files remain locked until the server is restarted

No Matter
Level 9
Report Inappropriate Content
Message 6 of 6

Similar problem

Sorry about dragging this back up. I'm having a similar issue on my network. Server 2003 R2, ePO 4.0.0, VS 8.7.0i. The only time I see the issue though is when I use the 'Convert' function in MS Excel 2007 on any of my client PCs to convert an older xls file to the current file type .xlsx When I do so McAfee on the file server will lock the temp file ~$filename.xlsx until I stop the service McShield on that server. As soon as I stop McShield all of the locked files go away.

So, a wild guess is that since I am on more recent versions of ePO and VS, the only solution I have from the options you listed is to disable OpLocks maybe?

Thanks, and sorry for the hijack.
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

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