r/techsupport • • 11h ago

Open | Windows opensource/free applications for windows that prevent shutdown

I have to keep my computer on overnight however i have to turn off my screen as its too bright for night. I set my screen to off after a minute but never to sleep. The screen turned off at around 1140pm, and my computer fans and all were still spinning, which meant my program that had to run overnight was still on. However, at around 240 am, the computer shut down and closed all applications. this is very annoying as i need to restart the application thing from scratch and its very very long. I will not be elaborating on this program, but it is very low performance but need to be on long time. before anyways says, i already set computer to put to sleep :never. thanks !

1 Upvotes

16 comments sorted by

13

u/N3utro 11h ago

Open the windows event viewer app, double click on "windows logs" on the left panel then select "system" and check the logs around the time the PC shut down to see what it says

6

u/jbaker88 10h ago

This OP. The application you're running could be causing the shutdown if you have your power settings correct.

0

u/Nyayanyami 9h ago

its hexchat irc

18

u/UltraChip 11h ago

Wouldn't it make more sense to figure out why the computer shut itself off instead of hoping for a third party program?

I would start by investigating your update settings: Windows is infamous for rebooting itself to apply updates.

10

u/Saetric 10h ago

Power and sleep settings, check that hibernate is set to off, is another good one

14

u/AryssSkaHara 11h ago

Microsoft's own PowerToys, it has Awake utility that should do the trick. It also has a bunch of other handy things.

6

u/unbounded65 10h ago

MS Powertoys Awake does that for you.

2

u/UselessDood 6h ago

Windows doesn't auto shutdown. It will sleep, but not shutdown. Powertoys can prevent the sleep but if it is shutting down then you really need to figure out why.

2

u/papercut2008uk 10h ago

You can just type 'Power Options' in the start search box, click on 'Change Plan' next to the one you have set, 'put the computer to sleep' set to never.

1

u/Lance-Boyle-666 10h ago

If nothing else works, you can try a mouse jiggler (either software or hardware) to move the mouse slightly to prevent shutdown or sleep.

1

u/Icy_Definition5933 11h ago

Windows has the feature built in, type in search bar "closing the lid" and it will take you to a settings page that determines what your computer does while on battery and ac power as far as sleep is concerned. You can just tell it to never sleep and close the lid or power off the screen, no need to set the screen timer in windows. Alternatively, you can do more precise changes by editing the power plan

0

u/Ahren_with_an_h 6h ago

I'm pretty sure the power settings is the only thing that would cause sleep, shutdown, or hibernation.

Also, you can set programs to start up with the computer if you put a copy of their shortcut in shell:startup

Also, you can tell your motherboard to start up the moment it receives power. That way, if you ever have a power outage, the moment you get it back the computer will boot itself, then launch the programs in the startup folder.

0

u/Illustrious_Bath_889 11h ago

It appears to be a 3hr difference. Do this in the morning or when you have time to monitor it. See if it's happening at the same time range. If so, some app or setting is triggering it. 

You can set the power settings so that when you press the power button to turn off the screen and not shutdown. This allows you to keep the lid open but display off. This helps vent some heat through the keyboard and not only through the vent paths only if the laptop shuts off due to over heating. 

-2

u/KoldPurchase 11h ago

Not open source, but still:
https://www.zhornsoftware.co.uk/caffeine/index.html#download

Windows often ignores your command to stay awake, this solves it.