Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/926189

From BetaArchive Wiki
Knowledge Base

Error message when you try to delete a Windows Imaging Format file in Windows Vista: "Cannot delete"

Article ID: 926189

Article Last Modified on 3/15/2007


  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Enterprise 64-bit edition
  • Windows Vista Home Basic 64-bit edition
  • Windows Vista Home Premium 64-bit edition
  • Windows Vista Ultimate 64-bit edition
  • Windows Vista Business 64-bit edition


You use the Ximage.exe tool to mount a Microsoft Windows Imaging Format (WIM) file for read and write access in Windows Vista. Then, you try to delete this file by using Microsoft Windows Explorer. However, you cannot delete this file, and you receive the following error message:

Cannot delete filename: Access is denied. Make sure the disk is not full or write-protected and that the file is currently not in use.

Note When this problem occurs, you can still mount or modify a WIM file by using the Ximage.exe tool.


This problem occurs because you cannot use the standard user interface in Microsoft Windows Explorer to move or delete files that you create by using the Ximage.exe tool.


To work around this problem and delete a mounted WIM file, click to select the file in Windows Explorer, and then press SHIFT+DELETE.

Note Alternatively, you can delete this file by using a command-line command.

Keywords: kbtshoot kbexpertiseinter kbexpertiseadvanced kbprb KB926189