The program consists of only one executable file (USBProtect.exe), and is intended to lock any removable storage devices, such as Flash Drive, Hard Drive (external), etc. Just run USBProtect and all removable drives will be locked. If you try to open them, you get the "Access is denied" message. If the user's account is not included in the administrators group, the user not be able to unload the process by using Windows Task Manager. In this case, USBProtect can be unloaded only by using the "/u" command line parameter (see below). I must say that USBProtect is designed to work only in Windows Vista/7 (USBResolve, see below, works in any systems).
A distinctive feature of USBProtect is that you can create (mark) a "favorites" removable drives. These drives will not be locked by USBProtect. To create the "favorite" drive you have to do the following.
- Create a text file named "Volume.dat" in the root directory of the required drive, for example "D:Volume.dat".
- Place in this file a unique identifier which returns the following function. This identifier is based on the serial number of drive's file system, so if you format it, this process must be repeated again.
- Set "Hidden" and "Read only" attributes for this file.
You can use the following command line parameters.
"/c" or "/cd"
At program start, will be locked all the internal CD/DVD/BD-ROM devces, and while the process is in memory, access to these devices will be completely locked.
"/u" or "/unload"
Unloads USBProtect from the memory.
Supported operating systems
Windows Vista, 7
Files to download
Redirection to USBProtect_bin.7z, 605 KB
USBProtect_bin.html 143bytes 1775 downloads
Redirection to USBProtect_source.7z, 125 KB
USBProtect_source.html 146bytes 1588 downloads
Source code inside the archive is fully functional, but for security reasons I excluded from it a function that is responsible for protecting the process. I think that if someone who written something which really needed a protection of the process, he can independently implement that.
Edited by Yashied, 25 April 2012 - 02:56 PM.