How to Completely Disable ‘Share Button’ via Group Policy in Microsoft Edge

Microsoft Edge includes a native “Share Button” located by default in the toolbar, designed to let users quickly broadcast the URL and title of the current webpage to other installed applications, social media platforms, or nearby devices (via Windows Share/Nearby Sharing). While this frictionless sharing experience is ideal for personal use, it represents a significant data exfiltration risk in strict enterprise, government, or zero-trust environments. If a user is viewing sensitive intranet portals, confidential SaaS dashboards, or authenticated web applications, allowing them to instantly funnel those internal URIs (or potentially the page content via screenshot extensions) to unmanaged third-party apps or external devices violates strict data loss prevention (DLP) mandates.

This guide explains how to completely disable the ‘Share Button’ via Group Policy in Microsoft Edge, enforcing a strict zero-trust model where users are cryptographically prevented from utilizing the browser’s native sharing UI to export data.

Disable the Share Button via Group Policy

To enforce a strict block that permanently removes the Share UI from the browser globally, we must deploy an administrative template. Note that this requires Windows 11 Pro, Enterprise, or Education editions.

  1. Log into Windows 11 with an Administrator account.
  2. Press the Windows Key + R to open the Run dialogue box.
  3. Type gpedit.msc and press Enter to launch the Local Group Policy Editor.
  4. In the left-hand navigation pane, strictly follow this exact path:
    Computer Configuration > Administrative Templates > Microsoft Edge
  5. In the right-hand pane, locate the policy named Show the Share button.
  6. Double-click the policy to open its configuration window.
  7. Select the radio button next to Disabled. (By explicitly disabling this policy, we instruct the Edge rendering engine to permanently purge the Share button from the toolbar and to suppress any keyboard shortcuts or contextual menu items that would otherwise invoke the native Windows Share contract).
  8. Click Apply, then click OK.

Verify the Configuration Lockdown

Group Policy changes require the browser to read the registry upon its next launch.

Close all active instances of Microsoft Edge. To force the policy update immediately across the OS, open Command Prompt as Administrator and run gpupdate /force. To verify the restriction is active, launch Microsoft Edge. Examine the top right corner of the toolbar; the “Share” icon (a box with an outward-pointing arrow) will be completely missing. Furthermore, attempting to right-click on a page or tab to find a “Share” option will yield no results. The browser is now cryptographically bound to operate as a sterile viewport, entirely mitigating the risk of users leveraging the native sharing API for unauthorized data exfiltration.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.