How can I lock computers to prevent logon?

By shadetreeadmin ·
I am working in a small school with some really tough students. One teacher with ten computers in his room wants to prevent students from logging on to a computer until he gives the okay. This is to prevent the computers from becoming a distraction while he is trying to get them to do something else. He would like a way to lock and unlock all ten machines at once as needed. How can this be done--without buying expensive software?

A few details:
55 Computers(that includes the ten in question) on one domain, one forest
Windows 2003 R2
Windows XP SP3

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by oldbaritone In reply to How can I lock computers ...

The simplest thing I could think of would be having an electrician wire power plugs for the computers in the classroom, controlled by a switch at the teacher's desk.

Yes, it's crude. I can hear IT techs cringing. :-)

But the simplest way to be SURE the student doesn't use the computer is to turn it off and put the switch somewhere else.

Then set the BIOS power options so the machines will automatically power-up after power loss. When the teacher flips the switch, all the machines will start.

Collapse -


by ---TK--- In reply to How can I lock computers ...

create a batch file that reads from a list of the 10PCs.txt and executes the remote shutdown cmd, disconnect the power button on the PC's, and a second batch file that boots the PC's up.... magicpacket....

or a batch file that places a second batch file in the start up folder that loggs off the user... and a second batch file that removes the .bat...

There are a bunch of creative ways... but absolute power corrupts absolutely... So I would give him the key, but not the priv. to look at the key code and edit it...

Collapse -

Let me clarify..

by shadetreeadmin In reply to lol....

Okay. So you're thinking a batch file that performs the

shutdown -m \\computername


How can I remotely boot the computer though?

Also, how can I write it so that someone without Admin privileges can run it from their computer?

Collapse -


by ---TK--- In reply to Let me clarify..


The link will show you the syntax. Eh... lol, I guess give him full priv. its his choice if he abuses it...

But make a admin group for those 10 PC's, and add him to that group, that way he cant go around and reek havoc on the network...

look into magicpacket (Wake On Lan), you might have to config the hardware settings for this to work...

Collapse -


by shadetreeadmin In reply to tools....

Thanks a bunch! I needed to get this done so I could move on to other issues.

Collapse -

no problem :)

by ---TK--- In reply to Thanks...

its a tricky situation...

Stick around the Q&A, there are alot of great techs here, which comes with alot of great advice... :)

Collapse -

One step further... GO GREEN... lol...

by ---TK--- In reply to Thanks...

Go to the principle, and suggest this:
Each teacher run the shutdown cmd at the end of the day, which results in no PC's consuming electricity at night...

Each PC use's X wattage
X wattage = y kilowatt hour's
y kilowatt hours's * $ per kilowatt hour
$ per kilowatt hour * hours PC's are not used at night
How much will the school save in $ during the month and year in just power?

I would like a raise.

That is if all the teachers leave the PC's turned on during off school hours.... I don't know what your policies are... Just a suggestion... :)

Collapse -

Sounds like a plan...

by shadetreeadmin In reply to One step further... GO GR ...

Yes. That is what I was thinking. I especially like the part about the raise!

Collapse -

LOL, one more thing...

by ---TK--- In reply to Sounds like a plan...

If you go forward with this plan... MAKE SURE you stagger the PC's that boot up in the morning... lol, if you do them all at the same time you will create one **** of a power surge, and might throw a couple breakers!

Even though the PC's probably are not that powerful at POST they probably pull around 150-200 watts * 50 = 7,500 Watts (min) at the same time... That is a big draw! So, I would recommend powering 10 up at a time with 3-5 minutes in between.

Collapse -

shutdown -a

by Slayer_ In reply to lol....

I'd be the a$$hole student that types that and keeps on fooling around. :)

Be sure to specify an immediate shutdown so students don't get the chance to cancel it. The default 30 seconds is more than long enough to google how to cancel an automatic shutdown.

Related Discussions

Related Forums