EggXpert

A community site dedicated to Newegg shoppers.
Welcome to eggXpert.com. Sign in | Join | Help
in Search
Advanced Search

Shut down ur pc without software

Last post 09-19-2008, 1:12 AM by Eidolon. 11 replies.
Sort Posts: Previous Next
  •  08-11-2008, 1:56 PM 372296

    Shut down ur pc without software

    What will u do if you want to let your computer automatically shut down at a certain time?

     

    I usually download some software to do this. However, it is not allowed to download or install

     

     anything on my working computer, then can we do this without other software?

     

    The answer is yes, I have found an easy tip to shut down ur pc without download anything.

     

    For example, you want to shut down your computer on 22:00, u just need do as the following:

     

    Click “StartàRun”, then input “at 22:00 Shutdown -s”.

     

    Then the “Shut down window” will popup out on 22:00, there will be a 30-seconds countdown

     

    and a hint of asking you to save ur work.

     

    If you want to shutdown ur computer by countdown, you can input “Shutdown.exe -s -t 3600”,

     

    which means your pc will automatically shut down after 60 minutes (3600 means 60minutes)

     

    After setting the shutdown time, you can cancel the setting by input “shutdown -a” as well.


  •  08-11-2008, 5:54 PM 372439 in reply to 372296

    Re: Shut down ur pc without software

    That's a good one Hyacinth!   I use it on some old PCs which do not support power management.

    If folks run shutdown /?  they'll see other potential uses:

     Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

            No args                 Display this message (same as -?)
            -i                      Display GUI interface, must be the first option
            -l                      Log off (cannot be used with -m option)
            -s                      Shutdown the computer
            -r                      Shutdown and restart the computer
            -a                      Abort a system shutdown
            -m \\computername       Remote computer to shutdown/restart/abort
            -t xx                   Set timeout for shutdown to xx seconds
            -c "comment"            Shutdown comment (maximum of 127 characters)
            -f                      Forces running applications to close without warning
            -d [ u ][p]:xx:yy         The reason code for the shutdown
                                    u is the user code
                                    p is a planned shutdown code
                                    xx is the major reason code (positive integer less than 256)
                                    yy is the minor reason code (positive integer less than 65536)


    Bzzzzzzzzzz
  •  08-12-2008, 12:45 AM 372611 in reply to 372439

    Re: Shut down ur pc without software

    huh...i thought you are talking about unplug power source to shutdown ... to me ... scheduled shutdown is kinda software shutdown ... perhaps you mean no 3rd party software needed ... anyways...good share Yes

  •  08-12-2008, 1:10 PM 372984 in reply to 372611

    Re: Shut down ur pc without software

    Neat.  Any chance there is an argument or a different function that would pull off the same thing with sleep?

    ASUS P5E, E8500, 2x2GB Corsair DDR2 1066
    Visiontek HD 4870, Antec 900, Corsair 750w PSU
    Why the iPhone is the pinnacle of failure
  •  08-12-2008, 2:12 PM 373025 in reply to 372984

    Re: Shut down ur pc without software

    You could try to make a shortcut like this:

    %windir%\system32\rundll32.exe PowrProf.dll SetSuspendState

    Here's log-off:

    %windir%\system32\shutdown.exe -l -t 01 -f

    Here's a shortcut to lock your PC:

    %windir%\System32\rundll32.exe user32.dll,LockWorkStation


    Bzzzzzzzzzz
  •  08-14-2008, 12:04 AM 373977 in reply to 372296

    Re: Shut down ur pc without software

    Hah, great. Then, my PC can shut down automatically just like TV set.

    Woohoo

  •  08-14-2008, 2:42 PM 374359 in reply to 373977

    Re: Shut down ur pc without software

    Most PCs will shut-down...but the ability to go in to hibernate or sleep modes depends a good deal on your PC hardware.

    See my experience.


    Bzzzzzzzzzz
  •  08-15-2008, 11:56 AM 375035 in reply to 374359

    Re: Shut down ur pc without software

    with  rundll32 Powrprof.dll,SetSuspendState 
     

    you can't guarantee it will always work. As you are passing "", "", "". to a function that expects values.

    in addition If the ForceFlag parameter is TRUE, the system suspends operation immediately; if it is FALSE, the system requests permission from all applications and device drivers before doing so.

    as papah said it depends a good deal on your hardware !   lol

    Tallon41


    What weight does your Spirit have to be in order to be considered "heavy" ?
    ----------------------Me
  •  08-15-2008, 7:27 PM 375257 in reply to 375035

    Re: Shut down ur pc without software

    Good points.  

    I found that even though my hardware supported it, that I had to use that dumpo.exe utility to make it happen.

    Some links to help understand power management:

    http://www.microsoft.com/whdc/archive/winpowmgmt.mspx#EODAC

    http://blogs.msdn.com/omars/archive/2004/05/11/129553.aspx

     

    Links on using dumppo to set power management in Windows:

    http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10770

    http://forum.sysinternals.com/forum_posts.asp?TID=163&PID=25369

     

    options for dumppo: cap ps bs admin ac dc

    Apparently there is a newer utility called “sleeper.exe” that is part of the Windows Driver Development Kit.  I have MSDN access.  I DL’d but didn’t want to install 2.5GB to get it.

     


    Bzzzzzzzzzz
  •  08-17-2008, 7:09 AM 375728 in reply to 375257

    Re: Shut down ur pc without software

    WOW, great info, many thanks to all hereSmile, esp. Hyacinth

    The thing is my PC gets awfully slower these days, and it takes a long time to shut down. Finally I will have to shut it down in Project Explorer. Lol Woohoo after I set up the time to turn off my PC as you said, It doesn't bother me any more, thanks a lot.


  •  09-05-2008, 11:53 PM 387356 in reply to 373977

    Re: Shut down ur pc without software

    great!

    then i can fall in sleep without any problem while watching movies on my pc


  •  09-19-2008, 1:12 AM 394393 in reply to 372296

    Re: Shut down ur pc without software

    very nice tip

    thanks a lot for sharing

View as RSS news feed in XML

 Home   Forums   Chat   Blogs   Deals   Newsletter   About 

 FAQ   Terms of Use   Privacy Policy   Contact Us 

©2008 Newegg, Inc. All rights reserved.