Friday, 3 December 2021

Prevent Windows 10 from shutting down/sleeping using Python

I would like to build a program that prevents Windows 10 from shutting down or going to sleep. The program should be running in the background and it stops any shutdown/sleep attempts. I found this post to be quite informative but could not seem to correctly build a program with the given information in PyWin32.

I'd appreciate it if someone could show me a working program that stops Win10 from shutting down.



from Prevent Windows 10 from shutting down/sleeping using Python

No comments:

Post a Comment