Sharing storage devices (including USB) between users with the help of USBDLM software
The main idea is that a USB flash drive (or the HDD/CD partition) can be used as an NTFS folder in the “Computer management” snap-in. It can be done independently, without additional software, but USBDLM will help to make this process automatic.
The following steps describe the setting up process, using the USB flash drive as an example:
1. Download and install USBDLM
2. Run the files _service_register.cmd and _service_start.cmd from the directory C:\Program Files\USBDLM\
3. Run the file C:\Program Files\USBDLM\_edit-ini.cmd. After that, the USBDLM.ini file will be created and opened for editing in the same directory.
4. For each USB flash drive in the DriveLetters segment of the USBDLM.ini file the parameters should be added which will determine the actions of USBDLM after its connection. The parameters can describe both the connection port [PortName], and the device as well [DeviceID], [VolumeSerial], etc. Depending on the task, one can use various parameters and their combinations. The UsbDriveInfo.exe utility from the catalog C:\Program Files\USBDLM\ allows one to obtain the required data about the connected device. To do this you should run UsbDriveInfo and choose the required device from the list. After that, you will see all the necessary data in the field on the right. We will need the “USBDLM Criteria“ section – it is at the very end of the list.
5. To identify the USB with the USB flash drive let us add the following entry in USBDLM.ini in the partition DriveLetters:
[DriveLetters]
PortName=2-12
;UserName=User1 {these are comments }
Letters=c:\Users\User1\Desktop\usb-stick
; position №1 1.1 { these are comments }
Thus, any USB flash drive, connected to ports 2-12, will be installed in the folder “USB-stick” on the desktop of User1. In this example 12 is the number of the USB hub port, and if its value is changed to?
(the number of signs ? must equal the number of digits), then the USB flash drive can be connected to any port of this hub.
6. The entry in USBDLM.ini like :
[DriveLetters]
DeviceID=USB\VID_0951&PID_1642\0019B92B179BBBB175080057
;UserName=User2
Letters=c:\Users\User2\Desktop\usb-stick
;position №2 1.2
allows us to identify the USB flash drive and install it in the folder “USB-stick” of the desktop of User2, no matter which USB port it is connected to.
7. Add several entries in USBDLM.ini in the partition DriveLetters to describe all the necessary options. In this case parameters PortName, DeviceID, and others can be combined at one’s discretion.
* The other users who have access to the desktop (in this case – of User 2’s), can also get access to the data in the USB flash drive, installed in the folder on the desktop.
Our thanks to user Frederik Dewanckele for the provided information.
