How To Lock Your Computer With USB Drive


Tired of people starting your computer when you are not around and messing up custom settings? Wouldn’t it be cool if you could lock your computer by just removing your USB stick from it? I’ll show you how you can use your USB stick, Flash Drive or Pen Drive what ever you call it to lock your computer, among other things…

Boot Lock
This trick will allow you to use your USB stick as a key to boot into Windows. If someone tries to start the computer without your USB stick, it will display boot errors. Before I begin, let me tell you that playing with the BIOS and boot files of your computer may result in you not being able to boot into your Windows partition; so continue at your own risk! Now that we have absolved ourselves of all guilt, let’s begin.

Things you need: A 64MB or larger sized USB Stick, Windows Recovery Disk (just in case).

 

  • Unhide hidden and protected files : Go to Tools > Options > View, check Show hidden files and un-check Hide protected system files.
  • From the drive where Windows is installed (normally C:\), copy the files boot.ini, ntdlr and NTDETECT.COM to your USB Stick.
  • Now, we need to go into your BIOS, so restart the computer and keep jabbing [F8] as soon as the computer starts.
  • Once in the BIOS, enable USB Drive as the first boot device. You might have to enable USB Legacy  Support on older BIOSes.
  • Restart your computer, if all goes well, you should be able to log into Windows. If not, then unplug the USB Stick, return to the BIOS and change the First Boot device to your hard disk drive and repeat the steps above.
  • Once you are logged into Windows, go to your Windows drive and rename boot.ini to boot.bak.
  • To check if you have setup everything correctly, eject your USB stick and reboot the computer. You should get error messages on the screen such as Invalid Boot.ini” or “Windows could not start”.

In case Windows does not load, use your Windows Recovery Disk by following the steps mentioned at http://tinyurl.com/s9sd2.

The Other Way

For the less brave-hearted, instead of preventing Windows from booting, you can choose to just lock your computer with your USB stick using a software. Here are some which may come to your use..

 

USB System Lock
A freeware program, USB System Lock works flawlessly while locking and unlocking your computer. When you first install USB System Lock, it detects your USB stick and creates a digital key on it. This key is used by the program to authenticate the user and log into the computer. Strangely, the program is not included in the start-up list by default.

To add it there, you need to drag Agent from the USB System Lock entry under All Programs to the Startup folder in the same menu. If you happen to accidentally delete the key from your USB stick while working on the protected computer you can reassign a key using Start > Programs > USB System Lock > Key Disk Generator.

My Lock 2.0
This program takes USB-based computer locking to a whole new level. For decent price, you can lock access to not only your PC but the keyboard, CD Drive and even access to Safe Mode. You can also set a particular time for the computer to automatically lock itself. What is most interesting about the program is that you can set a pass phrase so that you can use it to log into the computer even without the USB Stick plugged in. You can download it by clicking here.

 

Filed under: How To's
Tags: , , , , , , , , ,
September 6, 2008 by: Prasanth Chandra

Comments

Leave a Reply