2015/03/18

hyper-v 虛擬主機 匯出至網路芳鄰 產生錯誤 0x80070005

hyper-v 匯出到某一台有開分享資料夾的電腦時,會產生  0x80070005 的錯誤。
但已確認過在操作匯出的這個 server登入帳號是有權限在分享資料夾裡寫入檔案的權限。
原來是因為在匯出hyper-v的虛擬主機至其他電腦的分享資料夾時,分享資料夾的權限不能只開給操作者的帳號,還要開寫入權限給hyper-v的那台實體主機。
如果
A使用者  把 aa實體主機上的 bb虛擬主機 要匯到 cc主機上的分享資料夾,
在  cc主機上的分享資料夾 要開寫入權限給  A使用者帳號 & aa實體主機帳號 才會成功。

可參考下面的說明
Ensure the permissions allow the Computer account of the Hyper-V host performing the Export to update the shared folder.
Note: While following steps are specific to 2008, the idea is the same for updating the share and NTFS permissions if the share is hosted on another version of Windows.
Updating the NTFS level permissions:
1.  On the destination server, Right-click on the shared folder and select Properties.  
2.  Select the Security tab.  
3.  Click Edit button and click the Add button in the permissions dialog box.  
4.  Click Oject Types and select Computers if not already done and click OK
5.  In the dialog "Enter the object names to select" provide the name of Hyper-V host machine and click Check Names
6.  With the Hyper-V host machine name select, click Allow by "Full control" and click OK
Updating the share level permissions:
1.  On the destination server, Right-click on the shared folder and select Properties.  
2.  Select the Sharing tab.  
3.  Click Advanced Sharing...
4.  On the Advanced Sharing dialog, click Permissions  and then Add.
5. Click Oject Types and select Computers if not already done and click OK
6.  In the dialog "Enter the object names to select" provide the name of Hyper-V host machine and click Check Names7.  With the Hyper-V host machine name select, click Allow by "Full control" and click OK

沒有留言:

張貼留言