Jump to content

Recommended Posts

Posted

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.


Posted

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

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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