An easier way than messing around with le registre, or having to run a command after every update:
Ouvrez le Local Stratégie de groupe Editor:
Start / Run / gpedit.msc
Trouvez le Windows Update settings:
Computer Configuration / Administrative Templates / Windows Components
/ Windows Update
Edit these 2 settings:
No auto-restart with logged on users for scheduled automatic updates installations: Enabled
Re-prompt for restart with scheduled installations: Enabled, wait period (minutes): 1440
Now you will not be prompted to restart for 24 hours.