In Windows 7 getting error "the action can't be completed because the folder or a file in it is open in another program"

Anonymous
2009-10-26T02:25:38+00:00

I have had this problem with Windows Vista Professional, was advised it would be fixed in Windows 7, have now installed windows 7 and problem still exists.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-12-07T20:23:27+00:00

Hey Everyone, 

We understand this issue is intermittent, I am going to re-post some successful answers in this thread and group them together. This way users having this issue will not have to dig in this thread to find them:

Solution provided by "HowLuckyCanOneGuyBe"

#1 – remove temp files

Start > Type in %temp% > hit enter > Delete all the files in this folder. up to this point it should already work if not try empty your trash bin too. if it is still not work move on to #2.

#2 – stop windows from caching the thumbnails

Click the Start button, click Run, then type in gpedit.msc 

Choose: user config/admin templates/windows components/windows explorer >

look for “turn off the caching of thumbnails in hidden thumbs.db files” >

right click/ edit /choose enable

#1 should already help if not #2 will do.

Another solution provided by "alanomaly"

  1. If you use Outlook and the folder contains any files that came from emails, close Outlook - it might be getting in the way trying to keep a link with the attachment
  2. Empty the recycle bin
  3. Disable folder thumbnails (see sevenforums.com/tutorials/11738-thumbnail-previews-enable-disable.html if you're not sure how)
  4. If nothing else works, install and use Unlocker ( softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml )

       Another solution provided by "Macintrasher"

      Open up Task Manager (ctrl+alt+del) and click on the Processes tab.  Look for 'explorer.exe', select it and end the process.  This will cause your taskbar and desktop to vanish.  Bring up Task Manager again, then click File > New Task (run).  Type explorer.exe and hit enter to restart the service.  It hasn't been a permanent fix, as the files get relocked after a short time, but it'll let you delete/rename/over-write them for a little bit.

      Because this issue is intermittent and because of the age of this thread, to avoid confusion, I am going to ask anyone who has attempted the above steps without success to create a new thread, that way the community can help them out specifically. I posted a link below, I hope this helps everyone. 

         Microsoft Answers Performance New Thread Link

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2009-10-26T23:07:21+00:00

Hi michaelanthonysacco,

Welcome to Microsoft Windows 7 Answers Forum!

We would like to know more information related to this issue

·         What is the action you are trying to perform?

·         What is the extension of the file you are trying to work with?

·         Which version of operating system have you installed on your computer?

 Method 1:

 End the process from task manager and check if that helps, steps to follow

i.                       Press Ctrl + Alt + Delete buttons together and select Task manager

ii.                     End all the process running in the background

iii.                   And then try to sign in

  Method 2:

 Delete all the files under temp folder, steps to follow

i.                       Click on start

ii.                     Type in ‘%temp%’ in the search box

iii.                   Delete all the files in this folder

 Method 3:

 Remove the Temporary internet files and folders, follow the steps listed in the below link:

 How to Delete the Contents of the Temporary Internet Files Folder:

     http://support.microsoft.com/kb/260897

Method 4:

  Boot the computer in clean boot and try to open the program. To help troubleshoot error   messages and other issues, you can start Windows Vista by using a minimal set of drivers and startup programs. This kind of startup is known as a "clean boot." A clean boot helps eliminate software conflicts.

Steps to perform clean boot and check if you have the issue.

i.              Click Start, type msconfig in the Start Search box, and then press ENTER.

If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

ii.             On the General tab, click Selective Startup.

iii.           Under Selective Startup, click to clear the Load Startup Items check box.

iv.            Click the Services tab, click to select the Hide All Microsoft Services check box, and       then click Disable All.

v.              Click OK.

vi.           When you are prompted, click Restart.

vii.          After the computer starts, check whether the problem is resolved.

If the issue is resolved check which third party is causing the problem, referring the link given below: http://support.microsoft.com/kb/929135  

Reset the computer to start as usual

After you have finished troubleshooting, follow these steps to reset the computer to start as usual:

i.              Click Start, type msconfig.exe in the Start Search box, and then press ENTER.

ii.            If you are prompted for an administrator password or for confirmation, type your password, or click Continue.

iii.          On the General tab, click the Normal Startup option, and then click OK.

iv.           When you are prompted to restart the computer, click Restart.

All the best!

Thanks and Regards:

Samhrutha G S - Microsoft Support.

     Visit our Microsoft Answers Feedback Forum and let us know what you think.

Was this answer helpful?

50+ people found this answer helpful.
0 comments No comments

167 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-06-28T14:21:25+00:00

    I believe I have a solution, but I've only tried it when I got the error saying that the file was still open in Windows Explorer.

    Open up Task Manager (ctrl+alt+del) and click on the Processes tab.  Look for 'explorer.exe', select it and end the process.  This will cause your taskbar and desktop to vanish.  Bring up Task Manager again, then click File > New Task (run).  Type explorer.exe and hit enter to restart the service.  It hasn't been a permanent fix, as the files get relocked after a short time, but it'll let you delete/rename/over-write them for a little bit.

    I dunno why no one's willing to admit there's a problem, but for me at least, the problem rested solely on the Windows Explorer service (explorer.exe).  As this is essential for Windows to function I'm not sure how to get around the issue without a permanent fix from Microsoft.

    This is the best I got.  If it's something other than Windows Explorer locking up your files, then you'll have to track it down to your specific software.  Still, I hope this helps people more than what Microsoft's techs have offered.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-06-17T19:54:38+00:00

    Unfortunately that is not a fix for the problem.  It's absurd that you can have an EMPTY directory with the exception of the thumbnail cache, INCLUDING having removed any file that the thumbnail cache might have made a thumbnail for, cause the folder to lock up for minutes.  It's ridiculous, really.  The service should be watching for file removal or folder/file delete processes and immediately release the lock, period.   This is a problem that should have been fixed a long time ago and apparently MS doesn't have the capability or the desire to resolve the problem for customers.  Instead people have to spend hours of their time trying to figure out what is broken in their systems, not knowing (or maybe not even having the capability to know) what the problem is our how to fix it by removing a feature of Windows itself.

    So, to summarize:

    The problem is obvious and MS has demonstrated no desire to fix it.

    The "fix" requires turning off one of the core capabilities of Windows (thumbnails)

    It's very frustrating to those of us who use Windows and work with images and or videos.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-06-17T19:44:55+00:00

    This should fix it. Haven't had a problem so far after doing it. From here.


    You can disable this feature by copying the following into notepad, saving as “disablethumbsdb.reg” and double clicking on the file to add it to the registry. You may need to log off and back in or restart.

    WARNING: Modifying REGISTRY settings incorrectly can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the configuring of REGISTRY settings can be solved. Modifications of these settings are at your own risk.

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

    "NoThumbnailCache"=dword:00000001

    Was this answer helpful?

    0 comments No comments