简体   繁体   English

Azure 中如何禁用虚拟机的自动更新?

[英]How to disable auto-update for virtual machines in Azure?

In my azure environment there are sets of virtual machines that are rebooting at the same time, I assume it has to do with auto-update settings.在我的 azure 环境中,有几组虚拟机同时重新启动,我认为这与自动更新设置有关。 How do I turn off the auto-updates and enable manual scheduling for Azure Virtual Machine updates?如何关闭自动更新并为 Azure 虚拟机更新启用手动计划? When I go to the update blade it doesn't provide me any options.当我 go 到更新刀片时,它没有为我提供任何选项。

• You can surely disable the automatic updates for virtual machines in Azure by opting out of the 'Automatic upgrades' option in the Virtual machine’s 'Operations' section --> Update Management workspace as shown in the below snapshot. • 您当然可以通过在虚拟机的“操作”部分 -->更新管理工作区中选择退出“自动升级”选项来禁用 Azure 中虚拟机的自动更新,如下面的快照所示。 Same is the case for 'Automatic updates' for Guest OS and Host OS also because, if the 'Update Management' option is enabled , then an automation and a log analytics workspace account is created as shown below due to which the update management schedule for the Guest as well as Host OS is managed through the 'Update Management' section as the status of the VM's update is reported in it through backend automation account and a log analytics workspace: -来宾操作系统主机操作系统“自动更新”也是如此,因为如果启用“更新管理”选项,则会创建一个自动化和一个日志分析工作区帐户,如下所示,因此更新管理计划来宾和主机操作系统通过“更新管理”部分进行管理,因为通过后端自动化帐户和日志分析工作区在其中报告虚拟机更新的状态:-

虚拟机更新管理 更新管理部分 更新管理自动化

Thus, to disable the automatic updates for your VMs for the above option, ie, through 'Update Management' feature, kindly refer to the below documentation link for details: -因此,要禁用上述选项的 VM 自动更新,即通过“更新管理”功能,请参阅以下文档链接了解详细信息:-

https://learn.microsoft.com/en-us/azure/automation/update-management/remove-feature https://learn.microsoft.com/en-us/azure/automation/update-management/remove-feature

• Basically, when you provision a VM in Azure, at that time itself, you are asked the option for 'Automatic by OS' updates or 'Manual' updates in the 'Patch Orchestration' option under 'Management' section . • 基本上,当您在 Azure 中配置 VM 时,系统会要求您在“管理”部分下的“补丁编排”选项中选择“操作系统自动”更新或“手动”更新选项。 At that time, if you select, 'Automatic by OS', then the updates for the VM are configured to be installed automatically in the VM's OS registry and accordingly whenever the updates are available, the VM's OS installs the updates regularly.那时,如果您输入 select,“由操作系统自动”,则 VM 的更新配置为自动安装在 VM 的操作系统注册表中,相应地,只要更新可用,VM 的操作系统就会定期安装更新。 But, for manual updates option, the updates aren't installed until the user who has logged in to the VM installs them .但是,对于手动更新选项,只有登录到 VM 的用户安装更新后才会安装更新 Thus, to disable the automatic update feature from within the VM, kindly follow the steps below: -因此,要从 VM 中禁用自动更新功能,请按照以下步骤操作:-

a) Go to Control Panel --> Administrative Tools --> Services a) Go 到控制面板-->管理工具-->服务

b) Scroll down to 'Windows Update' in the resulting list b) 在结果列表中向下滚动到“Windows 更新”

c) Double click the 'Windows Update' Entry c) 双击“Windows 更新”条目

d) In the resulting dialog, if the service is started, click 'Stop' d) 在出现的对话框中,如果服务已启动,请单击“停止”

e) Set 'Startup Type' to 'Disabled' e) 将“启动类型”设置为“已禁用”

Kindly note the consequences of the above actions: -请注意上述行为的后果:-

If you disable Windows 10 Updates, your system will be at risk from attack and如果禁用 Windows 10 Updates,您的系统将面临受到攻击和攻击的风险

a) Windows Defender will not be updated. a) Windows Defender 不会更新。

b) Operating System patches will not be applied. b) 不应用操作系统补丁。

c) You will not be able to use the Windows Store. c) 您将无法使用 Windows 商店。

d) Windows Apps will not update and possibly fail. d) Windows 应用程序不会更新并且可能失败。

e) On the plus side your hardware will continue to work. e) 从好的方面来说,您的硬件将继续工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Okta 在 Azure 虚拟机上保护 web 应用程序 - Okta secure web apps on Azure Virtual Machines JS“虚拟机 - 列表”的 Azure SDK 是否存在? - Does Azure SDK for JS "Virtual Machines - List" does it exist? Azure 心跳显示所有带有颜色指示器的虚拟机的状态 - Azure Heartbeat displaying status of all Virtual Machines with Color indicators 控制点 | 如何查看项目中所有正在运行的虚拟机? - GCP | How I can see all the working virtual machines on a project? 我需要在远程谷歌云虚拟机上运行脚本,GCP 上是否有类似于 Azure VM 扩展的东西? - I need to run script on a remote Google Cloud Virtual Machines, Is there anything similar to Azure VM extensions available on GCP? 如何通过CLI获取节点池中运行的虚拟机数量 - How Do I Grab the Number of Virtual Machines Running in a Node Pool using the CLI 通过 Azure 禁用 AKS 节点池的自动缩放 Powershell - Disable Auto-Scaling of an AKS Node pool via Azure Powershell 资源组中的虚拟机,资源需要访问BigQuery的权限,如何实现? - Virtual Machines in resource group, resources need permission to access BigQuery, how to accomplish? 如何在 Azure SQL 数据库中禁用防火墙? - How to disable firewall in Azure SQL database? 无法检查一个区域中虚拟机的大小 - Cannot check the size of virtual machines in one region
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM