you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (2 children)

The 'keep changing hours' section in this article works for me whenever I have to use that partition.

https://www.thewindowsclub.com/windows-updates-restart-disable

You pretty much create the script and have the task scheduler run it hourly. (You should be able to make it silent, though I've never bothered for the hourly, half-second cmd blip)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 1 year ago*

    You should be able to make it silent

    You can make it silent. Create a .vbs file, open it in a text editor, and input the following...

    Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "z:\path\to\your\script.cmd" & Chr(34), 0 Set WshShell = Nothing

    Have your scheduled task run the .vbs, rather than your initial script.

  • source
  • parent