Microsoft KB Archive/321201

= PRB: Win32_LogicalShareSecuritySetting Returns &quot;Not Found&quot; for a Share on the Computer =

Article ID: 321201

Article Last Modified on 3/20/2004

-

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 &quot;Not Found&quot; (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 &quot;Full Control&quot; for &quot;Everyone&quot;. 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 &quot;Not Found&quot; 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:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/r_32os3_46w7.asp

Keywords: kberrmsg kbenv kbprb kbdswmanage2003swept KB321201

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.