Registry Keys for Office 365 (2013/2016/O365)

Ad: FixFinder – Self-Help Automation platform that lowers your Tier-1 volume with a user empowering Desktop interface. FixFinder hooks into your existing MSP and IT tools to provide Unified Knowledge, Custom Wizards, Status Pages, Full Ticketing, and an Application library. Check it out!
If you’re looking for the Office 2016 Administrative Template files (ADMX/ADML) click here.
Registry Keys for Office 2013/2016
It’s not a registry key but rolling back to semi-annual or forward to monthly can be helpful. Run this as the user but using admin/cmd prompt so you can watch the download progress:
Monthly (Current) or Targeted (Semi-Annual) "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /changesetting Channel=Broad "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /update user ^ This stopped working IDK why. Now, I have to roll back by running the installer via https://portal.office365.com while back-end settings are set into semi-annual mode. No amount of running these commands, and repairing will successfully bring a Current back using the above.
Change “16.0” to “15.0” to make most of these work in 2013
Example Command: reg add "FULL_REGISTRY_PATH" /v KeyToBeModified /t REG_SZ /d "DataforInsideOfTheKey" /f
Block Windows 11 – Automatic Updates (21H2)
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v TargetReleaseVersion /t REG_DWORD /d 1 reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v TargetReleaseVersionInfo /t REG_SZ /d 21H2
AutoDiscover hitting Office365 causing the repeated password prompts
Added 3/5/2018: Office prioritizes Office365 AutoDiscover over other providers. If you subscribe to O365 for the software but don’t use the email you can’t set it up. I had this problem with Rackspace and they refused to publish the registry fix. They want every user to put a corporate O365 activation account on their personal email for it to keep working.
I recommend DNS blocking outlook.office365.com and the autodiscover URL for O365 if you are planning an upcoming migration. In my testing, I saw my client ‘hop’ from Rackspace HEX to O365 before I had even changed my autodiscover record. Your clients will start sending an email thru the new server before you perform the cutover. It’s very random and they go back eventually.
Fix Outlook Password Prompt hitting Office365 AutoDiscover not hosted email like Rackspace. Password prompts setting up Wizard will not stop until registry key is applied and reboot: [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover] "ExcludeExplicitO365Endpoint"=dword:00000001 reg add "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover" /v ExcludeExplicitO365Endpoint /t REG_DWORD /d 0001
Don’t disable Salesforce For Outlook or LoopUP. Find the custom plug-in name and add it here to stop disabling:
[HKCU\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList] "AddinSidePanel.AddinModule"=dword:00000001 "SalesforceForOutlook"=dword:00000001 "Ring2ConferencingAddin"=dword:00000001 "Box.OutLook_AddIn"=dword:00000001 "TeamsAddin.FastConnect"=dword:00000006 (KB #1 at Microsoft & KB #2) Note that these won't bring an already Disabled add-in back. You have to wipe out the key in this location to trigger it to be enabled again in conjunction with setting loadbehavior. Crashing Add-ins: reg delete HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\CrashingAddInList /v REPLACE /f Teams: reg delete HKCU\SOFTWARE\Microsoft\Office\16.0\Outlook\Resiliency\DisabledItems\ /va /f Salesforce For Outlook: reg delete HKCU\SOFTWARE\Microsoft\Office\16.0\Outlook\Resiliency\DisabledItems\ /va /f (The key values for DisabledItems aren't static)
Stop Lync, and OneDrive from launching when the user’s login:
reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ /v OneDrive /f reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ /v Lync /f
Microsoft shoving Teams down your throat? Try to stop this from loading on the user’s start-up:
del "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Corporation\Microsoft Teams.lnk" MsiExec.exe /X {731F6BAA-A986-45A4-8936-7C3AAAAA760B} /q
(Did you know that it’s not possible to remove Skype For Business from Office365 Business even with the customization tool? Isn’t that great? Now you can have Skype Desktop, Skype Windows 10, and Skype For Business all on one machine! )
Turn off Hardware Acceleration: Fixes display issues, and refresh/white screen locking up:
"HKCU\Software\Microsoft\Office\16.0\Common\Graphics" /v DisableHardwareAcceleration /t REG_DWORD /d 0
Save to the computer by default, stop trying to use the Cloud on every SaveAs:
"HKCU\Software\Microsoft\Office\16.0\Common\General" /v PreferCloudSaveLocations /t REG_DWORD /d 0
Change the location of Personal Templates, to a place not in the user’s AppData (default):
"HKCU\Software\Microsoft\Office\16.0\Word\Options" /v PersonalTemplates /t REG_EXPAND_SZ /d C:\Templates "HKCU\Software\Microsoft\Office\16.0\Word\Security\Trusted Locations\Location50" /v Description /t REG_SZ /d "Global Templates" "HKCU\Software\Microsoft\Office\16.0\Word\Security\Trusted Locations\Location50" /v Path /t REG_SZ /d "C:\Templates"
Turn off the Outlook Social Connector in Outlook:
rename "C:\Program Files\Microsoft Office 16.0\root\office16.0\SOCIALPROVIDER.DLL" SOCIALPROVIDERDISABLED.DLL rename "C:\Program Files\Microsoft Office 16.0\root\office16.0\SOCIALCONNECTOR.DLL" SOCIALCONNECTORDISABLED.DLL
Turn off the Send To Bluetooth add-in in Office. We’ve seen this cause numerous prompts with templates, especially ones with Macros. Errors include those specific to modifying the template dot file, and building blocks:
"HKLM\Software\Microsoft\Office\16.0\Word\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0 "HKLM\Software\Microsoft\Office\16.0\Excel\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0 "HKLM\Software\Microsoft\Office\16.0\PowerPoint\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0 "HKLM\Software\Microsoft\Office\16.0\Outlook\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0
Turn off the download warnings for documents from the Untrusted Internet:
"HKCU\Software\Microsoft\Office\16.0\Word\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 1 "HKCU\Software\Microsoft\Office\16.0\Word\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t REG_DWORD /d 1 "HKCU\Software\Microsoft\Office\16.0\PowerPoint\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 1 "HKCU\Software\Microsoft\Office\16.0\PowerPoint\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t REG_DWORD /d 1 "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 1 "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t REG_DWORD /d 1
Make AutoDiscover stop hitting HTTPS on your primary https://domain.com. There are certificate errors associated here. If for some reason you get proxy errors related to SSL, or another AutoDiscover hangup:
"HKCU\Software\Microsoft\Office\16.0\Outlook\AutoDiscover" /v ExcludeHttpsRootDomain /t REG_DWORD /d 1 "HHKCU\Software\Microsoft\Office\16.0\Outlook\AutoDiscover" /v ExcludeHttpsAutoDiscoverDomain /t REG_DWORD /d 1
Add trusted AutoDiscover servers, this way the user won’t have to hit Allow and trust it themselves:
"HKCU\Software\Microsoft\Office\16.0\Outlook\AutoDiscover\RedirectServers" /v secure.autodiscover.emailsrvr.com /t REG_NONE /d 0000 "HKCU\Software\Microsoft\Office\16.0\Outlook\AutoDiscover\RedirectServers" /v autodiscover.mex06.emailsrvr.com /t REG_NONE /d 0000
Starting Version 1607 Build number 7167.2060 for Office O365, the ability to disable OneDrive will be available. Based on the registry key that is set you can choose between from being displayed as an option to save can be hidden from the User Interface.
[HKCU\Software\Microsoft\Office\16.0\Common\Internet] "OnlineStorage"=dword:00000003 "UseOnlineContent"=dword:00000002
HKCU\Software\Microsoft\Office\16.0\Common\Internet -> OnlineStorage 0 Policy is off (all locations are shown) 1 Only OneDrive Personal locations are hidden 2 All SharePoint Online locations are hidden 3 All Microsoft Online Locations are hidden All other values Policy is off (all locations are shown)
Prevent users from logging into Office using a Windows Live ID. This will force the org (work) login which has the O365 license:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\SignIn] "SignInOptions"=dword:00000002
Block PST creation and growth without using Group Policy or Templates:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\PST]
"DisablePST"=dword:00000001
"PSTDisableGrow"=dword:00000001
Keys to disable common annoyance add-ins in Outlook. Examples are TeamViewer, OneNote, Sharepoint Import, Access, Social Connector, and other tools that might hang up or otherwise not be needed:
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\UCAddin.LyncAddin.1] "LoadBehavior"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\TeamViewerMeetingAddIn.AddIn] "LoadBehavior"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\OscAddin.Connect] "LoadBehavior"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\OneNote.OutlookAddin] "LoadBehavior"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\ColleagueImport.ColleagueImportAddin] "LoadBehavior"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\AccessAddin.DC] "LoadBehavior"=dword:00000000
Can you find something that stops Office 365 from syncing the theme across computers who uses the same Office 365 accounts.
The best bet is to look here at custom config: https://config.office.com/ – Even though Microsoft seems to wipe out any customizations when you repair the software. Asshole move IMO as they chant ‘Repair! Repair! Repair!’ in the call centers meanwhile it’s shoving Skype, Teams, Access, and all these other apps back on a nicely pre-configured machine. Makes no sense to create the portal, method, then wipe it all out with something people have to do all the time b/c O365 is a PITA.