If, Computers in a network & managing by Active Directory, then The Administrator can use group policy to force computers to update windows automatically.
let’s start first by Active directory with GPO, how to do it:-
Windows Update can be enable & disable in Group Policy in Local Computer.
Step 1. Go to Group Policy Management Console
Step 2. Create a GPO
Step 3. Edit Group Policy Object & Click on Computer Configuration > Administrative Templates > Windows Components > Windows Update > Configure Automatic Updates.
Step 4. When the pop-up will open, then can be select Enable & Disable the automatic windows update, Then Apply & OK.
Step 5. Go to client PC & Open Command Prompt as Administrator, then type the command -> gpupdate /force
or
Restart the Windows