Your image may be corrupted when you try to un-mount it with the ADS Imgmount command-line tool (891373)



The information in this article applies to:

  • Microsoft Automated Deployment Services

SYMPTOMS

When you un-mount an image by using the Microsoft Automated Deployment Services (ADS) Imgmount command-line tool, the image may be corrupted. This scenario occurs when you un-mount an image after you perform some write operations on the image.

Note You can perform write operations on an image after it is mounted with the Imgmount tool. The image must be mounted with read and write access.

CAUSE

The Imgmount tool uses resources from kernel-mode paged pool memory. If there is an acute shortage of paged pool memory during the mounting or un-mounting process, write operations may not be completed successfully. Therefore, when the image is un-mounted, the cluster map within the image may not be updated.

WORKAROUND

To work around this issue, back up the image before you mount the image with read and write access.

To recover a corrupted image, you can mount the image with read-only access and then run the ADS Imgdeploy command-line tool locally to generate a fixed image file. To do this, type the following commands at a command prompt. Press ENTER after each command.

imgmount /m /d:l Corrupted.img

imgdeploy /c /u l: Fixed.img "A fixed image"

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce this behavior

  1. On a computer with lots of free space, use the Imgdeploy tool to capture a large volume. (This computer is Computer A.) To do this, type the following at a command prompt, and then press ENTER:

    imgdeploy /C L: C:\Myimage.img "A volume description"

  2. Install the ADS volume tool on a computer with relatively low physical memory. (This computer is Computer B.)
  3. Copy the Myimage.img file from Computer A to Computer B.
  4. On Computer B, use the Imgmount tool to mount an image file with read and write access. To do this, type the following at a command prompt, and then press ENTER:

    imgmount /M /W Myimage.img

  5. Write on the mounted file until physical memory is exhausted, and then try to un-mount the image. The failure will now occur.

Modification Type:MinorLast Reviewed:1/31/2005
Keywords:kbprb KB891373 kbAudDeveloper