benplace Posted August 1, 2015 Share Posted August 1, 2015 I have a gaming PC setup that I want to shut off automatically after no user input after say 45 minutes. I assumed I would set up a batch file with "shutdown /f" in it and schedule it for on idle using task scheduler. This doesn't work when the CPU is not idle. Does anyone have an idea for how to force a PC to shutdown when no user input has been detected for a period of time, even if a game or app is using the CPU? My kids walk away and leave their games open all the time. I am not worried about save games, if they walk away without saving thats their fault. Link to comment Share on other sites More sharing options...
FiB3R Posted August 1, 2015 Share Posted August 1, 2015 (edited) You can put it to sleep from within the power options, if that is good enough for you? Control Panel > Power Options > Change Plan Settings. +E.Worm Jimmy 1 Share Link to comment Share on other sites More sharing options...
benplace Posted August 1, 2015 Author Share Posted August 1, 2015 No, I want it to shut down. Also sleep wont work with games open. I tried that and hibernate both with a game running and it set to 2 minutes. Link to comment Share on other sites More sharing options...
FiB3R Posted August 2, 2015 Share Posted August 2, 2015 http://forums.anandtech.com/showthread.php?t=2332556 +E.Worm Jimmy 1 Share Link to comment Share on other sites More sharing options...
binaryzero Posted August 5, 2015 Share Posted August 5, 2015 Start asking them to chip in some of their pocket money into the power bill, see how fast things change. ZakO and francescob 2 Share Link to comment Share on other sites More sharing options...
MikeChipshop Member Posted August 5, 2015 Member Share Posted August 5, 2015 Hibernate should do it. Not sure if the games will stop this happening though. Link to comment Share on other sites More sharing options...
BinaryData Posted August 6, 2015 Share Posted August 6, 2015 Hibernate should do it. Not sure if the games will stop this happening though. Hibernate might not work.@ OP Why not hire someone or ask someone to develop a script. I'm assuming this is windows, right? If you'd like, I can look into it. Shouldn't be TOO difficult to do.1. Load the shutdown45.exe into the start up menu.2. Configure the config file (Time / idle % (what % and below it should consider "idle"))3. let it run.I'll ask my C++ guru buddy if he can whip something up quickly. If it's an extensive program, I'll toss him some $$ on your behalf. Since I'm asking. Link to comment Share on other sites More sharing options...
zhangm Supervisor Posted August 9, 2015 Supervisor Share Posted August 9, 2015 I have a gaming PC setup that I want to shut off automatically after no user input after say 45 minutes. I assumed I would set up a batch file with "shutdown /f" in it and schedule it for on idle using task scheduler. This doesn't work when the CPU is not idle. Does anyone have an idea for how to force a PC to shutdown when no user input has been detected for a period of time, even if a game or app is using the CPU? My kids walk away and leave their games open all the time. I am not worried about save games, if they walk away without saving thats their fault. Haven't tried this screensaver myself, but point it at a file. http://www.donationcoder.com/Software/Skrommel/index.html#RunSaver You can trigger shutdown with the command shutdown -s -t 0, or add some delay e.g. shutdown -s -t 60 for an alert and one-minute countdown to shutdown. Link to comment Share on other sites More sharing options...
benplace Posted September 2, 2015 Author Share Posted September 2, 2015 Screen savers do not stay active when games are launched. Link to comment Share on other sites More sharing options...
Recommended Posts