Solved

Excel file locked by System process (PID 4)

Posted on 2010-08-26
3
2,040 Views
Last Modified: 2012-05-10
Over the last couple of days some of our users are reporting file locks in Excel ('This file is in use by xxx') even though no obvious locks are present on the servers.

These locks seem to be the last user of the file (including the poor soul suffering from the cannot open message) and move with the file if renamed in Explorer.  The lock does not move if the file is duplicated using copy/paste though it can then occur on the second time of opening the file.

The file servers are Windows 2003 and Windows 2008R2 and the users could be accessing the files via Citrix (2000 or 2008R2 as the base), T/S to 2008R2 or XP directly from the laptop/desktop

Office is 2000 or 2007 and the files are either XLS or XLSX - none of these are shared workbooks - at least one of these files has never been accessed by Office 2000.

Looking at the files with Unlocker the only other thing that has a lock on these files is a System process called System running under System witha  PID of 4 and ending the lock from this has let the users back into the files fine.

I think the lock name reporting the last user in Excel is valid as we can track the lock between users if we open/close the file under controlled conditions but it seems the 'System' process has the actual lock.

Note not all files are doing this - not even in the same folders

To date no one else has reported Word or Powerpoint files suffering.
0
Comment
Question by:acstit
3 Comments
 
LVL 12

Accepted Solution

by:
Daniel Borger earned 500 total points
Comment Utility
Have you tried disabling oplocks? http://support.microsoft.com/kb/812937
Also I have seen same situation with Mcafee virus software.
https://kc.mcafee.com/corporate/index?page=content&id=KB61144
0
 
LVL 1

Author Comment

by:acstit
Comment Utility
I have been caught before with oplocks a few years ago - totally forgot about that so I'll give that a go over the weekend if possible (unsure of downtime at this moment).

We use Trend inhouse due to the problems Mcafee caused me :-)


0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now