Results 1 to 7 of 7
  1. #1
    New Lounger
    Join Date
    Dec 2009
    Location
    Texas
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    This is kind of a simple question, but I didn't see it addressed... 90+% of the time when I do an action, I want to do it, and I don't care for Windows "Are you sure?" dialogs. I have turned this off for deletion (esp since I can recover things from the recycle bin).

    One thing that catches me, usually when I'm in a hurry is when I choose "Log Off" and the "Are you sure you want to log off?" box comes up.

    Isn't there a a way to disable this?

    I've done some searching, but either this cannot be done, or no one wants to do this, or I'm using bad search parameters (I generally use "disable logout confirmation Windows XP"). In a secure environment (read: work), it's not good to walk away while still at the "Are you sure?" prompt... anyone else could walk up, hit "No" and be logged in as me.

    Any thoughts?

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,593
    Thanks
    5
    Thanked 1,059 Times in 928 Posts
    See the free tool - PsShutdown.

    Joe
    Joe

  3. #3
    New Lounger
    Join Date
    Dec 2009
    Location
    Texas
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by JoeP View Post
    See the free tool - PsShutdown.

    Joe
    Hmmm... doesn't seem to work for a non-Admin (haven't tried it as Admin). I'm getting "Could not start PsShutdown on <my computer name>: Access is denied."

  4. #4
    5 Star Lounger chowur's Avatar
    Join Date
    Mar 2010
    Location
    Indiana
    Posts
    804
    Thanks
    0
    Thanked 54 Times in 51 Posts
    To create a shutdown shortcut on the desktop:

    Right click on an open area of the desktop
    Select New / Shortcut
    Enter in "shutdown -s -t 00" - no quotes
    Press the Next button
    For the name, enter in anything you like. I just use shutdown. Click on the Finish button.

    For a reboot, enter "shutdown -r -t 00"
    For a logoff, enter "shutdown -l -t 00"


    Shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

    Parameters

    -l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
    -s - Shuts down the local computer.
    -r - Reboots after shutdown.
    -a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
    -f - Forces running applications to close.
    -m [\\ComputerName] - Specifies the computer that you want to shut down.
    -t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
    -c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
    Give that a try.
    Problems cannot be solved by the same level of thinking that created them. -Albert Einsten

  5. #5
    New Lounger
    Join Date
    Dec 2009
    Location
    Texas
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chowur View Post
    To create a shutdown shortcut on the desktop:

    Right click on an open area of the desktop
    Select New / Shortcut
    Enter in "shutdown -s -t 00" - no quotes
    Press the Next button
    For the name, enter in anything you like. I just use shutdown. Click on the Finish button.

    For a reboot, enter "shutdown -r -t 00"
    For a logoff, enter "shutdown -l -t 00"


    Shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

    Parameters

    -l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
    -s - Shuts down the local computer.
    -r - Reboots after shutdown.
    -a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
    -f - Forces running applications to close.
    -m [\\ComputerName] - Specifies the computer that you want to shut down.
    -t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
    -c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
    Give that a try.
    This is exactly what I was looking for; I now have shortcuts on the Start menu and desktop, and possibly my toolbar, but it may be too easy to hit from there.

    Many thanks!

  6. #6
    Bronze Lounger DrWho's Avatar
    Join Date
    Dec 2009
    Location
    Central Florida
    Posts
    1,501
    Thanks
    30
    Thanked 205 Times in 163 Posts
    For the fastest possible shutdown on an XP machine, you can expand on the shortcut given above by using this one.

    %windir%\System32\shutdown.exe -s -t 00 -f

    It not only runs the shutdown command but forces reluctant programs to CLOSE.

    I put the shortcut right above the START button on the desktop, because that's where people are used to going to shut down their computers anyway.

    Using this shortcut, my XP PC shuts down in 5 to 8 seconds.

    * TIP: Before using any Quick Shutdown routine, it's always advisable to close any program that may have files open, like WORD, EXCEL, your email program, etc.

    Cheers Mates!
    The Doctor
    Experience is truly the best teacher.

    Backup! Backup! Backup! GHOST Rocks!

  7. #7
    New Lounger
    Join Date
    Dec 2009
    Location
    Chillicothe, Missouri
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am not sure if this will help.
    When I want to shut down quick I do ALT-F4, U.
    That is press the Alt key, and F4 at the same time. When the shut down screen shows press the U key.

Posting Permissions

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