You are currently offline, waiting for your internet to reconnect

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.
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.
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
Applies to
  • Microsoft System Center Virtual Machine Manager 2008
  • Microsoft System Center Virtual Machine Manager 2008 R2
Properties

Article ID: 983839 - Last Review: 09/10/2011 12:05:00 - Revision: 3.0

  • kbhowto kbexpertiseadvanced kbsurveynew KB983839
Feedback
rClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" languagesListForLargeScreens track by $index" class="col-sm-6 col-xs-24 ng-scope"> Venezuela - Español
://c1.microsoft.com/c.gif?DI=4050&did=1&t="> var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" r m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> >>