Letters by Drive Type

USBDLM

 

Drive Letters by Drive Type


 

The following drive types are defined in USBDLM:

 

FLOPPY      Floppy drives

REMOVABLE   non floppy drives with removable media as USB flash drives and card readers

FIXED       Hard drives

CDROM       CD / DVD / Blu-ray drives

UNKNOWN     unknown, some card readers in notebooks

RAMDISK     RAM drives (many RAM drives appear as FIXED, check with UsbDriveInfo)

ANY / ALL   all types (use it carefully!)

 

Sample for USB CDROMs at R:

 

[DriveLetters]

DriveType=CDROM

Letters=R

 

Sample for ATAPI-CD-ROMs at L: and M:

 

[DriveLetters]

BusType=ATAPI

DriveType=CDROM

Letters=L,M

 

 

If no DriveType is configured then the default types are used. These are REMOVABLE or FIXED.

 

If all drive types shall be valid for a section, then you can use "ALL". 

Sample to get USB drive letters for members of the admins group only:

 

[DriveLetters]

UserGroup=Administrators

Letters=X,Y,Z

 

;no USB drives for all others

[DriveLetters]

DriveType=ALL

Letter=--

 

 

Do not configure like this:

 

;all others

[DriveLetters]

BusType=ALL

DriveType=ALL

Letter1=-

 

This would remove the drive letters of all drives, USB or not, because of BusType=ALL.

 

 

See Letters by active User for more information.