Recommended Posts

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
https://www.neowin.net/forum/topic/1267066-shutdown-gaming-pc-on-no-input/
Share on other sites

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.

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.

  • 4 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • https://www.tenforums.com/tuto...b-results-windows-10-a.html Check the comment dates. Some of them are as old as 2016.
    • I wonder how many are laid off for cost savings, and this being blamed on AI to make it sound less scary and bad, for a more positive "modern, with the times" spin for investors? Because Oracle is down 14% the past year. We're looking at a company struggling here. If AI would actually be working out so well for them that they can do massive layoffs, surely this would've been reflected the past year in their stock value?
    • AI is the beginning, wait until real robots replace more jobs, specifically jobs that require physical work.
    • AI is indeed eliminating jobs, and Oracle just proved it by Hamid Ganji There’s no question that AI has become the hottest trend in workplaces, and every company is trying to adopt AI-driven solutions across its operations. While some industry leaders repeatedly say AI won’t lead to massive layoffs, recent data suggest that AI is actually one of the main reasons some companies are reducing their workforce. According to Oracle’s annual regulatory filing, the company has laid off about 21,000 employees, or 13% of its workforce, amid increasing AI adoption. “The adoption and deployment of AI technologies across our operations have resulted, and may continue to result, in reductions to our workforce,” Oracle said in the filing. The software giant now has approximately 141,000 full-time employees, a notable decrease from 162,000 during the same period last year. Restructuring expenses, including severance payments, cost Oracle $1.84 billion in fiscal 2026. Additionally, around 49,000 Oracle employees were based in the U.S., while approximately 92,000 were employed internationally. Like many other companies, Oracle has fully embraced AI and concentrated much of its efforts on the technology. The company is also a key participant in the United States’ $500 billion Stargate Project, which aims to build multiple AI data centers across the country. When it comes to AI adoption and its impact on the workforce, opinions remain divided. NVIDIA CEO Jensen Huang, whose company has been one of the biggest beneficiaries of the AI boom, recently said in an interview that attributing job cuts to AI is a “lazy” narrative. “The narrative that connects AI to job loss, for many of the CEOs that are doing it – it is just too lazy. AI has just arrived, how is it possible they're already losing jobs?” Huang said. However, statistics and recent reports tell a different story. According to Layoffs.fyi, 196 tech companies have laid off about 119,800 employees so far this year. Reducing staff and replacing roles with AI agents could become one of the most significant trends in the job market in the years ahead.
  • Recent Achievements

    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
  • Tell a friend

    Love Neowin? Tell a friend!