2017-05-18 30 views
-1

由于WannaCry漏洞,我的Azure marketplace VM映像突然被Microsoft删除。针对Azure认证“访问被拒绝”的认证测试工具1.2

我正在尝试运行Azure认证的认证测试工具1.2,使用新的修补映像创建新VM。

我以本地管理员身份登录,并按照the documentation在VM上运行此工具:“验证工具在运行的VM上运行,从您的用户VM镜像调配,以确保VM镜像与Microsoft兼容Azure的“。

我试过在默认的Classic(不是Azure资源管理器)Windows Server 2012 R2 Datacenter和Windows Server 2016 Datacenter VMs上运行该工具。

我试过把Windows防火墙和UAC关掉。

我还没有试过changing the firewall rules on Azure的VM,因为:“当您在Azure经典门户中创建Windows虚拟机时,通常会为远程桌面和Windows PowerShell远程处理等常见端点自动创建。”

以下是运行在一个全新的Azure的经典VM(与WannaCry补丁应用)工具创建的日志:

5/18/2017 6:23:22 AM 

Log generated by Certification Test Tool for Azure Certified 

Test name: ****** Test Date :5/18/2017 6:23:22 AM Tested on: ******.cloudapp.net Test for: Microsoft Azure Test in: Windows Server 
5/18/2017 6:23:24 AM 

Test case/Verification: TestConnection 
Description: Instantiates connection to the specified VM. 

Connection Attempt: 1 Connecting to the Azure VM.... ******.cloudapp.net Error in connecting to the VM. Reason for not connecting to the VM : System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server ******.cloudapp.net failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult) at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open() at System.Management.Automation.RemoteRunspace.Open() at WindowsAddin.PSConnection.OpenSession() -----------------------------------------------------------------> 

编辑:添加几个链接。

+0

您是否以管理员身份运行该工具? –

+0

你可以检查这个[问题](http://stackoverflow.com/questions/22680211/access-denied-on-remote-winrm)。 –

+0

是的,我以管理员身份运行该工具。我也以本地管理员身份登录。我甚至试图按照该问题的一个答案显式地将我的用户添加到powershell的权限。 [这个问题](http://stackoverflow.com/questions/36061088/unable-to-connect-to-vm-with-azure-certified-test-tool-1-2?rq=1)也是类似的。但是接受的答案只适用于Azure资源管理器虚拟机,而另一个答案则建议允许该工具通过防火墙,但我的防火墙已完全关闭。 – SalamiArmy

回答

0

我设法连接并运行该工具,诀窍是不在机器上运行它。您必须从远程机器运行它。该工具拒绝访问自己。