2013-12-16 41 views
1

今天我添加了一個主機到scvmm。而後來的所有VM主機上都未能重新啓動,並出現以下錯誤被拋出:'未命名的虛擬機'無法讀取或更新虛擬機配置,因爲訪問被拒絕:常規訪問被拒絕錯誤(0x80070005)。

Error (12700) VMM cannot complete the host operation on the serverName server because of the error: 'VMName' could not initialize. (Virtual machine ID DDEA27BF-EBCA-49D6-B0BC-F89D83B1FCA4)

'VMName' could not create or access saved state file D:\Hyper-V\VMName\Virtual Machines\DDEA27BF-EBCA-49D6-B0BC-F89D83B1FCA4\DDEA27BF-EBCA-49D6-B0BC-F89D83B1FCA4.vsv. (Virtual machine ID DDEA27BF-EBCA-49D6-B0BC-F89D83B1FCA4) Unknown error (0x8006)

Recommended Action Resolve the host issue and then try the operation again.

回答

1

後來我們按照"Hyper-V virtual machine may not start, and you receive a 「‘General access denied error’ (0x80070005)」 error message"成功地解決這個問題。

解決方案是授予每個虛擬機訪問其虛擬機文件和目錄。

icacls <Path of .vhd or .avhd file> /grant "NT VIRTUAL MACHINE\<Virtual Machine ID from step 1>":(F) 

要授予權限,虛擬機文件夾及其子:

icacls "D:\Hyper-V\Virtual Machine" /grant "NT VIRTUAL MACHINE\DDEA27BF-EBCA-49D6-B0BC-F89D83B1FCA4":(OI)(CI)F 
0

我遇到了我的虛擬機啓動了這個錯誤,我有我的服務器上變出了一個驅動器後。新驅動器的分配與上一個驅動器相同,並且所有文件都已被複制,包括包含.vhd文件的VM文件夾。我執行了Amitabha's answer中給出的icacls命令,但這並沒有解決我的問題。

然後,我在某處讀取組Authenticated Users應該具有對包含虛擬機配置文件的文件夾的完全訪問權限。因此,我在​​文件夾屬性的security選項卡中添加安全組Authenticated Users,並授予此組full control權限。這樣做後,我的虛擬機啓動正確。