How can I keep my Windows machine awake?

1152330 pts.
Tags:
Java
Microsoft Windows
I have a specific piece of software (was written in Java) that's running on my PC. Which is also running Windows. I want this software to tell (or signal) the operating system to keep my machine awake. I don't want it to go to sleep mode. Is there a C program to do this?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

IT may be your pc power setting that is causing the shutdown. If this job has to run constantly then you may want to turn off the dim / power down functions. These can be found in the hardware settings in the control panel.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • bhannah
    While it may be a power issue that can be controlled from the control panel by changing when the computer sleeps in the power options to never, also check the screen saver options too, to make sure that it is not going to sleep from there either. Also make sure that the Bios settings on bootup for power are also set to never.
    4,590 pointsBadges:
    report
  • brahmachary
    Voice recorder setting
    10 pointsBadges:
    report
  • Kevin Beaver
    So, is this custom software that you control? If so, there are plenty of ways to keep the computer awake. More context/info would be helpful.
    27,520 pointsBadges:
    report
  • ToddN2000
    To keep it awake you can adjust the power settings to never shut down while inactive. There will be 2 setting, 1 if running on battery and 2 when it's plugged in. You may need to change both.
    135,305 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: