Error Message: Cannot Delete <Filename>. Access Is Denied. The Source File May Be in Use.

Article translations Article translations
Article ID: 265216
Expand all | Collapse all

Symptoms

When you attempt to delete an image file from the My Pictures folder or from another folder, you may receive the following error message:
Cannot delete Filename. Access is denied. The source file may be in use.

Cause

This behavior can occur if you attempt to delete a large image file while the image is being drawn in the Image Preview window.

Resolution

To work around this issue, wait until the image is drawn in the Image Preview window, or disable Web view. To disable Web view:
  1. On the Tools menu, click Folder Options.
  2. On the General tab, click Use Windows classic folders option.
  3. Click OK.
After you delete the image file, you can re-enable Web view by following the previous steps, but click Enable Web content in folders in step 2.

More information

If Web view is enabled and you open the My Pictures folder or any customized folder that uses the Image Preview template, selected images are displayed in the Image Preview window. While the image is being drawn, a "Generating preview..." message is displayed in the Image Preview window and the file is locked and cannot be deleted.

Properties

Article ID: 265216 - Last Review: June 19, 2014 - Revision: 2.0
Keywords: 
kbenv kberrmsg kbprb KB265216
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com