Manual configuration of scheduled tasks "MoveActiveHours" and "PauseWindowsUpdate" #280
-
|
I made a formatting and after finishing the setup I noticed that I forgot to add the options that create the scheduled tasks "MoveActiveHours" and "PauseWindowsUpdate" in my unattend.xml. I would like to know if there is any way of this setup manually. I tried to copy the scheduling tasks from another installation, but I checked the presence of 2 files (VBS and XML) that seem to be used in the task scheduling. I am not sure if all that is there is necessary, which ended up leaving me confused. If you can provide a step-by-step manual setup for these two scheduled tasks, I appreciate the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
To manually add the MoveActiveHours scheduled task later:
To manually add the PauseWindowsUpdate scheduled task later:
|
Beta Was this translation helpful? Give feedback.
To manually add the MoveActiveHours scheduled task later:
C:\Windows\Setup\Scripts\MoveActiveHours.vbs.C:\Windows\Setup\Scripts\MoveActiveHours.xml.Register-ScheduledTask -TaskName 'MoveActiveHours' -Xml $( Get-Content -LiteralPath 'C:\Windows\Setup\Scripts\MoveActiveHours.xml' -Raw );in an elevated PowerShell session.To manually add the PauseWindowsUpdate scheduled task later: