Skip to content

How to remove a temporary template from System Center Virtual Machine Manager 2012 R2

These days I wanted to remove some templates from the VMM Library when I got this error that I cannot delete the VHD from the template because of some dependency called Temporary Template followed by a <GUID> (forgot to take a screen shot).

So, I said that maybe deleting the folder directly  from the Library Server would work, but it doesn’t, the VM template is still there with an warning sign even after refreshing the Library or waiting for a manual cleaning from VMM. I started to look on internet for a solution about this issue, and most of them were pointing somehow in a wrong direction.

In the end it worked only using the Powershell command Remove-SCVMTemplate -VMTemplate “Temporary Template<GUID>” without any need to make any change on the SQL server or stuff like that.

Published inGeneral

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *