|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Windows 2000 Bugs & Fixes CD-ROM Changer Mapped as Single Drive Letter in Windows 2000 The information in this article applies to:
SUMMARYAfter you install or upgrade your computer to Windows 2000, there is only a single drive letter for your ATAPI CD-ROM changer. Windows 2000 uses Removable Storage Manager (RSM) to mount, dismount, and manage all removable media. This includes discs contained in ATAPI CD-ROM changers that hold several CD-ROMs. This type of device receives only a single drive letter in Windows 2000. The way Windows 2000 handles removable media is different from the way Microsoft Windows NT 4.0 and earlier versions handle removable media. This type of device in Windows NT 4.0 has a separate drive letter for each piece of media the device is capable of managing and swaps media automatically as each drive letter is used. MORE INFORMATIONThe management of media was offloaded from the individual device or program to RSM to facilitate sharing devices and media between programs and users. RSM can handle large tape libraries or CD-ROM jukeboxes, and keeps track of device status, media requests from programs, and media usage. Unfortunately, these types of stand-alone CD-ROM changers do not lend themselves well to being managed in this way and require manual mounting and dismounting of discs into the single drive letter displayed in My Computer or Windows Explorer before you can use the disc. If the CD-ROM changer hardware you have installed is fully supported by Windows 2000, each disc that is in the CD-ROM changer is mounted, read, and cataloged under the Import media pool. If the installed CD-ROM changer device is not on the Windows 2000 Hardware Compatibility List (HCL) or is not detected as a changer device, you see only a single disc under the Import media pool, even if you have multiple discs physically loaded in the CD-ROM changer. Using the Computer Management (Compmgmt.msc) console, under Storage - Removable Storage, you should see the individual CD-ROM labels or titles for each disc recognized by RSM under: Media Pools Import CD-ROM (displays media label names and current library name) Additionally, these same labels are displayed within that device's media library along with the slot location so you can choose to mount or dismount the appropriate disc. The drives also display which disc is currently loaded from the media library. You can view this information under: Physical Locations [DEVICE_NAME] (physical device CD-ROM changer library) Media (displays media label name, slot number, and drive number information) Drives (displays drive[s], loaded media, and state From either of the above two locations, you can choose to mount or dismount any given disc. This is accomplished by right-clicking the disc you want to use, and then clicking Mount. Once mounted into the drive, RSM allows access to it by using the assigned drive letter or mount point for that device. You can use the RSM.EXE command to mount CD-ROM changer discs by creating a batch file. You can modify the following sample batch file to fit your CD-ROM changer's characteristics: Mount.bat@echo OFF
rem - Extract the friendly name of your changer using: rsm view /tchanger rem - then replace the string following the /cf with the string returned.
rem example:
rem rsm view /tchanger
rem CHANGER
rem NEC CD-ROM DRIVE:253
rem The command completed successfully.
if "%1"=="" GOTO USAGE if "%1"=="/?" GOTO USAGE if "%1"=="1" GOTO SLOT1 if "%1"=="2" GOTO SLOT2 if "%1"=="3" GOTO SLOT3 if "%1"=="4" GOTO SLOT4 if "%1"=="e" GOTO EJECT GOTO USAGE
:SLOT1 rsm mount /sf"Slot 1" /cf"NEC CD-ROM DRIVE:253" /oread if %ERRORLEVEL% equ 536870916 GOTO MOUNTED @echo %ERRORLEVEL% GOTO END
:SLOT2 rsm mount /sf"Slot 2" /cf"NEC CD-ROM DRIVE:253" /oread if %ERRORLEVEL% equ 536870916 GOTO MOUNTED @echo %ERRORLEVEL% GOTO END
:SLOT3 rsm mount /sf"Slot 3" /cf"NEC CD-ROM DRIVE:253" /oread if %ERRORLEVEL% equ 536870916 GOTO MOUNTED @echo %ERRORLEVEL% GOTO END
:SLOT4 rsm.exe mount /sf"Slot 4" /cf"NEC CD-ROM DRIVE:253" /oread if %ERRORLEVEL% equ 536870916 GOTO MOUNTED @echo %ERRORLEVEL% GOTO END
:MOUNTED @echo . @echo REASON: MEDIA ALREADY MOUNTED, OR NO MEDIA IN SLOT GOTO END
:USAGE @echo . @echo To mount media, enter slot number between 1 and 4 @echo e.g. Mount 1 @echo . @echo To eject current slot enter Mount E GOTO END
:EJECT net stop ntmssvc start /wait rsm ejectatapi /n0 @echo %ERRORLEVEL% net start ntmssvc
:END rem @echo . rem @echo DONE.
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||