Click here to Skip to main content
Click here to Skip to main content

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

Introduction

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!

Motivation

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.

License

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

Share

About the Author

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

Comments and Discussions

 
GeneralMy vote of 5 Pinmembervalmik ramesh chhadikar2-Jul-10 0:17 
GeneralMy vote of 2 PinmemberAjizen13-Oct-09 9:13 
Generalhelp me pleaseeeeeee PinmemberCarmen_yani12-Sep-09 16:11 
GeneralNeed some help PinmemberPhope26-Apr-07 11:33 
AnswerRe: Need some help PinmemberSuneth Mendis30-Apr-07 19:54 
Generaldissapointed Pinmembera ghost30-Jan-07 4:28 
QuestionWill it work when windows log off automatically? Pinmembermajor_mortimer22-Aug-06 5:47 
GeneralDemo Error PinmemberWesleyHowe11127-Oct-05 3:02 
Generalshutdown -i Pinmemberreinux22-Oct-05 0:04 
GeneralAMP WinOFF PinmemberJohn N25-Oct-05 14:34 
GeneralRe: shutdown -i PinmemberSuneth Mendis27-Oct-05 18:55 
GeneralA good utility... PinmemberJun Du21-Oct-05 6:51 
GeneralRe: A good utility... PinmemberSuneth Mendis27-Oct-05 18:45 

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

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

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