I'm trying to disable the new share button on the top right corner of the Office 2016 apps.
Does anyone know the correspondent IdMso? I've tried to locate the IdMso tables but I only find tables for the previous versions of Office.
I'm trying to disable the new share button on the top right corner of the Office 2016 apps.
Does anyone know the correspondent IdMso? I've tried to locate the IdMso tables but I only find tables for the previous versions of Office.
Microsoft has published the IDs for Office 2016 here:
Office 2016 Help Files: Office Fluent User Interface Control Identifiers
As far as I can see, however, the Share button at the top left is not part of the Ribbon, i.e. you cannot remove it using a custom Ribbon XML (you can easily check this by providing a Ribbon XML which resets everything).
In case that you don't know the ID of a control, there is also a simple way to retrieve it inside Office: Go to File > Options > Customize Ribbon and hover over the respective command or group:
Command:
Group:
Sorry for being late to the party, but since there's a way to at least disable the button in question, I'd like to share my findings after a TechNet forum post.
While there's a GPO (group policy object) way, I opted for the quicker way of adding the registry key myself:
Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\<OfficeApp>\DisabledCmdBarItemsList
& replace <OfficeApp>
for each Office application you want the button being disabled in its Ribbon, i. e.Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Excel\DisabledCmdBarItemsList
for ExcelComputer\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Word\DisabledCmdBarItemsList
for WordString value
named TCID1
.
3.1. In case there's already such an entry, increase the index at the end appropriately.String value
actual value to 26594
.Bonus for privacy lovers:
While you're already within the registry editor, you can get rid of the Sign In
button like this (courtesy of another TechNet forum post):
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\SignIn
.DWORD value
named SignInOptions
.3
.
3.1. For the curious: according to MS docs, these are the value meanings: