This post targeted to see and learn about the Disable Publish to Web Using Intune. We will disable the Turn off the “Publish to Web” task for files and folders Using Intune. To enable this Policy, we will use the Configuration Profiles from Intune.
The described policy determines the availability of certain tasks in Windows folders, namely “Publish this file to the Web,” “Publish this folder to the Web,” and “Publish the selected items to the Web.” The Web Publishing Wizard facilitates the process of publishing content to the web by downloading a list of providers.
When this policy is enabled in Intune, the tasks related to web publishing, namely “Publish this file to the Web,” “Publish this folder to the Web,” and “Publish the selected items to the Web,” are no longer available in the File and Folder tasks in Windows folders. This means that users will not be able to publish files or folders directly to the web from within Windows Explorer.
On the other hand, if this policy is not configured or is disabled, users will be able to access these tasks and publish their files and folders to the web using the Web Publishing Wizard. The Web Publishing Wizard is a tool provided by Windows that allows users to select a web hosting provider and publish their files to the web with ease.
- Notify Antivirus when Opening Attachments using Intune
- Password Protected Screen Saver Policy using Intune
Windows CSP Details ShellRemovePublishToWeb_2
Let’s go through Windows CSP Details for this Policy setting ShellRemovePublishToWeb_2. This policy setting is just one of many tools that system administrators can use to manage and secure their Windows environments by stopping users from publishing files on the Web. By carefully configuring and enforcing policies, organizations can help ensure that their users are able to work efficiently and effectively while minimizing the risk of security breaches and other issues.
CSP URI – ./Device/Vendor/MSFT/Policy/Config/ADMX_ICM/ShellRemovePublishToWeb_2
Disable Publish to Web Using Intune
To Disable Publish to Web Using Intune, follow the steps stated below:
- Sign in to the Intune Admin Center portal https://intune.microsoft.com/.
- Select Devices > Windows > Configuration profiles > Create a profile.
In Create Profile, Select Windows 10 and later in Platform, and Select Profile Type as Settings catalog. Click on Create button.
|Windows 10 and later||Settings Catalog|
In the Basics tab pane, enter a name for the Policy as Publish to Web Policy. You can enter the Description for the Policy if you want, then select Next.
Now in Configuration settings, click Add Settings to browse or search the catalog for the settings you want to configure.
In the Settings Picker windows, search by the keyword Publish to Web, among two you will see Administrative Templates\System\Internet Communication Management\Internet Communication settings, and select this.
When you select the option as stated above, you will see only two settings, one of those is to Turn off the “Publish to Web” task for files and folders. After selecting your setting, click the cross mark at the right-hand corner, as shown below.
Now, in the Administrative Templates, enable Turn off the “Publish to Web” task for files and folders, as shown below in the image.
Using Scope tags, you can assign a tag to filter the profile to specific IT groups. One can add scope tags (if required) and click Next to continue. Now in Assignments, in Included Groups, you need to click on Add Groups, choose Select Groups to include one or more groups, and click Next to continue.
In the Review + Create tab, you need to review your settings. After clicking on Create, your changes are saved, and the profile is assigned.
A notification will appear automatically if you see it in the top right-hand corner. One can easily see that the “Disable Publish to Web Using Intune” was created successfully. Also, if you check in the Configuration Profiles list, the Policy is visible there.
Your groups will receive your profile settings when the devices check in with the Intune service. The Policy applies to the device.
Intune Report for Disable Publish to Web Using Intune
To monitor the assignment of the policy, you must choose the appropriate policy from the list of Configuration Profiles. You can check the device and user check-in status to see if the policy has been successfully applied. If you wish to view more information, you can click on “View Report” to see additional details.
Intune MDM Event Log
Intune event IDs 813 and 814 can be used to identify if the String or integer policy has been successfully applied to Windows 10 or 11 devices. By examining these event IDs, you can also determine the specific value of the policy that is being applied to those devices. In the case of this particular policy, the value is a string and is associated with event ID 814.
To confirm this, you can check the Event log path – Applications and Services Logs – Microsoft – Windows – Devicemanagement-Enterprise-Diagnostics-Provider – Admin.
MDM PolicyManager: Set policy string, Policy: (ShellRemovePublishToWeb_2), Area: (ADMX_ICM), EnrollmentID requesting merge: (4009A089-4FBA-482B-9D17-9E5A8428CB98), Current User: (Device), String: (<enabled/>), Enrollment Type: (0xD), Scope: (0x0).
You will get some important information like Area and Enrollment ID that will help you detect the registry path after you look in the event viewer to log above. Please refer to the below table for this information:
Information from the above table of Disable Publish to Web Using Intune can be used to REGEDIT.exe on a target computer to view the registry settings that store group policy settings. These settings are located in the registry path.
When you navigate to the above path in the Registry Editor, you will find the registry key with the name ShellRemovePublishToWeb_2. Refer to the table and image below.
Abhinav Rana is working as an SCCM Admin. He loves to help the community by sharing his knowledge. He is a B.Tech graduate in Information Technology.