Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
Others have posted some workarounds that directly answer your question, but my own answer to the implied deeper question ("how do I prevent my [currently Windows 10] machine from rebooting during a...
Answer
#1: Initial revision
Others have posted some workarounds that directly answer your question, but my own answer to the implied deeper question ("how do I prevent my [currently Windows 10] machine from rebooting during a long OctoPrint job") is simpler: **Use a better, less controlling OS.** OctoPrint is available for Linux, and is apparently (per Wikipedia) commonly and successfully run on Raspberry Pi (with a special-purpose distribution called OctoPi even providing it pre-installed). So do any of the following: 1. Back up your data and install your choice of Linux distribution in place of Windows (I use a custom Debian spin myself, but something like BunsenLabs or CrunchBang++ is probably a user-friendlier starting point, if you're not familiar with Linux already). 2. Back up your data, partition your hard drive, and install Linux alongside Windows, in a dual-boot setup, and try to gradually learn how to do more and more things in Linux. 3. Install Linux alongside Windows in a dual-boot setup, use Linux for long print jobs and other uninterruptible tasks, and keep using Windows for everything else (requires that you never need to do something else while in the middle of a print job). 4. Get a Raspberry Pi and use that for long print jobs and other uninterruptible tasks, and keep using Windows 10 on your existing machine for everything else.