Jump to content

Recommended Posts

Posted

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


Posted

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!

Posted

haha... good points.

Normally I can sleep with it on. Anyway I have the Zalman silent water cooler, might get the Antec phantom 500 then the pc won't make any noise! :w00t:

Posted (edited)

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

Key shutdownWarningDialogTimeout doesnt exist...

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

Still no change...

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

Posted

So does anyone else no of a solution to this?!

I have an idea...

Is it possible to change what program pressing the shutdown button runs?

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