Jump to content

Whats the reg to disable shutdown prompt?


Recommended Posts

Hey guys, I've briefly searched so please don't flame me...

What is the registry key that disables the prompt...

Other people are logged on to this compter. 
Shutting down windows might cause them to lose data.

Do you want to continue shutting down?

:thumbup Thanks

Link to comment
Share on other sites


Is there any other way to disable it then?

Sometimes during the night my pc wakes me up (fans, noisy)

So i'll stagger over to it and hit the off button.. but as its locked that message comes up, so I have to log in to switch off!

Link to comment
Share on other sites

Needless to say turned off fast user switching, but I have secure screen saver...

So if the screen saver activates, I have to log back in to shut down.

There must be a way to stop this message?!

Edited by antonio_king
Link to comment
Share on other sites

Hey guys, I've briefly searched so please don't flame me...

What is the registry key that disables the prompt...

Other people are logged on to this compter. 
Shutting down windows might cause them to lose data.

Do you want to continue shutting down?

:thumbup Thanks

You can't disable the prompt but you can dismiss it after 1 millisecond. http://www.msfn.org/board/index.php?showto...mp;#entry462391

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

Key shutdownWarningDialogTimeout doesnt exist...

So I created it as a dword and set the value to 1.

Still no change...

Link to comment
Share on other sites

I ran regmon, there are loads of querys on winlogon.exe but nothing for that key?

Everything I did was on Windows 2003. Windows XP might work differently. The fact that the key isn't documented doesn't seem to help.

Try enabling Remote Desktop. I think this key was implemented for Terminal Server so it might have to be runnung for the key to work.

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...