MSTechpages
  • Home
  • Knowledge Base
  • Reviews
  • Articles
  • About
Articles

Keep Computer Awake With Insomnia

Oct 17, 2010·Dustin·Comments (0)

Estimated Reading Time: 1 min

Microsoft has released a program called Insomnia, including source code. Many times when watching a movie, a PC will try and go to sleep, interrupting the movie. Insomnia fixes this issue by making the computer appear “busy” so that it does not go to sleep.

But what about those times when the computer is busy doing something and the relevant program doesn’t suppress the default sleep behavior? For example, it might be downloading a large file, re-encoding a music collection, backing up the hard drive, or hashing the entire contents of the disk. You don’t want the machine to go to sleep for now, but are otherwise happy with the default sleep behavior. Unfortunately, the easiest way I know of to temporarily suppress sleeping is to go to Control Panel, open the Power Options page, change the power plan settings, commit them – and then remember to undo everything once the task is finished. It’s not hard; but it’s kind of annoying…

Download Here: http://blogs.msdn.com/b/delay/archive/2009/09/30/give-your-computer-insomnia-free-tool-and-source-code-to-temporarily-prevent-a-machine-from-going-to-sleep.aspx

Related Products on Amazon
Networking BookShop on Amazon
Raspberry Pi KitShop on Amazon
IT Study GuideShop on Amazon
USB-C HubShop on Amazon

MSTechPages is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.

#Insomnia #Sleep
Written by
Dustin · Founder and Head Editor, News Poster
Sr. Cybersecurity Engineer - Microsoft MVP Windows Experience (2014-2015)

Dustin is the founder and head editor of MSTechpages. He started the site to help other users of Windows. He has been very active with helping others throughout the years, from USENET to Microsoft Answers to the latest Microsoft Communities as well as other internet forums such as Reddit. He is a Sr. System Administrator, holds several industry certifications and degrees.

View all 1500 articles by Dustin →

Related Articles

Articles

Hotfix: Computers that are running Windows 7 or Windows Server 2008 R2 stop responding at a black screen if a screen saver is enabled

Oct 17, 2010 · Dustin
Articles

Am I A Microsoft Fanboy? A post about Microsoft employees.

Sep 18, 2017 · Dustin
Articles

Microsoft MVP Reconnect Program

Dec 27, 2016 · Dustin

Windows Insider Builds

Beta
26320.10022
Beta (26H1)
28020.3562
Experimental
26340.10032
Experimental (26H1)
28120.3571
Experimental (Future)
29712.1013
Release Preview (25H2/26H2)
26200.10066
Release Preview (26H1)
28000.3612
Recent Knowledge Base Articles
  • Disable Touch Screen in Windows
  • Add “End Task” To Right Click Application on Taskbar
  • Offline install of .Net Framework 3.5 using DISM
  • Disable Autohide Scrollbars
  • Install Active Directory RSAT in Windows 10 1809 or later
  • Disable File Grouping in File Explorer
  • Forget Wireless Networks
  • Show Hidden Files & Folders
  • Enable Night Light Mode
  • How to Fix a Network Printer Showing Offline
MSTechpages

Covering Microsoft since the dial-up days, using Windows since 2.0.

Windows

  • Windows 11
  • Windows Insider
  • Canary Channel
  • Cumulative Updates

Resources

  • Knowledge Base
  • Articles
  • Reviews

Company

  • About
  • Contact
  • Privacy Policy
  • Advertise

© 2026 MSTechpages. All rights reserved.

Privacy