loading
Do you have a computer that someone knows the password, or are to lazy to lock the computer when you leave, even for a minute? Well this is an instructable our friendly neighborhood nerd has made for us. You will need:

a computer (running Windows 3.1 or higher)
notepad or other simple text editing software
arms and legs are optional if you have speech recognition
keyboard

NOTE:This will not work on Macs (sorry macs)

Step 1: Open Notepad

First open notepad.

Win 95-2000, Me
Start>Programs>Accesories>Notepad

Win XP and up
Start>All Programs>Accesories>Notepad

If you see the window shown below then you have notepad.
<p>lol, you could just ctr-alt-delete to bring up taskmgr and start up explorer.exe. Also if you are going to use the Taskkill command to kill explorer.exe you need the /f switch.</p>
im using this code can anyone help me with the line in the { }'s <br>@echo off <br>Title computer lock <br>cls <br> <br>:Lock <br>echo &quot;Please inter a password to lock your computer&quot; <br>set/p &quot;1Pass=&gt;&quot; <br>taskkill /IM explorer.exe <br>cls <br>echo &quot;This Computer is locked.&quot; <br> <br>:Locked <br>taskkill /IM explorer.exe <br>echo &quot;Please type the password to unlock the computer&quot; <br>set/p &quot;2Pass=&gt;&quot; {this line needs to be skiped if nothing is enterd so it becomes a if enter key hit then take entered value and set it as varlable 2pass anyone know a way to do that?} <br> <br>:Unlock <br>if %1pass%==%2pass% then goto End <br>goto Locked <br> <br>:End <br>echo &quot;Have a nice day!&quot; <br>PAUSE <br>
I know this is sort of too late, but I couldn't help myself. Here is the edited code: <br> <br>@echo off <br>Title computer lock <br>cls <br> <br>:Lock <br>echo Please inter a password to lock your computer <br>set /p 1Pass=&gt; <br>taskkill /IM explorer.exe <br>cls <br>echo This Computer is locked. <br> <br>:Locked <br>taskkill /IM explorer.exe <br>echo. <br>echo. <br>echo Please type the password to unlock the computer <br>set /p 2Pass=&gt; <br> <br>:Unlock <br>if %1pass%==%2pass% then goto End <br>goto Locked <br> <br>:End <br>echo Have a nice day! <br>PAUSE <br> <br>I don't exactly get what you mean, but from what I can tell, it seems irrelevant. The code is already doing what you asked. <br> <br>Tip: Don't spam quotation marks. <br> <br>
Excellent job, as per usual. But, can't they just exit out of it? It isn't very effective. Can you make it more so?
When i run it says it's lock but i still can open folders and applications it dosent seam to lock can you help? <br>
You could make it stop explorer.exe and restart it when the password is entered. I'm not very good with windows shell objects but you can make it run a batch file to stop and restart explorer.
ok thanks i know that will work but i got know idea how do do that :- \
Sorry but I'm not the best at batch files. Maybe you could try <br><br>taskkill explorer.exe<br><br>to freeze any background use<br><br>and in another file<br><br>start explorer.exe<br><br>to unlock the computer<br>Sorry if this doesn't work.<br><br>
yep they both work but you do taskkill /IM explorer.exe <br>the only problem is that 7 is protected form killin the program so then i just restarts it self
lol for mine if you click the x button two times it sais correct welcome back
That' because when you press the x, without entering anything, the computer assumes your password is nothing. When you x again, nothing was entered just like when you x-ed before, so it lets you back in.
What stops the user from simply minimising the popup?
There isn't a minimize button, and the X is greyed out. The only way to stop this from running is to go to task manager and kill the wscript.exe process. This isn't brick solid though, as you can still use the computer behind this. This program was intended to keep people who don't know much about computers off. A way to make this more secure would be to disable explorer.exe until the computer is unlocked.
I guess it would for complete ludites

About This Instructable

9,654views

10favorites

License:

Bio: I find a quote from Bill Gates makes a very good description. "Be nice to nerds. Chances are you'll end up working for one."
More by Super_Nerd:Make an assistant for your computer in 5 minutesTrack Computer Usage in 2.5 minutesHow to be a MAD Scientist! MU-AH HA HA HA!
Add instructable to: