BMR restore to HyperV failing with the error message "The value is protected by Secure Boot policy and cannot be modified or deleted"
说明
When performing a BMR restore to HyperV some DCs may fails with the error message "The value is protected by Secure Boot policy and cannot be modified or deleted"
原因
解决办法
An Enhancement request has been submitted to change the behavior so by default VM will be created with Secure Boot off. Also to provide the option to change this behavior using a setting file.
Enhancement ID: ADO-423248.
A workaround can be achieve with the following: - Go to C:\Program Files\Quest\Recovery Manager for Active Directory Forest Edition\Management - Edit the PowerShell script "HyperVCreate.ps1" - Add -EnableSecureBoot Off parameter to the following line
Set-VMFirmware -VMName $VMName -FirstBootDevice $bootDvdDrive -EnableSecureBoot Off