Click here to Skip to main content
12,758,918 members (34,006 online)
Click here to Skip to main content
Add your own
alternative version


48 bookmarked
Posted 20 Oct 2005

Windows Shutdown Timer with a One Minute Warning

, 27 Oct 2005 Apache
Rate this:
Please Sign up or sign in to vote.
Allows the user to shutdown Windows at a time the user sets.

Sample Image - ShutdownTimer.jpg


What if you can initiate the Windows shutdown sequence at a specific time you set, without the need for you to be physically present in front of the computer? Well, this tool allows you to do just that! You can shutdown, logoff, hybernate, or stand by your Windows PC at any time you wish to.

Plus, it gives you a one minute warning in case you change your mind!


I often listen to slow classical music while going to bed. 9/10 times, I fall asleep without shutting down my PC. So I looked for a tool to shutdown my PC at a time I set... Most of the applications I found weren't freeware. So I decided to write my own application. And here it is!

Two ways to initiate the shutting down

  1. User can set a time in the clock (E.g.: shutdown at 22:00 hrs.).
  2. User can start a count down timer (E.g.: shutdown in 10 mins.).

Code Re-used

Although I designed and wrote the code, I re-used some of the code from other projects published here and else where.

  • TaskbarNotifier is a class I downloaded from CodeProject which shows a MSN like popup to give the user a one minute warning. I changed the display attributes to suit my popup window size and colours.

  • The WindowsController class was downloaded from here.


This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


About the Author

Suneth Mendis
Web Developer
Japan Japan
I'm Software engineer working for Ephox Corporation, Brisbane Australia.

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
valmik ramesh chhadikar2-Jul-10 0:17
membervalmik ramesh chhadikar2-Jul-10 0:17 
GeneralMy vote of 2 Pin
Ajizen13-Oct-09 9:13
memberAjizen13-Oct-09 9:13 
Generalhelp me pleaseeeeeee Pin
Carmen_yani12-Sep-09 16:11
memberCarmen_yani12-Sep-09 16:11 
GeneralNeed some help Pin
Phope26-Apr-07 11:33
memberPhope26-Apr-07 11:33 
AnswerRe: Need some help Pin
Suneth Mendis30-Apr-07 19:54
memberSuneth Mendis30-Apr-07 19:54 
Generaldissapointed Pin
a ghost30-Jan-07 4:28
membera ghost30-Jan-07 4:28 
QuestionWill it work when windows log off automatically? Pin
major_mortimer22-Aug-06 5:47
membermajor_mortimer22-Aug-06 5:47 
GeneralDemo Error Pin
WesleyHowe11127-Oct-05 3:02
memberWesleyHowe11127-Oct-05 3:02 
Generalshutdown -i Pin
reinux22-Oct-05 0:04
memberreinux22-Oct-05 0:04 
GeneralAMP WinOFF Pin
John N25-Oct-05 14:34
memberJohn N25-Oct-05 14:34 
GeneralRe: shutdown -i Pin
Suneth Mendis27-Oct-05 18:55
memberSuneth Mendis27-Oct-05 18:55 
GeneralA good utility... Pin
Jun Du21-Oct-05 6:51
memberJun Du21-Oct-05 6:51 
GeneralRe: A good utility... Pin
Suneth Mendis27-Oct-05 18:45
memberSuneth Mendis27-Oct-05 18:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 27 Oct 2005
Article Copyright 2005 by Suneth Mendis
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid