Sure that updates are important for securities and bug fixes that you should at least schedule an update once in a while. However, windows automatic update is now a problem and no longer just an annoyance. If you missed the initial option of only what time should Windows perform updates or Windows just would not listen to because it claimed to be a critical update then the problems are:
Though we can just switch to almost any Linux operating system because they never perform a task without the users' agreement but most likely that we still need to use Windows:
Customizing Windows 10 Automatic Update
Newer Windows 10 Update Settings
Older Windows 10
@echo off pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" pause
There are many ways to set up automatic updates through command line.
I found many posts that best practice for headless machines or servers are to use unattended-upgrades:
sudo apt-get install unattended-upgrades sudo dpkg-reconfigure unattended-upgrades
You can add any commands in crontab including update and upgrade commands:
sudo crontab -e
You can also do the old ways by adding commands into /etc/local... and /etc/rc... . Leave a comment if you know anymore
What an exquisite article!
Leave a Reply.
old source code