Bezalel Posted February 9, 2006 Share Posted February 9, 2006 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 More sharing options...
Andromeda43 Posted February 10, 2006 Share Posted February 10, 2006 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 TimeCut 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 \ ControlClick the Control folder.Right click "WaitToKillServiceTimeout" and click Modify. Set the value to 1000 (One Second)**********************************************************Automatically Ending Non-Responsive TasksHKEY_CURRENT_USER \ Control Panel \ Desktop \ AutoEndTasks = Set the value to 1HungAppTimeout = Set the value to 1000WaitToKillAppTimeout = 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 More sharing options...
Bigbrit Posted February 10, 2006 Share Posted February 10, 2006 I use the following program with Server 2003 without it asking all the stupid questions:http://www.karenware.com/powertools/ptstopper.aspThere are many different options: Shutdown - Reboot etc.Choose method (i.e. shutdown) and chose "create shortcut"Puts an icon on the Desktopp.s. With Server 2003, use Firefox, saves have to change restrictions in IE. Link to comment Share on other sites More sharing options...
Bezalel Posted February 10, 2006 Author Share Posted February 10, 2006 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:00000001This 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now