[experimental] re-added tweak: post-setup script - disable update reboot

this disables the scheduled task, which force-restarts your PC randomly
after an update.
This commit is contained in:
Fierelier 2020-02-23 10:29:20 +01:00
parent 9b4db0a896
commit f1430729ee
2 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,7 @@ i do not guarantee that that all of the reversals are accurate across different
| ✔ | [disable fast startup](../tweaks/ten/disable fast startup) | when using fast startup, your computer never properly shuts down, but rather hibernates. this can leave you with an unstable system after a while, if you do not restart. see below for more info on hibernation and another reason as to why this is disabled. | | ✔ | [disable fast startup](../tweaks/ten/disable fast startup) | when using fast startup, your computer never properly shuts down, but rather hibernates. this can leave you with an unstable system after a while, if you do not restart. see below for more info on hibernation and another reason as to why this is disabled. |
| ✔ | [disable hibernation](../tweaks/longhorn-series/disable hibernation) | hibernation locks down your file system while windows is hibernating or shut down (if fast startup is enabled). editing the file-system outside of windows while this is the case, perhaps for recovery purposes, can likely corrupt your data. | | ✔ | [disable hibernation](../tweaks/longhorn-series/disable hibernation) | hibernation locks down your file system while windows is hibernating or shut down (if fast startup is enabled). editing the file-system outside of windows while this is the case, perhaps for recovery purposes, can likely corrupt your data. |
| ⚠️ | [disable low battery hibernation while charging](../tweaks/longhorn-series/disable low battery hibernation while charging) | fixes the annoying behavior where windows will hibernate randomly while the device is charging. this can happen especially on old/dead batteries. if you are using a weak charger, you may want to exclude this tweak. | | ⚠️ | [disable low battery hibernation while charging](../tweaks/longhorn-series/disable low battery hibernation while charging) | fixes the annoying behavior where windows will hibernate randomly while the device is charging. this can happen especially on old/dead batteries. if you are using a weak charger, you may want to exclude this tweak. |
| ❌ | ~~post-setup script - disable update reboot~~ | this disables the scheduled task, which force-restarts your PC randomly after an update. pending re-implementation. | | ❌ | [post-setup script - disable update reboot](../tweaks/ten/post-setup script - disable update reboot) | this disables the scheduled task, which force-restarts your PC randomly after an update. |
<br> <br>

View File

@ -0,0 +1,3 @@
schtasks /change /tn "\Microsoft\Windows\UpdateOrchestrator\Reboot" /disable >nul
echo. >"%windir%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot"
echo y| cacls "%windir%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot" /D "SYSTEM"