This questions has been answered previously, e.g. [here](https://superuser.com/questions/1096079/how-to-stop-windows-10-from-automatic-restarts), but all the answers J'ai vu require using a dropdown in Settings> Update & Security> Advanced Options.
On my version of Windows 10 Pro, there is no such dropdown:
Comment puis-je prevent automatic restarts?
Comment prevent Windows 10 from redémarrering the computer après installering mises à jour
Re: Comment prevent Windows 10 from redémarrering the computer après installering mises à jour
Setting the "No auto-restart with logged on users for scheduled automatic updates installations" GPO didn't work for me. I woke up this morning and my machine had been rebooted. (I was using the computer last night and didn't even get a warning.)
[This suggestion](https://techjourney.net/permanently-disable-prevent-automatic-restart-of-windows-update-in-windows-10/) from [techjourney.net](https://techjourney.net/) looks more promising.
- Open **Planificateur de tâches** and naviguez vers **Planificateur de tâches Library > Microsoft > Windows > UpdateOrchestrator**
- Clic droit the **Reboot** task and **Disable** it.
Windows will attempt to re-enable the task automatically, so you also need to modify permissions on the task file.
- Allez dans **C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator**
- Ouvrez le properties of the **Reboot** file, ouvrez le Security tab and open Advanced Permissions.
-
Take ownership of the file by clicking the "Change" link next to the owner and typing in your name. Disable inheritance via the button en bas.
-
Change all permissions to read or read & execute only.
[This suggestion](https://techjourney.net/permanently-disable-prevent-automatic-restart-of-windows-update-in-windows-10/) from [techjourney.net](https://techjourney.net/) looks more promising.
- Open **Planificateur de tâches** and naviguez vers **Planificateur de tâches Library > Microsoft > Windows > UpdateOrchestrator**
- Clic droit the **Reboot** task and **Disable** it.
Windows will attempt to re-enable the task automatically, so you also need to modify permissions on the task file.
- Allez dans **C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator**
- Ouvrez le properties of the **Reboot** file, ouvrez le Security tab and open Advanced Permissions.
-
Take ownership of the file by clicking the "Change" link next to the owner and typing in your name. Disable inheritance via the button en bas.
-
Change all permissions to read or read & execute only.