To block the "Sharing" option in Windows File Explorer via Intune, you can use a combination of configuration profiles and policies. Here's a step-by-step guide:
Log in to Microsoft Intune:
Go to the Microsoft Endpoint Manager admin center.
Create a Configuration Profile:
Navigate to **Devices** > **Configuration profiles** > **Create profile**.
Select **Windows 10 and later** as the platform.
Choose **Settings catalog** as the profile type.
**Configure the Policy**:
In the settings catalog, search for **File Explorer** or related options.
Look for settings that allow you to disable sharing features or restrict access to sharing options.
If no direct setting exists, you may need to configure a custom policy using **Administrative Templates** or **Registry keys**.
**Deploy the Profile**:
Assign the profile to the appropriate user or device groups.
Ensure the policy is applied by syncing the devices with Intune.
**Test the Configuration**:
Verify on a test device that the "Sharing" option is no longer available in File Explorer.
If a specific setting for disabling the "Sharing" option isn't available, you might need to use a custom script or registry modification deployed via Intune.