For those looking to block Windows Update: please note that blocking just Windows Update Medic is not sufficient. You also have to block other services.
My writeup is here: Come bloccare gli aggiornamenti automatici di Windows 10 (disattivare Windows Update) (it’s in italian, sorry) but the gist of it is that there are 3 services that must be disabled.
This is the bat file i use:
echo Windows Update Medic Service sc stop WaasMedicSvc REG ADD HKLM\SYSTEM\CurrentControlSet\Services\WaasMedicSvc /v Start /f /t REG_DWORD /d 4 echo. echo Servizio Windows Update sc stop wuauserv REG ADD HKLM\SYSTEM\CurrentControlSet\Services\wuauserv /v Start /f /t REG_DWORD /d 4 echo. echo Aggiorna il servizio Orchestrator sc stop UsoSvc REG ADD HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc /v Start /f /t REG_DWORD /d 4 echo.