windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-sharing.md
2022-08-10 18:08:08 -04:00

2.7 KiB

title, description, ms.author, ms.localizationpriority, ms.topic, ms.prod, ms.technology, author, ms.date, ms.reviewer, manager
title description ms.author ms.localizationpriority ms.topic ms.prod ms.technology author ms.date ms.reviewer manager
Policy CSP - ADMX_Sharing Learn about Policy CSP - ADMX_Sharing. vinpa medium article w10 windows vinaypamnani-msft 09/21/2020 aaroncz

Policy CSP - ADMX_Sharing

Tip

These are ADMX-backed policies and require a special SyncML format to enable or disable. For details, see Understanding ADMX-backed policies.

You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to Enabling a policy.

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.


ADMX_Sharing policies

ADMX_Sharing/NoInplaceSharing

ADMX_Sharing/NoInplaceSharing

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • User

This policy setting specifies whether users can share files within their profile. By default, users are allowed to share files within their profile to other users on their network after an administrator opts in the computer. An administrator can opt in the computer by using the sharing wizard to share a file within their profile.

If you enable this policy setting, users can't share files within their profile using the sharing wizard. Also, the sharing wizard can't create a share at %root%\users and can only be used to create SMB shares on folders.

If you disable or don't configure this policy setting, users can share files out of their user profile after an administrator has opted in the computer.

ADMX Info:

  • GP Friendly name: Prevent users from sharing files within their profile.
  • GP name: NoInplaceSharing
  • GP path: Windows Components\Network Sharing
  • GP ADMX file name: Sharing.admx

ADMX-backed policies in Policy CSP