Microsoft KB Archive/240669

{|
 * width="100%"|

BUG: Windows Management Returns Wrong Error Message When Administering Logical Disks

 * }

Q240669

-

The information in this article applies to:


 * Windows Management Instrumentation, versions 1.0, 1.1

-

SYMPTOMS
Windows Management returns the wrong error message when a user without administrative rights attempts to modify the logical-disk volume labels.

Windows 2000 uses Windows Management Instrumentation to manage logical disks. A Microsoft Management Console (MMC) snap-in provides access to this functionality. When a user attempts to modify the volume label and that user doesn't have administrative rights, the following incorrect error message is returned from Windows Management:

Cannot write label. Media may be write protected.

The correct error message is:

Invalid Volume Label - You do not have sufficient rights to perform this operation

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Steps to Reproduce Behavior

 * 1) Log on to a Windows 2000 system, using the name of a user who doesn't have administrative privileges.
 * 2) On the Start menu, click Run.
 * 3) Enter mmc.exe, and then click Ok.
 * 4) Expand the Storage Node of the tree if necessary, and then click Logical Drives. A list of the logical drives will appear on the right pane.
 * 5) Double-click any logical drive and attempt to change the volume label.

Note that a message box is displayed titled Logical and Mapped Drives. The text is "Cannot write label. Media maybe write protected." The title should be Invalid Volume Label and the text should be "You do not have sufficient rights to perform this operation."