windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-sharedfolders.md
2023-01-09 17:52:22 -05:00

7.0 KiB

title, description, author, manager, ms.author, ms.date, ms.localizationpriority, ms.prod, ms.technology, ms.topic
title description author manager ms.author ms.date ms.localizationpriority ms.prod ms.technology ms.topic
ADMX_SharedFolders Policy CSP Learn more about the ADMX_SharedFolders Area in Policy CSP. vinaypamnani-msft aaroncz vinpa 01/09/2023 medium windows-client itpro-manage reference

Policy CSP - ADMX_SharedFolders

Tip

This CSP contains ADMX-backed policies which require a special SyncML format to enable or disable. You must specify the data type in the SyncML as <Format>chr</Format>. For details, see Understanding ADMX-backed policies.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.

PublishDfsRoots

Scope Editions Applicable OS
Device
✔️ User
Home
✔️ Pro
✔️ Enterprise
✔️ Education
✔️ Windows SE
✔️ Windows 10, version 2004 [10.0.19041.1202] and later
✔️ Windows 10, version 2009 [10.0.19042.1202] and later
✔️ Windows 10, version 21H1 [10.0.19043.1202] and later
✔️ Windows 11, version 21H2 [10.0.22000] and later
./User/Vendor/MSFT/Policy/Config/ADMX_SharedFolders/PublishDfsRoots

This policy setting determines whether the user can publish DFS roots 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 to publish DFS roots as shared folders in AD DS .

  • If you disable this policy setting, users cannot publish DFS roots 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.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name PublishDfsRoots
Friendly Name Allow DFS roots to be published
Location User Configuration
Path Shared Folders
Registry Key Name Software\Policies\Microsoft\Windows NT\SharedFolders
Registry Value Name PublishDfsRoots
ADMX File Name SharedFolders.admx

PublishSharedFolders

Scope Editions Applicable OS
Device
✔️ User
Home
✔️ Pro
✔️ Enterprise
✔️ Education
✔️ Windows SE
✔️ Windows 10, version 2004 [10.0.19041.1202] and later
✔️ Windows 10, version 2009 [10.0.19042.1202] and later
✔️ Windows 10, version 21H1 [10.0.19043.1202] and later
✔️ Windows 11, version 21H2 [10.0.22000] and later
./User/Vendor/MSFT/Policy/Config/ADMX_SharedFolders/PublishSharedFolders

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.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name PublishSharedFolders
Friendly Name Allow shared folders to be published
Location User Configuration
Path Shared Folders
Registry Key Name Software\Policies\Microsoft\Windows NT\SharedFolders
Registry Value Name PublishSharedFolders
ADMX File Name SharedFolders.admx

Policy configuration service provider