Skip to main content

Lock your Windows PC with a USB pen drive

Before I begin, I want to tell you that this method is by no way crack proof. It's easy to bypass the "lock", for those who know how to do it. But still it's an effective way to keep away your nosy friends.

Here is the process:


  1. For this method to work your motherboard's BIOS must support booting from a USB drive. If it does, then enter BIOS and set first boot device to USB drive. You might have to activate the "USB legacy support" and "USB 2 Controller" for this to work. Check your BIOS and motherboard's website for details if you have trouble booting from an USB drive.
  2. Format the USB pen drive. Anything with around 256MB capacity will do.
  3. Open Windows explorer and go to Tools>Folder Options and click on View tab. Select "Show hidden files" and uncheck "Hide protected system files".
  4. Now open the drive where Windows is installed (usually c) and copy the files boot.ini, NTDETECT.COM and ntdlr from the hard disk to the pen drive. Rename the file boot.ini to boot.bak (the file present on the hard disk, not the file copied to the pen drive)

Windows will now not be able to boot from the hard disk because the boot.ini file is missing. Your PC will be able to boot only if you plug in your pen drive. So the pen drive now behaves as a key to your PC!!

To enable Windows to once again boot from the hard disk, rename boot.bak to boot.ini. If you fail to boot into your PC completely, you will have to repair the boot.ini file. You can do it through the Recovery Console. The procedure is described here.

Also read Lock your Windows PC with a USB pen drive - Part 2 for a better solution.

Comments

Popular posts from this blog

How to Record CPU and Memory Usage Over Time in Windows?

Whenever the computer is lagging or some application is taking too long to respond, we usually fire up task manager and look under the Performance tab or under Processes to check on processor utilization or the amount of free memory available. The task manager is ideal for real-time analysis of CPU and memory utilization. It even displays a short history of CPU utilization in the form of a graph. You get a small time-window, about 30 seconds or so, depending on how large the viewing area is.

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

Diagram 101: Different Types of Diagrams and When To Use Them

Diagrams are a great way to visualize information and convey meaning. The problem is that there’s too many different types of diagrams, so it can be hard to know which ones you should use in any given situation. To help you out, we’ve created this diagram that lays out the 7 most common types of diagrams and when they’re best used: