word number: 1145
Time: 2021-04-25 21:14:05 +0000
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:
If you are on a newer version of Windows 10, you can just go to Windows Update settings, scroll down, and choose pause updates for 7 days.
If you want it more than 7 days and you do not want to automatically download, choose advanced options.
If you are on an older version of Windows 10, the above options may not be available. I recommend to use Edit Group Policy. If you are on Windows Home, it is not available in default which you have three choices: (1) enable it, (2) disable updates in services everytime you turn on your Windows, (3) use the hard registry edit ways.
Ofcourse I recommend to enable it by copying the following code, open notepad or similar application, paste it, and save it to any filename ending with .bat extension, for example gpedit-enabler.bat, or download the file using my hyperlink.
@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
Once you open Edit Group Policy, whether from search bar or gpedit from run command, go to Computer Configuration, Administrative Templates, Windows Compponents, and Windows Update.
Here you can find many policies but for now you only need to look at Configure Automatic Updates. Choose to disable or enable notification only.
Simply most Linux does not do anything until you tell it to which is the opposite of Windows and which is why Linux are less susceptible to malwares. Instead you have to set it up yourself if you want to do automatic updates. However, I do find differences in Linux distributions whether they give notifications that updates are available or not. Here I use Debian based Linux where if it is not in Settings, then it is in Software & Updates, or maybe somewhere else so please correct me.
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
I owned a Samung A7 and to configure the updates, all I have to do is go to settings, scroll down and find Software Updates.
In default, it does not automatic update so there is an option to automatic update only on WiFi since it takes large Internet quota almost all the time.
If you cannot find the update option, go to about phone and software information.
Click build number multiple times until developer mode is enabled.