fixitdaz
Member
- Reaction score
- 2
- Location
- Pershore UK
You can disable Windows automatic updates from command line using the below command.
this will not work if domain group policy is enforced and users are prohibited to change the settings.
To enable automatic updates you need to set the registry value to 0. using the below command.
Code:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f
this will not work if domain group policy is enforced and users are prohibited to change the settings.
To enable automatic updates you need to set the registry value to 0. using the below command.
Code:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 0 /f