Error "The Directory is not Empty" when creating a MED-V 2.0 workspace package

Article ID: 2501993 - View products that this article applies to.
Expand all | Collapse all


When attempting to create a MED-V 2.0 Workspace package, the following error occurs: 

A problem was encountered while creating the MED-V workspace package.
The directory is not empty


This error message can occur if the VHD is attached or mounted by another process or application when the workspace package is being created.


Detach or dismount the VHD before starting the workspace packager.


Technet FAQ - What does it mean to create, attach, and detach VHDs?

KB973282 - Safely detach a VHD :
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.


Article ID: 2501993 - Last Review: March 10, 2011 - Revision: 2.0
  • Microsoft Enterprise Desktop Virtualization 2.0

Give Feedback


Contact us for more help

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