Skip to content

Instantly share code, notes, and snippets.

@PRO-2684
Last active June 11, 2026 07:29
Show Gist options
  • Select an option

  • Save PRO-2684/9e15b81499e745a0950f41cd07fceee1 to your computer and use it in GitHub Desktop.

Select an option

Save PRO-2684/9e15b81499e745a0950f41cd07fceee1 to your computer and use it in GitHub Desktop.
Remove "Share this page" button on Chrome

Try disabling DesktopSharingHubEnabled policy, by executing provided DisableDesktopSharingHub.reg. Alternatively:

  • Open regedit
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome
  • Right click and add a DWORD named DesktopSharingHubEnabled, with default value 0

You might need to restart the browser or go to chrome://policy/ and reload policies for this to take effect.

For other Chromium browsers, the path may vary, but a good choice is HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Chromium.

References:

Originally posted on StackOverflow

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"DesktopSharingHubEnabled"=dword:00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment