Jump to content

Shutdown Server - No questions asked


Bezalel

Recommended Posts

I am building a headless server running Windows Storage Server 2003 that I need to be able to shutdown using the power button. I've already disabled the shutdown tracker and enabled shutdown without logon. The only problem is that windows always puts up a confirmatin message box if other users have RDP sessions open. is there any way to tell windows to shutdown even when there are RDP sessions open? I do not want to have to hold the power button down, I need a clean shutdown.

Link to comment
Share on other sites


God, I hate to wait for a long shutdown procedure to finish.

I have developed a set of tweaks to speed up this process.

My own PC with XP pro, now shuts down in five seconds when I tap the power ON button.

Give these tweaks a try. Can't hurt.

*********************************************************

Decrease Shutdown Time

Cut the amount of time it takes your computer to shut down to only a few seconds.

Click Start, click Run, and type regedit.

HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control

Click the Control folder.

Right click "WaitToKillServiceTimeout" and click Modify.

Set the value to 1000 (One Second)

**********************************************************

Automatically Ending Non-Responsive Tasks

HKEY_CURRENT_USER \ Control Panel \ Desktop \

AutoEndTasks = Set the value to 1

HungAppTimeout = Set the value to 1000

WaitToKillAppTimeout = Set the value to 1000 (One Second)

**********************************************************

I use these myself and install them for all my customers.

Good Luck,

Andromeda43

Link to comment
Share on other sites

I use the following program with Server 2003 without it asking all the stupid questions:

http://www.karenware.com/powertools/ptstopper.asp

There are many different options: Shutdown - Reboot etc.

Choose method (i.e. shutdown) and chose "create shortcut"

Puts an icon on the Desktop

p.s. With Server 2003, use Firefox, saves have to change restrictions in IE.

:hello:

Link to comment
Share on other sites

I decided to use RegMon to watch what happens when I hit the power button and discovered that Winlogon.exe was attempting to query HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\ShutdownWarningDialogTimeout After searcing on google and getting no results I set the value to dword:0 and tried to shutdown and nothing happened then I set the value to dword:1 and the server shut down almonst instantly when I pushed the power button.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows]
"ShutdownWarningDialogTimeout"=dword:00000001

This value specifies how long (I think in milliseconds) a user will be warned that other users are using a computer when attempting a shutdown 0=indefinate

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...