Copying .EXE files may result in a sharing violation error - Folder In Use


When copying an .EXE file or a folder containing .EXE files, you may periodically experience the following sharing violation error:

Folder In Use
The action can't be completed because the folder or a file in it is open in another program

After waiting approximately two minutes without retrying, you can click the Try Again button and it will copy successfully.


This issue can occur if the Application Experience (AeLookupSvc) service is set to Disabled.


The recommended resolution is to set the Application Experience (AeLookupSvc) service back to the Manual startup type. This allows the operating system to dynamically start the service when needed.

More Information

Application Compatibility attempts to check if the .EXE file requires any application compatibility shims when it is accessed. This causes the system to obtain a handle to the file. The system queues a lookup request to the Application Experience (AeLookupSvc) service, but since the service is disabled, the request is not serviced in time and Explorer cannot copy the file because it is in use. After two minutes, the queued request to the Application Experience service times out and is dropped, releasing the handle and allowing the copy to proceed.

This issue only occurs when copying with Explorer.

Article ID: 2503886 - Last Review: May 3, 2011 - Revision: 1