Media Lock Test (LOGO)

This test is a user-mode application that tests the functionality of locking mechanisms on SCSI-removable devices of type CD-ROM and direct access (formerly Jaz or Zip drives). This test issues SCSI passthrough Prevent/Allow medium removal commands to test the locking capabilities of such devices.

Test details

Associated requirements

Device.Storage.Optical.Features

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows Server 2008 x64 Windows Server 2008 x86Windows 8.1 x64Windows 8.1 x86Windows Server 2012 R2

Expected run time

~10 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Optical Disk Drive Testing Prerequisites.

In addition, this test requires a piece of media to insert into the device. For optical devices, a CD-ROM disc usually works well.

The test prompts you to perform some actions such as inserting media, pressing the eject button on the device, and responding to prompts about if the device dismounted. The test tells you exactly what needs to be done to pass the test. Pay careful attention to the test prompts and follow the instructions carefully.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

If the test fails with blank optical media, please try to use a CD-ROM disc.

If other failures occur, ensure that the manual steps requested by the test were performed exactly as the test specifies.

More information

This test verifies that the device supports the media lock command properly. The test requests a piece of media to place into the device. It then locks the media by using the Prevent/Allow medium removal command and then verifies if the media is locked such that it cannot be ejected using the external buttons. The same command is used to release the tray allowing the eject button to physically eject the media. This is verified with the user. This test is a manual test and needs manual intervention to successfully complete the testing.

Command usage

Command option Description

Mlocktst.exe <StorageDriveLetter>

Runs the test.

StorageDriveLetter example: E:

 

Note  

For command-line help for this test binary, type /h.

 

File list

File Location

Mlocktst.exe

<[testbinroot]>\nttest\\driverstest\storage\wdk\

ntlog.dll

<[testbinroot]>\nttest\commontest\ntlog\

ntlogger.ini

<[testbinroot]>\nttest\commontest\ntlog\

logtest.vbs

<[testbinroot]>\nttest\\driverstest\storage\wdk\

 

 

 

Send comments about this topic to Microsoft