Policy
Allow shared folders to be published
This policy setting determines whether the user can publish shared folders in Active Directory Domain Services (AD DS). If you enable or do not configure this policy setting, users can use the "Publish in Active Directory" option in the Shared Folders snap-in to publish shared folders in AD DS. If you disable this policy setting, users cannot publish shared folders in AD DS, and the "Publish in Active Directory" option is disabled. Note: The default is to allow shared folders to be published when this setting is not configured.
d85c372f485a PublishSharedFolders Registry
Copy registry mappings
HKCU\Software\Policies\Microsoft\Windows NT\SharedFolders\PublishSharedFolders (enabled) = 1
HKCU\Software\Policies\Microsoft\Windows NT\SharedFolders\PublishSharedFolders (disabled) = 0 Policy notes
This policy setting determines whether the user can publish shared folders in Active Directory Domain Services (AD DS). If you enable or do not configure this policy setting, users can use the "Publish in Active Directory" option in the Shared Folders snap-in to publish shared folders in AD DS. If you disable this policy setting, users cannot publish shared folders in AD DS, and the "Publish in Active Directory" option is disabled. Note: The default is to allow shared folders to be published when this setting is not configured.