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



The information in this article applies to:

  • Microsoft Windows Management Instrumentation 1.0
  • Microsoft Windows Management Instrumentation 1.1

This article was previously published under Q240669

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 that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

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."

REFERENCES

See "Windows Management Instrumentation" in the MSDN.

Modification Type:MinorLast Reviewed:3/20/2004
Keywords:kbDSWManage2003Swept kbBug kbWBEM kbWBEM100 KB240669