How to Lock/Unlock Mac or PC with USB Drive
- by Animesh bhatt
- Apr 17, 2017
- 3 min read

Every spy movie ever, has a computer that can only be accessed by plugging in a special flash drive, or something of the sort. Not only does it look cool, and high tech (in a way), it’s also rather practical to have a USB flash drive for unlocking your Mac, or PC. There are a number of reasons for this – you don’t need to type in a password all the time; you can set a really strong password, and then not need to really remember it, because you can simply unlock your PC or Mac with a USB drive, etc., adding a very strong layer of security to your system. So, if you’re wondering how to do the same on your home PC, here is how to set up USB Lock on PC or Mac:
Set Up USB Lock on PC or Mac
Rohos Key Logon is a software that can program a USB flash drive, a mobile phone, or even a Bluetooth device to act as the key to unlock your system. The best part about this application, is that it’s available for both Windows, and mac OS devices. While it is a paid app, you can get a trial version to check it out, before having to actually register the software for continued use.
So, with that out of our way, let’s jump right into the steps we’ll have to take in order to create a USB flash drive that will let us log into our system.
1. First, download Rohos Key Logon’s free trial, and install it on your Mac. You will have to restart your Pc after the installation is complete.

2. Next, from the menu bar of your Mac, click on the Rohos Key Logon icon, and go to “Open Rohos Logon“. This will open up the main Rohos Key Logon window.

3. Here, simply click on the option that says “USB drive”. Make sure that the USB flash drive you want to use for logging in, is connected to your Mac.

4. In the next window, enter your system login password, and select the USB flash drive you want to use as a key, and click on “OK“.

5. In the next screen, you can select the action you want your computer to take if the USB flash drive is pulled out of the system. If you don’t want to keep it plugged in, simply choose “Nothing” in this screen

However, for better security, I’d suggest you keep it to “Lock the Desktop“, when plugged out. This will also make it easier for you to lock your PC or Mac when you’re leaving it unattended.
That’s basically all you had to do. You can now easily unlock your PC or Mac, by plugging in the correct USB flash drive. However, as of now, if someone knew your password, they’d still be able to log in to your system. If you want to eliminate the chances of this happening, simply follow the steps below:
1. From the Rohos Key Logon icon in the menu bar, click on “Preferences”

2. Here, check the checkbox next to “Allow login only by USB key“.

This will ensure that you can only log in if the USB flash drive is present in the system. This is highly secure, but is also a little risky. You could lose your flash drive, it could break, or it could get corrupted. Which is why, I’d suggest that you either don’t disable login with password, or else, have at least two USB keys that can unlock your system… just in case.
THANKS YOU........HOPE U LIKE IT.........








Comments