Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot delete a missing VM in SCVMM 2008 or in SCVMM 2008 R2


Symptoms

On System Center Virtual Machine Manager (SCVMM) 2008 or SCVMM 2008 R2, duplicate virtual machines (VMs) may appear in the SCVMM Administrator Console. In this scenario, one of the duplicate VMs has a Missing status, and the other VM has a different status.

If you try to delete the missing virtual machine, you may receive the following error message:

Error (802)

The VM file vmname.domain.local is already being used by another VM.

↑ Back to the top


Resolution

To resolve this issue, follow these steps:
  1. Close the SCVMM Administrator Console.
  2. Stop the SCVMM service (VMMService.exe) on the SCVMM server.
  3. Make a full backup of the SCVMM database.

  4. Install Microsoft SQL Management Studio Express on the computer that has the SCVMM database.
  5. Run SQL Server Management Studio Express, select the SCVMM database, and then run the SQL script that is documented on the following TechNet website:

    This script deletes all the missing VMs that have a Missing status from the SCVMM database.
  6. If the script was successful, you see the following output:

    Commands(s) completed successfully.
  7. After the script has finished, restart the SCVMM service (VMMService.exe) on the SCVMM server, and then open the SCVMM Administrator Console to verify that the missing VMs were deleted.

↑ Back to the top


Status

To prevent this issue from occurring on System Center Virtual Machine Manager 2008 R2, apply the following rollup hotfix:

2308590 Description of the System Center Virtual Machine Manager 2008 R2 hotfix rollup package: September 14, 2010

↑ Back to the top


Applies to

  • Microsoft System Center Virtual Machine Manager 2008
  • Microsoft System Center Virtual Machine Manager 2008 R2

↑ Back to the top


Keywords: kbhowto, kbexpertiseadvanced, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 983839
Revision : 1
Created on : 3/21/2017
Published on : 9/10/2011
Exists online : False
Views : 144