How-To Geek

Don't Sleep Keeps Your Windows Machine Awake

Don’t Sleep is an ultra lightweight and portable application that fills a niche need perfect: sometimes you need to temporarily keep your Windows machine from shutting down or power saving without making any permanent changes to your power profile.

Fire up portable Don’t Sleep and tell it how long you want it to stop your computer from shutting down, going to sleep (standby/hibernation), and/or keeping the monitor on. At the end of the monitoring period you can have it turn itself off, stay on but stop blocking, or shut down your computer. It’s a great application for those times you need to alter how your computer handles hibernation mode, activating the screensaver, or other automated tasks without making any permanent changes to your power profile or other settings.

Hit up the link below to read more and grab a copy. Don’t Sleep is freeware, Windows only.

Don’t Sleep [via The Portable Freeware Collection]

Jason Fitzpatrick is a warranty-voiding DIYer who spends his days cracking opening cases and wrestling with code so you don't have to. If it can be modded, optimized, repurposed, or torn apart for fun he's interested (and probably already at the workbench taking it apart). You can follow him on if you'd like.

  • Published 03/1/11

Comments (4)

  1. Grant Prudlow

    The timer’s a nice feature, but if you don’t need it, you can easily create a Power Plan that does the same thing.

  2. Grant Prudlow

    (a *new* power plan, that is, which wouldn’t cause any permanent changes and you can always delete it)

  3. pandaSmore

    How do you set your pc to auto sleep after X amount of time?

  4. Charley - Nerds On Site


    On Windows we can use the Command Line to enable this function, so this means we can create a batch file to do the same function : )

    To test:

    Start –> Run –> (type) CMD and OK
    in the blackbox at the > prompt

    shutdown -s -t 600
    and Enter
    A box will pop-up stating machine is shutting down in 10 minutes

    to cancel type shutdown -a at the > prompt

    Shutdown is the command; type shutdown /? to view options and switches

    the -s switch tells the PC to shutdown (Power Off)
    the -t switch indicates there is a Time value
    and time is indicated in Seconds so 600 would be 10 minutes from when the Command is run

    If you would like a specific time i.e 90 minutes you could then create a batch file (adjusting the time value as required)

    Type the following into Notepad and when saving select all file types and save as Shutdown.bat
    cmd /k shutdown -s -t 5400

    [Change the -t value to Suit]

    Save to a location, right-click select “Send to Desktop”, right-click Properties, Shortcut and Change Icon, rename to SHUTDOWN.


    To cancel a Shutdown Start – Run – CMD and Shutdown -a (the -a switch cancels the process)

    To shutdown computer at a specific time of day set a Schedule task to run the batch file ( ie sceduled task runs at 19.00 to gracefully shutdown computer at 19.15)

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!