Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: emulate power button in windows?

  1. #1
    Constant Bitrate
    Join Date
    Aug 2003
    Location
    Lancaster, PA
    Posts
    204

    emulate power button in windows?

    Is there a program that I can use to emulate pressing the power button under Windows XP? I want to be able to hibernate my computer without having the physically touch the power button.

  2. #2
    FLA gospeed.racer's Avatar
    Join Date
    Dec 2003
    Location
    Portland, OR
    Posts
    1,303
    Well...kind of. I use a program called "quick shut down". Here is the link.

    http://www.newfreeware.com/desktop/249/

    It lets you decide what to do on either a single or double click. It is not an icon, however, it sits in the right hand tray. Maybe you can tweak it from there?
    2005 Ford Focus ST

  3. #3
    FLA gospeed.racer's Avatar
    Join Date
    Dec 2003
    Location
    Portland, OR
    Posts
    1,303
    Actually, you may want to try this: http://www.cba.nau.edu/facstaff/love...ckShutdown.htm
    may be easier, and it is actually an icon. But it actually is made to shut down or restart. Maybe a tweak can be made?
    2005 Ford Focus ST

  4. #4
    Maximum Bitrate Seraph's Avatar
    Join Date
    Jun 2003
    Location
    Elmhurst, Illinois
    Posts
    672
    make a shortcut to this:

    c:\windows\system32\shutdown /h
    - Lwin M. Maung
    If it's stuck, force it. If it breaks it needed replacing anyway

  5. #5
    FLA gospeed.racer's Avatar
    Join Date
    Dec 2003
    Location
    Portland, OR
    Posts
    1,303
    Just tried that...doesnt seem to do anything. It pops up a dos looking screen for a split second, then goes back to normal. Is there something I am leaving out?
    2005 Ford Focus ST

  6. #6
    Maximum Bitrate Seraph's Avatar
    Join Date
    Jun 2003
    Location
    Elmhurst, Illinois
    Posts
    672
    Oh.

    Try this: Go to dos prompt and type in shutdown -?

    It will tell you options. I have the shutdown.exe from win2003 and that has a lot more options than xp shutdown.
    - Lwin M. Maung
    If it's stuck, force it. If it breaks it needed replacing anyway

  7. #7
    Maximum Bitrate Seraph's Avatar
    Join Date
    Jun 2003
    Location
    Elmhurst, Illinois
    Posts
    672
    Here are the shutdown options on win2003.

    C:\Documents and Settings\lwin>shutdown -?
    Usage: shutdown [/i | /l | /s | /r | /a | /p | /h | /e] [/f]
    [/m \\computer][/t xxx][/d [p:]xx:yy [/c "comment"]]

    No args Display help. This is the same as typing /?
    /? Display help. This is the same as not typing any options
    /i Display the graphical user interface (GUI).
    This must be the first option
    /l Log off. This cannot be used with /m or /d option
    /s Shutdown the computer
    /r Shutdown and restart the computer
    /a Abort a system shutdown.
    This can only be used during the time-out period
    /p Turn off the local computer with no time-out or warning.
    This can only be used with /d option
    /h Hibernate the local computer.
    This can only be used with the /f option
    /e Document the reason for an unexpected shutdown of a computer
    /m \\computer Specify the target computer
    /t xxx Set time-out period before shutdown to xxx seconds.
    The valid range is 0-600, with a default of 30
    /c "comment" Comment on the reason for the restart or shutdown.
    Maximum of 127 characters allowed
    /f Force running applications to close without forewarning users
    /d [p:]xx:yy Provide the reason for the restart or shutdown
    p indicates that the restart or shutdown is planned
    xx is the major reason number (positive integer less than 256)
    yy is the minor reason number (positive integer less than 65536)
    - Lwin M. Maung
    If it's stuck, force it. If it breaks it needed replacing anyway

  8. #8
    FLA gospeed.racer's Avatar
    Join Date
    Dec 2003
    Location
    Portland, OR
    Posts
    1,303
    Sweet! thanks for the tips
    2005 Ford Focus ST

  9. #9
    Maximum Bitrate owenjh's Avatar
    Join Date
    Nov 2003
    Location
    NC
    Posts
    604
    Crappy. I just found out i can't hot switch my computer, thought this thread might be about emulating something for a shutdown controller.
    CarComputer Status: New Car & Broken (Motherboard Fried)
    Owen JH | My Linux Blog | The Tech Fellows

  10. #10
    Constant Bitrate
    Join Date
    Aug 2003
    Location
    Lancaster, PA
    Posts
    204
    Just found exactly what I needed, someone made a simple C++ program for both suspend and hibernate. link

    I needed it to add a hibernate button to myHTPC.

Page 1 of 2 12 LastLast

Similar Threads

  1. linking into laptop power button
    By corsamel in forum General Hardware Discussion
    Replies: 22
    Last Post: 04-23-2010, 05:53 AM
  2. Rewiring ATX power button
    By DCC in forum Power Supplies
    Replies: 10
    Last Post: 02-07-2008, 06:17 AM
  3. Relocating computer power button
    By King_Xerxes in forum General Hardware Discussion
    Replies: 8
    Last Post: 02-21-2007, 10:15 PM
  4. PC power button problem
    By BMp3W in forum Power Supplies
    Replies: 4
    Last Post: 10-12-2002, 03:36 AM
  5. Windows XP power option for Shutdown. Circuit design help.
    By LESLIEx317537 in forum Power Supplies
    Replies: 3
    Last Post: 02-03-2002, 10:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •