The configuration registry database is corrupt (0x800703F1).Error 2912 while VM template creation failed.

If you trying to Create A template and get’s the following error Message.

template deployment

Initially start the troubleshooting from the WinRm run the below command on the Host.

winrm set winrm/config @{MaxTimeoutms = “1800000”}

winrm set winrm/config/Service @{MaxConcurrentOperationsPerUser=”1500″}

net stop winrm

net start winrm

net start scvmmagent

Below also Could be the following reason’s.

Do not turn off the VM from the Hyper-V or SCVMM Console.

Gracefully Shutdown the VM from inside the VM and then Retry the Process.

Either the VM that you have deployed is the Syspred VM.

If you have configured Hyper-V Replica to use certificate based authentication over port 443.  SCVMM had also configured BITS to use certificate based authentication over port 443.  The result was that whenever SCVMM tried to use BITS to transfer a file – it would fail.

Fortunately – both BITS and Hyper-V Replica allow you to change the port that they use.  In my case I decided to change the port used by Hyper-V Replica from 443 to 444.  You can do this under the Hyper-V Settings: