PDA

View Full Version : Password Protect Windows Shutdown/restart



The Kiler
12-02-2003, 02:34 PM
Is it possible to add password protection so that everyone has to enter a password before they can shut dwon the computer?

4play
12-02-2003, 02:37 PM
i have seen a way to remove the ability to shutdown a computer by just editing one registry entry.

cant remember for the life of me what it is called now. :huh:

I.am
12-02-2003, 04:54 PM
ummm...which OS?

DarkReality
12-03-2003, 01:07 AM
It would be irrelevant. If you were to lock someone out of shutting down your computer and they wanted to shut it down, if you have a modern box they can simply press and hold the power button for 5-10 seconds (it was 9 seconds on my last computer, a Comsuq) it will shut down. Or it could be reset by the button.

Sorry, I don't know how you could do that.

4play
12-03-2003, 01:17 AM
i know linux can lock people out from turning it off. mainly for users who login from a remote location though.

The Kiler
12-03-2003, 02:09 AM
Windows XP professional.

I.am
12-03-2003, 03:14 AM
Originally posted by DarkReality@2 December 2003 - 20:07
It would be irrelevant. If you were to lock someone out of shutting down your computer and they wanted to shut it down, if you have a modern box they can simply press and hold the power button for 5-10 seconds (it was 9 seconds on my last computer, a Comsuq) it will shut down. Or it could be reset by the button.

Sorry, I don't know how you could do that.
You are right. But in extreme cases where you run a server on you computer and are afraid if any of ur kids/anyone might shut it down accidently this is what you do.

Open the case and remove both the PWR and RST lines from the motherboards header.
In windows control panel, go to users accounts, select change the way users log on, and turn off fast user switching. Id also change the login screen to classic win2k.

Then , whenever you are leaving the computer, press WindowKey+L to lock the computer or press CTRL+ALT+DELETE and select Lock Computer.

The chances to shut down the computer are minimized through this.

Goblin05
12-03-2003, 04:08 AM
Originally posted by I.am+3 December 2003 - 03:14--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (I.am &#064; 3 December 2003 - 03:14)</td></tr><tr><td id='QUOTE'><!--QuoteBegin-DarkReality@2 December 2003 - 20:07
It would be irrelevant.&nbsp; If you were to lock someone out of shutting down your computer and they wanted to shut it down, if you have a modern box they can simply press and hold the power button for 5-10 seconds (it was 9 seconds on my last computer, a Comsuq) it will shut down.&nbsp; Or it could be reset by the button.

Sorry, I don&#39;t know how you could do that.
You are right. But in extreme cases where you run a server on you computer and are afraid if any of ur kids/anyone might shut it down accidently this is what you do.

Open the case and remove both the PWR and RST lines from the motherboards header.
In windows control panel, go to users accounts, select change the way users log on, and turn off fast user switching. Id also change the login screen to classic win2k.

Then , whenever you are leaving the computer, press WindowKey+L to lock the computer or press CTRL+ALT+DELETE and select Lock Computer.

The chances to shut down the computer are minimized through this.[/b][/quote]
you could also create a desktop shortcout to this (%windir%&#092;System32&#092;rundll32.exe user32.dll,LockWorkStation) location to lock the computer. I named it DO NOT TOUCH, its funny when they do because they dont know your password. lol

shn
12-03-2003, 07:54 AM
Originally posted by Goblin05+2 December 2003 - 22:08--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (Goblin05 &#064; 2 December 2003 - 22:08)</td></tr><tr><td id='QUOTE'>
Originally posted by I.am@3 December 2003 - 03:14
<!--QuoteBegin-DarkReality@2 December 2003 - 20:07
It would be irrelevant.&nbsp; If you were to lock someone out of shutting down your computer and they wanted to shut it down, if you have a modern box they can simply press and hold the power button for 5-10 seconds (it was 9 seconds on my last computer, a Comsuq) it will shut down.&nbsp; Or it could be reset by the button.

Sorry, I don&#39;t know how you could do that.
You are right. But in extreme cases where you run a server on you computer and are afraid if any of ur kids/anyone might shut it down accidently this is what you do.

Open the case and remove both the PWR and RST lines from the motherboards header.
In windows control panel, go to users accounts, select change the way users log on, and turn off fast user switching. Id also change the login screen to classic win2k.

Then , whenever you are leaving the computer, press WindowKey+L to lock the computer or press CTRL+ALT+DELETE and select Lock Computer.

The chances to shut down the computer are minimized through this.
you could also create a desktop shortcout to this (%windir%&#092;System32&#092;rundll32.exe user32.dll,LockWorkStation) location to lock the computer. I named it DO NOT TOUCH, its funny when they do because they dont know your password. lol[/b][/quote]
That locks the box it does not prevent people who are already logged on a box from shutting it down.

To prevent that youll need to make a few changes to the group policy settings on that computer or if your on a server then the server box. Group policy settings can be changed in administrative tools but there is also an option to go straight to it by entering the command in the run box. I forget the command, havent had an xp installing and configuring class in 2 semesters.

you should see something like this. I think this is the section its in.http://smilies.sofrayt.com/%5E/u/ylflower.gif


http://server4.uploadit.org/files/031203-untitled333.JPG

Broken
12-03-2003, 08:05 AM
if someone wants the computer off bad enough they are just going to pull the plug on it, i don&#39;t think there is a way to disable that.

The Kiler
12-04-2003, 12:23 AM
I do not care about the unplugging the turn off button is what i care about.

The Kiler
12-04-2003, 12:30 AM
Excellent shn&#33; Does it also block people from pressing the power button and turn it off?

4play
12-04-2003, 03:51 AM
i dont think you can block people from using the power button from turning it off. it stops power to the motherboard so how can your operating system stop that. :huh:

dgmortal
12-06-2003, 12:39 AM
Originally posted by shn@3 December 2003 - 02:54
To prevent that youll need to make a few changes to the group policy settings on that computer or if your on a server then the server box. Group policy settings can be changed in administrative tools but there is also an option to go straight to it by entering the command in the run box.

Start>Run>secpol.msc

the 2 things that will need to be changed are.....

Security Settings>Local Policies>User Rights Assignments
Policy: "Shutdown the system"
Use this to control which users and groups are allowed to shutdown the system. If a user or group is not listed in this policy, they will not be allowed to shut down the system from the start menu.

Security Settings>Local Policies>Security Options
Policy: "Shutdown: Allow the system to be shut down without having to log on"
This policy, when set to disabled, will remove the option to shutdown from the welcome screen. This ensures that only the users or groups in the previous policy can shut down the system (as long as the users with the rights to shutdown have password protected accounts).