<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Definitive 'Locked File' Post (updated 6/28/2012)</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx</link><description>Any veteran of Excel has probably seen this error dialog: 
 
 And dealing with this can be a major pain. What makes resolving this particular problem difficult is that there are multiple causes for the problem, and thus multiple solutions. This article</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: The Definitive 'Locked File' Post (updated 6/28/2012)</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx#3558165</link><pubDate>Tue, 12 Mar 2013 19:10:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3558165</guid><dc:creator>Also Tired</dc:creator><description>&lt;p&gt;I appreciate the time and work various people have invested in trying to find solutions for this problem, but Tired Support Guy is right on. &amp;nbsp;With &amp;nbsp;all the people at Microsoft and resources available, why is it &amp;#39;they&amp;#39; have been unable to fix this? &amp;nbsp;This has been a problem costing a lot of hours and frustration and lost productivity to customers for at least 5 years and multiple versions of both Windows OS and Excel. &amp;nbsp;After all, did they not write the code to begin with? &amp;nbsp;Is the new mantra just to see how difficult they can make the software to use? &amp;nbsp;I&amp;#39;d let it go, if I could find real answers...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3558165" width="1" height="1"&gt;</description></item><item><title>re: The Definitive 'Locked File' Post (updated 6/28/2012)</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx#3530203</link><pubDate>Fri, 02 Nov 2012 02:03:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3530203</guid><dc:creator>Tired support guy</dc:creator><description>&lt;p&gt;Thanks for at least tackling and providing some insight. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sad though that this is another example of a tech going all technical on why the problem exists as if that makes everything OK.&lt;/p&gt;
&lt;p&gt;This is broke and needs fixing. &amp;nbsp;Customers don&amp;#39;t care why the problem exists they just want it to go away.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3530203" width="1" height="1"&gt;</description></item><item><title>re: The Definitive 'Locked File' Post (updated 6/28/2012)</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx#3527586</link><pubDate>Fri, 19 Oct 2012 14:40:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3527586</guid><dc:creator>Hagalaz70</dc:creator><description>&lt;p&gt;To put it in a short way: There is no complete solution for this problem. We should let lose the idea that we will be able to completely get rid of this notification.&lt;/p&gt;
&lt;p&gt;I will try to explain why.&lt;/p&gt;
&lt;p&gt;If you take a look into this blog, you will see that we have a lot of possible causes and in the author provides you for all of the causes a solution or workaround.&lt;/p&gt;
&lt;p&gt;But since the file can be locked by so many different processes, we will never be able to solve the locking issue a 100%.&lt;/p&gt;
&lt;p&gt;For example, if you disable the antivirus software and it seems that this solves you issue, doesn’t mean, that a certain moment the error message (or is it a notification?) will appear again. Simply, because your file is locked by another process.&lt;/p&gt;
&lt;p&gt;What we are trying to achieve by following the action plan in the blog is to minimize the possibility of getting this notification “File is locked”.&lt;/p&gt;
&lt;p&gt;Why do we get the message in the first place?&lt;/p&gt;
&lt;p&gt;Whenever you are opening an Excel file, Windows will grant a handle for the file to the Excel.exe. While you are working, there a number of processes that are checking the file from time to time. This can be the antivirus software or this can be a synchronization process of the operating system (e.g. backup or offline folder synchronization), which will make sure that all you edited data will be correctly saved, virus checked, or backed up later. These other processes are notified by Windows when there are changes to the file and they then attempt to get a handle to the file themselves. At times when Excel temporarily unlocks the file for a few milliseconds, which can for example happen when the file is being saved, other processes might get a chance to grab the file lock and hold it locked even though Excel tries to get hold of it quickly again, resulting in a sharing violation that is then presented to the user as the described alert, if the sharing violation condition cannot be immediately resolved after a few retries. This can also be caused by the Preview pane in Windows explorer, since the preview in the explorer is actually starting an instance of Excel.exe, which means the file is already opened for generating the preview picture while the full instance of Excel is trying to open the file for editing.&lt;/p&gt;
&lt;p&gt;The only potential solution to this problem would be to stop and somehow prevent other background processes from getting a handle lock on a file if the user is about to open it for editing, but this approach would require fundamental new features in the operating system and at the same time changes in the behavior of the background process applications and services. For the moment being, there is no way to avoid such situations completely, and the suggestions and the action plan in the blog can help to minimize the likelihood of such an unwanted event, but the users also need to be aware that this can still happen from time to time and know how to resolve it by manually retrying the operation.&lt;/p&gt;
&lt;p&gt;I hope that clarifies a bit more the case and sets the expectations a bit better.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3527586" width="1" height="1"&gt;</description></item><item><title>re: The Definitive 'Locked File' Post (updated 6/28/2012)</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx#3521137</link><pubDate>Wed, 19 Sep 2012 18:28:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3521137</guid><dc:creator>Naeem</dc:creator><description>&lt;p&gt;I tried everything mentioned on this article, but the issue still there. I have server 2008 R2 SP1 server and windows 7 client. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3521137" width="1" height="1"&gt;</description></item><item><title>re: The Definitive 'Locked File' Post (updated 6/28/2012)</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx#3518725</link><pubDate>Fri, 07 Sep 2012 11:29:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3518725</guid><dc:creator>Knuckle-Dragger</dc:creator><description>&lt;p&gt;Thanks for the post, just found this.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3518725" width="1" height="1"&gt;</description></item><item><title>re: The Definitive 'Locked File' Post</title><link>http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx#3497998</link><pubDate>Tue, 15 May 2012 07:19:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3497998</guid><dc:creator>Mickyj.com</dc:creator><description>&lt;p&gt;Very thorough. Nice !&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3497998" width="1" height="1"&gt;</description></item></channel></rss>