locked
Automatically Start Windows and Automatically Shutdown Windows RRS feed

  • Question

  • Is there a way to automatically start up Windows on specific hours of days and later on, to shut it down automatically again?

    I want to allow remote access to a PC on specific time slices of the day and at the same time, outside these time slices to have computer powered off in order to save power.

    Saturday, October 2, 2010 5:50 AM

Answers

  • Is there a way to automatically start up Windows on specific hours of days and later on, to shut it down automatically again?

    I want to allow remote access to a PC on specific time slices of the day and at the same time, outside these time slices to have computer powered off in order to save power.


    The most basic way of selecting a bootup time / date would be set in the BIOS, if your BIOS supports this feature. If your bios does not support this feature... it is probably not worth the hassle (enabling wake on LAN, setting up another machine to be on 24/7 and send a wake up packet at a certain time).

     

    As for shutting down... you can tell windows to shut down via a scheduled task. You would want to schedule shutdown.exe , which should reside in your system32 folder.

    • Proposed as answer by EnriqueI Sunday, October 3, 2010 12:40 AM
    • Marked as answer by Leo Huang Monday, October 11, 2010 12:44 AM
    Saturday, October 2, 2010 6:22 AM

All replies

  • Is there a way to automatically start up Windows on specific hours of days and later on, to shut it down automatically again?

    I want to allow remote access to a PC on specific time slices of the day and at the same time, outside these time slices to have computer powered off in order to save power.


    The most basic way of selecting a bootup time / date would be set in the BIOS, if your BIOS supports this feature. If your bios does not support this feature... it is probably not worth the hassle (enabling wake on LAN, setting up another machine to be on 24/7 and send a wake up packet at a certain time).

     

    As for shutting down... you can tell windows to shut down via a scheduled task. You would want to schedule shutdown.exe , which should reside in your system32 folder.

    • Proposed as answer by EnriqueI Sunday, October 3, 2010 12:40 AM
    • Marked as answer by Leo Huang Monday, October 11, 2010 12:44 AM
    Saturday, October 2, 2010 6:22 AM
  • Every machine I have owned for the last 20d years all have the ability to wake on an alarm clock in the BIOS.

    Now shut down will have to be done with a program as Windows does not have a feature to shutdown itself.

    I could provide such a solution.

     


    Vote if answered or helpful, I am running for Office (joke)!

    Developer | Windows IT | Chess | Economics | Hardcore Games | Vegan | PC Reviews

    You are incorrect. You can have shutdown.exe (or a batch file that calls it) run as a scheduled task.
    Sunday, October 3, 2010 12:40 AM
  • shutdown will sometime get caughtup on some programs with save open

     


    Vote if answered or helpful, I am running for Office (joke)!

    Developer | Windows IT | Chess | Economics | Hardcore Games | Vegan | PC Reviews


    That is what the /f parameter is for. (/f is implied if using the /t parameter, by the way)
    Sunday, October 3, 2010 4:59 AM
  • Only once have I had a windows machine hang while using shutdown.exe

     

    It was a Pre SP2 Windows XP machine. I've never seen the shutdown process hang on an XP SP3, Server 2003, or server 2008 machine. I have also not seen it hang on a Windows 7 machine (though I've only been trying out 7 for the past few weeks now).

     

    I've run windows server in both physical and virtual environments.... never had a problem.

    Sunday, October 3, 2010 6:34 AM
  • A virtual environment will only make it easier to shut down a guest OS. The hypervisor can initiate a shutdown via guest "tools" or "OS Additions"... and if that does fail, it can trigger a soft off, and eventually a hard off (akin to pulling the plug out of the back).

     

    I have yet to see a situation where you need a third party program to shut down windows.... and every third party program I've seen has eventually called the shutdown process in one way or another.

    Monday, October 4, 2010 12:30 AM
  • True... I can be dense at times but I fail to see how your program is better than the built in Windows shutdown utility.
    Monday, October 4, 2010 12:21 PM
  • Just buy a mac.  They've had this functionality built-in for years.
    Tuesday, February 14, 2012 2:05 PM