the default setting in Windows Vista, 7 or 8 is to assign a drive letter when you plugin a removable device. But sometimes you want to prevent Windows from doing that, for example security reasons.
You can control this behaviour with the mountvol command. The following command line disable the automatical assignment.
to enable the auto assignment again execute