Commentary Logo
Japan Island disputes in SE Asia    World War III Alarm Anti-Islam video and anti-US sentiment    Skull Say no to brainwashing

       peace and anti-war Israel Iran strike imminent    sanctions as a result of nuclear tests Sanctions on Iran and workarounds    black lightning bolt India's massive blackout

Snapshots of news
Gearheads and mastheads
SHORTCUT TO MAIN SECTIONS & ARTICLES
Home  •  About this site  •  How did we once fight corruption in colonial Hong Kong?
 •  Historical US administrative thoughts  •  USA versus colonial Hong Kong
 •  Anti-corruption review of Nigeria  •  Procurement monitoring in Nigeria
 •  Syndicated news  •  Usman's blog  •  Anti-graft news  •  Socialist news

 Friday, May 24 2019 1:27am Hongkong Time

Posted Dec 27, 2012

Back to Blog Index   


How To Automatically Shutdown, Restart Or Logoff Windows At A Specific Time

Do you like scheduling each and every thing in your life whether it’s a simple meet up with a friend or  logging off your computer system at the lunch time? Let your computer sleep when you are inactive but it should wake up when you enter the office room? Well, we can easily schedule shut down, restarts or logging off Windows automatically at a specific time. All it requires is a one time effort of creating and scheduling it. Let’s start step by step.

Shutdown computer at a specific time

Go to Start -> Control Panel -> System and Security

Under System and Security look for the Administrative Tools -> Schedule Tasks

Administrative tools scheduled tasks

This will open the task scheduler. Our aim is to automatically shut down computer at a specific time and we will schedule a task to do so.

You can also directly open the task scheduler by going to Run –> Taskschd.msc

Go to Actions -> Create Basic Task

Note that ‘Create Task’ is used to perform multiple actions simultaneously. Give a suitable name and description to the task and click next.

Task scheduler

It will take you to ”Task Trigger’  and asks how often do you want to perform that task.

Select Daily and set your timings. We have set it to 12:00 AM at night. You may also synchronize it across time zones if you travel often.

Click Next and select the action you want to take.

Select ‘Start A Program’.

Enter the script that will shutdown the computer. It is a simple run command

“shutdown -s”

Start a program at scheduled intervals

Clicking on the next button will take you to the task summary which describes the task name, program to be executed and its trigger. Click Finish to activate the task.

Finish task wizard

You can now re-check your activated tasks in the ‘Active Tasks’ list.

Restart Automatically at Specific Time

Restart computer automatically by performing the same series of steps as discussed above. However, run the following command at the scheduling task.

“shutdown -r”

Log Off Automatically at Specific Time

Yes, you guessed it right. A simple command in the script is enough to tell the system that the user wants to logs off.

“shutdown -l”

Hibernate Automatically at Specific Time

Similarly you can also schedule hibernation of your system following the same procedure.But this time, type in the following script in the ‘start program’ bar.

“shutdown -h”

Usually we don’t need hibernation as a schedule task rather it should be event driven i.e. whenever you leave computer for a specific time period it should be wise enough to fall asleep. To customize these settings:

Go to  Start-> Control Panel -> System and Security

Power Options ->Change when the computer sleeps

Power Options CP

There are three power plans Balanced, Higher Performance and Power Saver. We use ‘Balanced’ plan as default so it is displaying adjustable options that can be used to set the sleep time, display dim and off timing.

Click on the ‘Change advanced power settings’. With the help of advanced options you can customize all power plans and specify a lot of stuff distinctly. Although , you can change it to ‘No’ but make sure that you ask for a password whenever a computer wakes up so that unauthorized access is prevented.

Power Settings Sleep Option

In the Advanced Options window, scroll down to find Sleep -> Hibernate After.

Set your hibernation timings in minutes when you are using system on battery or plugged in.

Apply the changes and select OK.

Power Options

Debug and Edit Scheduled Tasks

We just realized that one of our task did not execute on time…how to debug it now? Let’s start ‘Task Scheduler’ to dig out the problem and fix it.

Go to Start -> Search Bar -> Task Scheduler

In the Active Tasks Section, scroll the list and find your required task. We are trying to change some settings in our PC Auto Shutdown task.

Double click the task name and it will display complete information about it.

To edit the conditions and settings, go to the properties in the right side panel.

A property window will open. We made an error in the action script so we went to ‘Action’, clicked edit and removed the error.

Edit task scheduler

There are many tools available which offer the automatic scheduling of shut down, restart and  log off options etc. Some of which are as follows:

WiseCleaner

inTimer Management

ShutdownGUI

PowerSave Lite

Auto Shutdown Net

Shutdown, Restart, Logoff, Hibernate PC after a specific amount of time

If you want to shutdown the PC after a specific amount of time, you can do so by using the following command:

“shutdown -s -t 30″

Where -s specifies that the system has to shutdown, -t means we are defining a time interval and 30 means the system should shutdown after 30 seconds. For restart, the following command will be used:

“shutdown -r -t 30″

For logoff:

“shutdown -l -t 30″

And for hibernation:

“shutdown -h -t 30″

If anything goes wrong and you want to cancel the count down or scheduling of the shutdown command immediately, just issue the following command:

“shutdown -a”

How To Automatically Shutdown, Restart Or Logoff Windows At A Specific Time is a post from: Technize.NET

The post How To Automatically Shutdown, Restart Or Logoff Windows At A Specific Time appeared first on Technize.NET.


Back to Blog Index   

© Usman Khurshid. Reproduced with permission of the copyright owner.



RELATED ARTICLES

  04/06   Fix USB Device Not Recognized In Windows
  27/05   Using Windows Check Disk (CHKDSK) The Right Way
  26/05   Configure Windows Update Settings In Windows 8
  24/05   Install/Uninstall All Pre-Installed Metro Apps In Windows 8
  20/05   How To Close TCP/UDP Ports In Windows 8 For Better Security
  14/05   "Microsoft Adds Google Chat Support In Outlook.com \x{2013} Here\x{2019}s How To Enable It"
  09/05   How To Enable/Disable Metered Connection In Windows 8
  09/05   Why Using Keygens In Windows 8 Is Not A Good Idea
  09/05   Unhide Files And Folders By Single DOS Command
  08/05   How to Fix Internet Explorer Crashes
  08/05   3 Ways to Enable Remote Desktop Connection In Windows 7
  07/05   How To Enable/Disable Windows Defender In Windows 8
  07/05   Download Skype 6.5 Offline Installers With Video Messaging Support
  04/05   How To Enable Insert Key In Microsoft Word 2007, 2010 and 2013
  04/05   Check Disk (chkdsk) Runs Every Time Windows Starts
  01/05   3 Ways To Enable Super Administrator Account In Windows 8
  29/04   4 Ways To Enable Secure Logon (Ctrl + Alt + Del) In Windows 8
  29/04   Extract List Of Installed Programs In Windows Without Using Any Third Party Software
  28/04   How To Fix Wmploc.dll Version Error In Windows Media Player
  26/04   Extend Office 2013 With 180 Day Trial License
  26/04   iOS 6 Theme For Windows 8 Makes Your PC Look Like iPhone
  18/04   Download Office 2010 Service Pack 2 Beta
  09/04   Windows 8 And Windows Phone 8 Will Be Integrated In Windows Blue
  28/03   Everything You Need To Know About Windows Blue
  24/03   7 Ways to Customize Ribbon UI in Windows File Explorer
  20/03   How To Make Microsoft Word 2013 Touch Friendly
  14/03   Beginners Guide to Microsoft Windows Journal For Tablets
  12/03   How To Be More Productive Using Microsoft OneNote 2013
  11/03   Internet Explorer 10 For Windows 7 Final Offline Installers Direct Download Links
  11/03   Make a Business Calendar with Microsoft Word 2013
  07/03   Add Multiple Timezone Clocks as Desktop Widgets in Windows
  05/03   5 Productive Tips For Windows File Explorer In Windows 8
  28/02   5 Easy Ways To Increase Windows PC Speed Without Installing Additional Software
  22/02   Microsoft Security Essentials 4.2 Full Offline Installers [Direct Download Links]
  22/02   Parental Controls in Windows 8 [Complete Guide]
  20/02   Remove Multiple Windows 8 Store Apps At Once
  19/02   7 Quick Ways To Shutdown Windows 8
  16/02   Play Music and Create Playlists in Windows 8 Xbox Music App
  16/02   How to Use Reader Metro App In Windows 8 [Complete Guide]
  16/02   Download Skype 6.2 Offline Installers [Direct Download Links]
  15/02   Recovering Windows 8 Product Key From BIOS
  07/02   Fake Microsoft Office 2013 Activators And Product Key Generators
  06/02   Windows 8 Touch Gestures And Keyboard Shortcuts Cheatsheet
  05/02   "Mastering Windows 8 Search \x{2013} An Advanced Guide"
  01/02   Block Internet Explorer 10 Automatic Updates In Windows 7
  29/01   Windows 8 Productivity Tips And Hidden Features
  23/01   Get Windows 8 Ribbon Bar In Windows 7 With Better Explorer
  18/01   Messenger Contacts Not Showing In Skype Solution
  17/01   Get Microsoft Office 2013 For Less Then $10
  11/01   Jailbreak Windows RT To Run Third Party Apps
  10/01   Download Skype 6.1 Offline Installer [Direct Download Links]
  02/01   How To Create Restore Points In Windows 8
  01/01   Solution To Microsoft Surface Tablet Cover Split Problem
  30/12   Complete Guide To Run Commands
  27/12   How To Automatically Shutdown, Restart Or Logoff Windows At A Specific Time
  15/12   15 Unique And Useful Windows 8 Keyboard Shortcuts
  15/12   3 Ways To Enable Remote Desktop Connection In Windows 8
  14/12   Download Adobe Reader Metro App for Windows 8
  09/12   How To Use Excel Sorting and Filtering Options With Ease
  06/12   How to Fix Slow Loading Downloads Folder in Windows 8
  06/12   Download Windows Software Development Kit (SDK) For Developing Windows 8 Apps
  03/12   Fake Windows 8 Product Key Generators
  02/12   How To Install Windows 8 Over The Network (LAN)
  27/11   Two Ways To Enable Telnet Client In Windows 8
  27/11   Create ISO Files Using Command Line In Windows 8
  26/11   Windows 8 Security: How Secure Is Windows 8?
  24/11   How To Login With A Different User Account In Windows 8
  16/11   Office 2013 RTM Final Direct Download Links
  14/11   "Download Microsoft Office 2013 Proofing Tools \x{2013} Fonts, Spelling, Translations [All Languages]"
  13/11   Download Internet Explorer 10 For Windows 7 (All Languages)
  10/11   How To Use Startup Folder To Add Or Remove Items In Windows 8 Startup
  10/11   How To Remove Synchronization Data In Windows 8 With A Microsoft Account
  10/11   Buy And Download Windows 8 Using Windows 8 Upgrade Assistant
  06/11   Download Windows 8 For Dummies And Introducing Windows 8 E-books Free
  05/11   How To See CPU Utilization Of All Cores (Logical Processors) In Windows 8
  16/10   What Is Microsoft Surface? Full Technical Specifications And Pricing Revealed
  09/10   Windows 8 Updated Even Before Service Pack 1 (KB2756872)
  07/10   Microsoft Issues DMCA Notices Against BBC, CBS, CNN, Wikipedia And The US Government
  06/10   First Windows 8 Laptops Available On HSN
  06/10   Microsoft Office 2013 Security Cracked By ElcomSoft
  06/10   Windows 8 Pro And Windows Server 2012 Pricing Leaked
  05/10   Microsoft To Raise Product Prices By 25% In India
  04/10   Exciting Changes To Windows 8 Built-In Apps
  04/10   Microsoft Acquires PhoneFactor, A Multi Factor Authentication Company
  02/10   How To Fix And Resolve Internet Explorer 10 Crashes
  01/10   How To Manually Install Language Packs In Windows 8 (lp.cab Files)
  30/09   Download Microsoft Security Essentials 4.1 Full Offline Installers (All Languages)
  28/09   Download Microsoft Security Essentials 4.1 Full Offline Installers (All Languages)
  25/09   How To Search Windows 8 Store Apps
  24/09   Windows Server 2008 Official Support Will End In January 2015
  24/09   Open And Edit Any Post In Windows Live Writer 2012
  21/09   Upgrade Previous Version Of Windows To Windows 8
  18/09   Download Free E-Books From Microsoft Press
  18/09   5 Windows 8 Compatible Audio Players You should Not Miss
  17/09   Windows 8 Surface RT Tablets Will Have FREE Edition Of Office Installed
  14/09   Download Skype 5.11 Offline Installer With Facebook/Microsoft Account Login
  13/09   Windows 8 Metro Apps Is Now Windows Store Apps
  12/09   Enable/Disable App Notifications In Windows 8
  08/09   4 Radical Ways In Which Microsoft Has Made Windows 8 More Secure
  23/07   Download Microsoft Office 2013 Customer Preview (Offline Installers)
  23/07   Windows 8 Release Date In October, How To Upgrade Cheaply?
  01/06   How To Install Windows Media Center In Windows 8 Release Preview
  31/05   Download Visual Studio 2012 Release Candidate For Windows 8 (All ISO Images)
  31/05   Download Windows Server 2012 Release Candidate (ISO And VHD)
  31/05   Windows 8 RTM Release Date Leaked
  31/05   Download Windows 8 Release Preview (All Languages)
  29/05   Windows 8 Release Preview Chinese Edition(build 8400) leaked
  29/05   Upgrade From Windows 7 To Windows 8 In $14.99
  25/05   How To Remove System Tray Icons In Windows 7
  23/05   So.cl Social Network By Microsoft. Is It For You?
  16/05   Upgrade From Windows 7 To Windows 8 In $14.99


OTHER CATEGORIES



GAMES


INTERNET


LIST


SECURITY


SOFTWARE


TIPS

ABOUT THE CONTRIBUTOR

Usman Khurshid is a network consultant who works in a mixed environment of Windows and Linux platforms. He studies about the latest advancements in computer technology and shares his views on this technology blog.

Email Usman at usman {at} technize {dot} com



Commentary and reflection pages by Raymond Cheng, PhD DPA FRSA

  Main • Commentary   Special Foci • Syndicated News | Corruption | Socialism | GuanXi

  Health Related • Traditional Chinese Medicine   Others • OXLL


© 1997-2018 The Commentary, Office of Dr Raymond Cheng. All rights reserved. Copyright of selected news articles, the headlines and logos belongs to the respective entities. Read disclaimer

Digital platform powered by Wyith Limited, Wyith Institute. Wyith Limited and Wyith Institute are associated businesses operated by the Office of Dr Raymond Cheng • Dr Raymond Cheng & Partners Ltd and The Commentary Ltd.

SHORTCUT TO MAIN SECTIONS & ARTICLES
Home  •  About this site  •  How did we once fight corruption in colonial Hong Kong?
 •  Historical US administrative thoughts  •  USA versus colonial Hong Kong
 •  Anti-corruption review of Nigeria  •  Procurement monitoring in Nigeria
 •  Syndicated news  •  Usman's blog  •  Anti-graft news  •  Socialist news

Contact the editor at raymond {dot} cheng {at} kellogg {dot} oxon {dot} org

RESERVED SECTION FOR MEMBERS
The RendezvousBuildersCommentatorsContributorsReadersResearchers
Reflection Pages • Miscellaneous Stuff
The difference between instant evaluation and improving recognition – November 20
Freddy Krueger revisited: Politically correct education? – October 23
From the evaluator's perspective: Justified conclusions and decisions – October 8
Online and distance-learning degrees from the evaluator's perspective – September 25
The moment fake degrees turned recognized and appraised – September 9

Photo credits for top title bar, from left to right: Iza H (Work), Lukasz Gumowski (Blue balls), Marcin Bania (Smiling and naked), Lautaro Gonda (Milan station), Jan Abt (Girl taking a picture), Daniel Tang (Hot switch), Barbara Henry (Moriah reading), Ralf Herrmann (Checkmate II), Marko Roeper (Led #4), Ian Russell (Girl in downtown LA).
Note: Animated GIF graphics and clipart obtained from amazing-animations.com, gifs.net, findicons.com, clker.com and sevenoaksart.co.uk. Sketches, cartoons and other handdrawings courtesy of Alice-the-Artist.

Special Alert! This is *NOT* the American Jewish Committee's Commentary Magazine! Special notice! This is not the American Jewish Committee's Commentary Magazine nor are we in any way affiliated with them. To visit AJC's magazine, please go to commentarymagazine.com instead, thank you for your attention.
Memo with pin Technical memos for members
Receiving using Gmail | Sending using Gmail
0x800ccc0e | 0x800ccc19 | 0x800ccc79

This site is best viewed with Microsoft® Internet Explorer 6.0 or above, minimum 1024x768 16M color-depth resolution. The Commentary Group and its personnel do not endorse external sites and are not responsible for the content of these websites. All external sites will open in a new browser window.




 
COUNT ON THE STATISTICS  100% Towels (c) Daniel Chittka
Photo © Daniel Chittka

This new section contains some interesting statistics in bribe and corruption, please check back for more as we pile up our numbers!

It's statistics time!  Using n-gram: kickback, graft, bribe and corruption - Comparison of their historical occurrences from 1810 to 2009 A.D.

  The word guanxi (collocation) and meanings of bribe: Deeply rooted, disgusting, sad endings

ADVERTISEMENT
Search for a domain name - no obligation!
www.  
 enter a name, word or phrase
 choose an extension
 click go!
LATEST STUFF TO PONDER UPON
Looking for a good book (c) Doug Logan
Photo © Doug Logan
tagged by area of interestBY AREA OF INTEREST
Trends
Pragmatics: Politeness trends from the historical perspective of global trade
Computer mediated communications: Social network – Came riding the waves of amazing coincidences
Analysis
Language acquisition:
A critique on "A corpus driven study of the potential for vocabulary learning through watching movies"

Grammatical analysis: "When a linguist stumbled upon a Buttonwood"
Lexicon and the corpus: "John Sinclair's lexical items – an introduction"
tagged by regionBY REGION • Anything AsiaUS Presence in Asia
ChinaTaiwanHong Kong and MacauJapanKoreaSingaporeMalaysiaPhilippinesPakistanIndiaAfghanistan0 • Vietnam, Laos, Cambodia, Thailand and MyanmarTimor-Leste and IndonesiaMongoliaNew Zealand and Australia
tagged by topicsBY TOPIC • BiofuelRhino and elephant poachingAmerican movies hit China marketChina Internet censorshipChina's outward FDI opportunitiesGlobal rice yield
GLUCK ON SOCIALISM AND CHINA Asia (c) Robert Churchill
Photo © Robert Churchill

Professor Sidney Gluck (c) Sandi BachomI am honored to have obtained Professor Sidney Gluck's (right) permission to allow me to repost here some of his work and interview related to China and socialism. Professor Gluck is professor emertius at the New School University in New York. A classical Marxist, Gluck has been studying China for 60 years in history and modern development. He has lectured all over the U.S. and still welcomes engagement at the age of 94 – photo © Sandi Bachom

FEATURED ARTICLES

COMING 2019 – COMPUTING CORPUS Active Network Hub (c) Phil Sigin-Lavdanski
Photo © Phil Sigin-Lavdanski

Oh, please do not get me wrong. This new section is not about computers, electronics or any engineering stuff, but rather I am currently constructing a new corpus based on Spectrum, the monthly publication from the Institute of Electrical and Electronics Engineers USA, from July 2007 to date. Having been a member for over 20 years since 1992, I am always fascinated by some of the terms scientists use when they talk about or envision their new inventions or methodologies. How many of them eventually come into practice? Could there be some insights we could possibly derive, from the linguistics perspective?

IMPORTANT NOTICE AND DISCLAIMER

This website is published and designed by Raymond Cheng, PhD DPA and reflects only his personal views and opinions in his individual capacity. It does not represent the views and opinions of his firm, employer(s), students, etc., and is not in any way sponsored or endorsed by any other thrid parties. Click here to read my full disclaimer
SHARE THIS WEBSITE WITH SOCIAL MEDIA

Share on Twitter  Add to Facebook  Share on LinkedIn  +1 on Google