2012-12-05 54 views
0

我想使用CSUPLOAD將虛擬機上傳到Azure。Azure虛擬機CSUPLOAD RDP

我已經嘗試了Add-Disk和Add-PersistentVMImage,都成功配置和啓動VM,但我無法使用遠程桌面連接到它。

現在我試圖上傳的VM是全新安裝的Server 2008 R2,啓用了遠程桌面和syspreped。 (我驗證了我可以在本地網絡上遠程訪問它)。

我在虛擬機上有一個端點,3389用於公共和私有端口。

我可以看到我的VM和我從畫廊創建的唯一區別在於畫廊中的人有RDP證書指紋,而我的VM沒有。

丟失的指紋會導致RDP不起作用。我該如何配置?

回答

0

我使用的是Windows 7之前創建的圖像。我嘗試使用Hyper V創建映像,並最終修復了Add-PersistantImage和Add-Disk

0

看看這篇文章:http://msdn.microsoft.com/en-us/library/windowsazure/gg465385.aspx

基本上你必須先上傳管理證書,使用門戶,然後執行上傳的證書的指紋作爲參數傳遞:

csupload Set-Connection "SubscriptionId=[SubscriptionId];CertificateThumbprint=[CertThumbprint];ServiceManagementEndpoint=https://management.core.windows.net"

+0

感謝Chris,我認爲csupload連接中的指紋只是驗證您是否有權上傳映像。這些是我使用的命令。 csupload Set-Connection「SubscriptionID =; CertificateThumbprint =; ServiceManagementEndpoint = https://management.core.windows.net」 csupload Add-PersistentVMImage -Destination「http://.blob.core.windows.net/vhds/ RDPTestUU.vhd「-Label」RDPTestUU「-LiteralPath」E:\ RDPTestUU.vhd「-OS Windows –