Press the Windows key + R to open the Run dialog box.
Type gpedit.msc and press Enter.
Navigate to “Computer Configuration” > “Administrative Templates” > “Windows Components” > “Windows Update.”
Double-click on “Configure Automatic Updates.”
Select the “Disabled” option to turn off automatic updates.
Click “Apply” and then “OK” to save the changes.
==== Use Registry Editor ====
Press the Windows key + R to open the Run dialog box.
Type regedit and press Enter.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU.
Right-click on the “AU” key and select “New” > “DWORD (32-bit) Value.”
Name the new value “NoAutoUpdate” and set its value to 1.
Click “OK” to save the changes.