You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
374 B
9 lines
374 B
4 years ago
|
# don't waste CPU / network bandwidth checking for updates
|
||
|
registry_key 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' do
|
||
|
values [{ name: 'AUOptions', type: :dword, data: 1 }, # disable keep my computer up to date
|
||
|
{ name: 'NoAutoUpdate', type: :dword, data: 1 }, # disable auto updates
|
||
|
]
|
||
|
action :create
|
||
|
recursive true
|
||
|
end
|