Private - Guide

Free Tutorial, Guide, Tips, Trik and Application Download..

Rabu, 10 April 2013

Deleting SCVM Temporary Template

Ran into this issue today where I could not delete a VHD from my library as I had a series of items that were dependent on the VHD. In my case, I had two issues, the first being that the VHD was listed in a Temporary Template. I resolved the template issue by entering the following command from Powershell on the SCVMM server:
Get-SCVMTemplate | where {$_.Name -like "Temporary*"} | Remove-SCVMTemplate
The second issue will be identified by the following error when you attempt to delete the VHD:
The library object (VHDNAME) cannot be removed because following objects are dependent on it:
Virtual Hard Disk deployment configuration
The second issue was solved by opening up SQL Management Studio and editing the "tbl_WLC_VHDConfig" table within SCVMM's database. Specifically, delete any row that has the "SourceLocation" column populated with the ID of the VHD in question. At this point you should now be able to go back into the SCVMM console and delete the offending VHD.
Per Microsoft, this issue has been resolved in the RTM version of the product:
http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/2dd46ae2-4d20-4528-85d0-0bec9f6282c1
Unfortunately I didn't take any screenshots of this process and the specific details as to the errors are now lost. However, I'll post this up in the hopes that it will get someone started should they run into this issue.

Source : http://www.ryanholt.net/2012/02/07/quick-tip-remove-missing-dependencies-for-scvmm-2012-rc-vhds/

Label: , ,

0 Komentar:

Posting Komentar

Berlangganan Posting Komentar [Atom]

<< Beranda