PRB: Win32_LogicalShareSecuritySetting Returns "Not Found" for a Share on the Computer (321201)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows Management Instrumentation 1.5

This article was previously published under Q321201

SYMPTOMS

When you try to use the Win32_LogicalShareSecuritySetting class on Windows 2000, you may receive a "Not Found" (WBEM_E_NOT_FOUND or 0x80041002) error message for some shares on the computer.

CAUSE

In Windows 2000, a newly-created share has its default permissions set to "Full Control" for "Everyone". There is no security descriptor associated with the share. Because of this, when Win32_LogicalShareSecuritySetting tries to get the information for this share, it generates the "Not Found" error message.

RESOLUTION

Modify the permissions on the share to the appropriate settings to create a new Security Descriptor that can then be used by Win32_LogicalShareSecuritySetting.

STATUS

This behavior is by design.

MORE INFORMATION

The default settings for a share in Windows 2000 and later is Everyone Full Control which is equivalent to no security descriptor.

For more information about Win32_LogicalShareSecuritySetting, see the MSDN documentation on WMI and Win32_LogicalShareSecuritySetting. To do so, please visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:3/20/2004
Keywords:kbDSWManage2003Swept kbenv kberrmsg kbprb KB321201