charleboisl
06-10-2003, 10:01 AM
In NT you could disable the shutdown button on the logon dialog this way:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\]
Value Name: shutdownwithoutlogon
Data Type: REG_SZ (String Value)
Value Data: "0"
Winguides articles also describe this tweak to work for XP. However, I found that this didn't work for XP. But this will:
Either:
1) Open gpedit.msc
Expand Computer Configuration->Windows Settings->Security Settings->Local Policies, click on Security Options.
On the right-hand side, scroll down to "Shutdown: Allow system to be shut down without having to log on", double-click it, and change to be Disabled.
Or:
2)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\policies\system\]
Value Name: shutdownwithoutlogon
Data Type: REG_DWORD
Value Data: : 0x00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\]
Value Name: shutdownwithoutlogon
Data Type: REG_SZ (String Value)
Value Data: "0"
Winguides articles also describe this tweak to work for XP. However, I found that this didn't work for XP. But this will:
Either:
1) Open gpedit.msc
Expand Computer Configuration->Windows Settings->Security Settings->Local Policies, click on Security Options.
On the right-hand side, scroll down to "Shutdown: Allow system to be shut down without having to log on", double-click it, and change to be Disabled.
Or:
2)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\policies\system\]
Value Name: shutdownwithoutlogon
Data Type: REG_DWORD
Value Data: : 0x00000000