无需访客代理即可锁定经典VM [英] Locked out of classic VM with no Guest Agent

查看:165
本文介绍了无需访客代理即可锁定经典VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows防火墙规则已添加到我们的经典VM中,该规则阻止了所有端口上的连接.我现在的目标是恢复访问权限.

A windows firewall rule was added to our Classic VM that blocks connections on all ports. I'm now aiming to restore access.

重置远程访问"尝试时失败.

"Reset Remote Access" fails when I try it.

未安装VM Agent,因此我们无法仅重置配置",或使用扩展名在服务器上运行powershell命令.

VM Agent is not installed, so we're unable to "Reset Configuration Only", or use extensions to run powershell commands on the server.

此虚拟机没有备份,因此我无法还原早期版本.

There are no backups for this VM, so I can't restore an earlier version.

我还有什么选择可以恢复访问权限吗?

Are there any options still open to me to restore access?

推荐答案

您可以磁盘交换经典VM并禁用防火墙作为辅助磁盘,或将VHD脱机以进行修复.你可以 创建磁盘快照,然后从那里移动.

You can Disk Swap the Classic VM and disable the Firewall as a Secondary Disk, or pull the VHD Offline for repair. You can Create a Snapshot of the Disk and move it around from there. Attach a managed data disk to a Windows VM by using the Azure portal

存储资源管理器 也是为经典虚拟机提取和管理快照的好方法.

Storage Explorer is also a great way to pull and manage Snapshots for a Classic Virtual Machine.

Azure资源管理器VM模型具有串行控制台和其他资源,无需交换即可修复类似问题,因此,您可能需要考虑将VHD推送到ARM

The Azure Resource Manager VM model has a Serial Console and other resources to repair similar issues without a swap, so you may want to consider pushing the VHD to ARM if possible


这篇关于无需访客代理即可锁定经典VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆