Deploying an azure windows VM with ARM template by setting the EnableAutomaticUpdates to false

POLINENI Kiran 1 Reputation point

I am deploying an azure VM with ARM template by setting the EnableAutomaticUpdates to false. VM got deployed successfully but the automatic updates are enabled in the VM.

ARM template code used:

"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2021-03-01",
"name": "[parameters('vmName')]",
"location": "[parameters('location')]",
"properties": {
"hardwareProfile": {
"vmSize": "[parameters('vmSize')]"
"osProfile": {
"computerName": "[parameters('vmName')]",
"adminUsername": "[parameters('adminUsername')]",
"adminPassword": "[parameters('adminPassword')]",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": false


In ARM template even though we set the enableautomaticupdates to false but still enables the option. WHat need to be corrected to disable the automatic updates.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,594 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,496 Reputation points

    Hello @POLINENI Kiran ,

    You can try manually turning it off by,

    start>Settings>Control Panel>System

    From the Automatic Updates, tab Select Turn off Automatic Updates. then apply the settings

    Do Check out the below link to get to know more about Microsoft.Compute virtualMachines,


    Hope this answers all your queries, if not please do repost back.
    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    0 comments No comments