2 tasks for Task Scheduler (taskschd.msc
) to disable forced reboot in windows 10 (Home) version.
You can either save those 2 files as xml, and then immport to taskschd.msc and enable them. Or create those 2 task yourself - instructions below.
There is 2 processes that will nag you to reboot and they might initiate reboot too.
Open taskschd.msc
using [Win]+X and choose Run, in Run dialog type taskschd.msc
- Create new task clicking
Create Task
inActions panel
on the right side of window. - In new dialog, type name, e.g.:
SlayWSU
😁 , in security options:- select
Run whether user is logged on or not
- check
Do not store password. The task [...] local computer resources
- check
Run with highest privileges
- select
- Go to tab
Triggers
, clickNew
, in windowNew Triggeer
:
- select in
Begin the task
=On a schedule
- section
Settings
: select:Daily
, andStart
leave current date & time , set Recur every to1
days, - Section
Advanced settings
:- check
Repeat task every
, choose from list5 mintes
, - select
for duration of
=Indefinitely
, - leave only
Enabled
checked.
- check
- click
OK
- Go to tab Actions and create 2 actions, click
New
and in New action window:
- select Action:
Start a program
, in section Settings enter:- Program/script =
C:\Windows\System32\taskkill.exe
- Add arguments =
/IM MusNotifyIcon.exe /t /f
- Program/script =
- select Action:
Start a program
, in section Settings enter:- Program/script =
C:\Windows\System32\taskkill.exe
- Add arguments =
/IM MusNotification.exe /t /f
- Program/script =
- Go to tab Conditions and uncheck evrything,
- Go to tab Settings and check & set:
- check
Allow task to run on demand
- check
Run the task as soon as possible ...
- check
If the task fails, restart every
ans set to1 minute
, and set attmept o restart up to set to3
(but can be higher) - check
Stop the task in runs longer than
and select3 days
- check
If the task does not end when requested, force it to stop
- At bottom If the task is alredy running, then the following rule applies select
Do not start a new instance
- Click
OK
to create task.
In task scheduler ther is few task that have to "assist" to force reboot, you can delete them but thwey will be recreated... Bet method is to disable them using another task (that run every few min) 😁
In open Task Scheduler (taskschd.msc
):
- Create new task clicking
Create Task
inActions panel
on the right side of window. - In new dialog, type name, e.g.:
wu_reboot_disable
😁 , in security options:- In When running the task, use the following user account , click button
Change User or group
, type in new window in field Enter the object name to select:SYSTEM
and clickOK
, - check
Run with highest privileges
- In When running the task, use the following user account , click button
- Go to tab
Triggers
, clickNew
, in windowNew Triggeer
:
- select in
Begin the task
=On a schedule
- section
Settings
: select:Daily
, andStart
leave current date & time , set Recur every to1
days, - Section
Advanced settings
:- check
Repeat task every
, choose from list5 mintes
, - select
for duration of
=Indefinitely
, - leave only
Enabled
checked.
- check
- click
OK
- Go to tab Actions and create 5 actions, click
New
and in New action window:
- select Action:
Start a program
, in section Settings enter:- Program/script =
schtasks
- Add arguments =
/change /tn \Microsoft\Windows\UpdateOrchestrator\Reboot /DISABLE
- Program/script =
- select Action:
Start a program
, in section Settings enter:- Program/script =
schtasks
- Add arguments =
/change /tn \Microsoft\Windows\UpdateOrchestrator\MusUx_LogonUpdateResults /DISABLE
- Program/script =
- select Action:
Start a program
, in section Settings enter:- Program/script =
schtasks
- Add arguments =
/change /tn \Microsoft\Windows\UpdateOrchestrator\Reboot_AC /DISABLE
- Program/script =
- select Action:
Start a program
, in section Settings enter:- Program/script =
schtasks
- Add arguments =
/change /tn \Microsoft\Windows\UpdateOrchestrator\Reboot_Battery /DISABLE
- Program/script =
- select Action:
Start a program
, in section Settings enter:- Program/script =
schtasks
- Add arguments =
/change /tn \Microsoft\Windows\UpdateOrchestrator\USO_UxBroker /DISABLE
- Program/script =
- Go to tab Conditions and uncheck evrything,
- Go to tab Settings and check & set (everything else leave unchecked):
- check
Allow task to run on demand
- check
Run the task as soon as possible after [...]
- check
If the task fails, restart every
ans set to1 minute
, and set attmept o restart up to set to10
(but can be higher) - check
Stop the task in runs longer than
and select1 hour
- At bottom If the task is alredy running, then the following rule applies select
Do not start a new instance
- Click
OK
to create task.
Now you have to remember to reboot PC every a while otherwise you might have annoying problems with WU not updating, or can't install updates...