Registry Keys for Office 365 (2013/2016)

Registry Keys for Office 365 (2013/2016)

No Comments

If you’re looking for the Office 2016 Administrative Template files (ADMX/ADML) click here.

Registry Keys for Office 2013/2016

Change “15.0” to “16.0” to make most of these work in 2016.

Example Command: reg add "FULL_REGISTRY_PATH" /v KeyToBeModified /t REG_SZ /d "DataforInsideOfTheKey" /f

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 corporate O365 activation account on personal email for it to keep working.

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:


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:

(KB #1 at Microsoft & KB #2)

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
(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\15.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\15.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\15.0\Word\Options" /v PersonalTemplates /t REG_EXPAND_SZ /d C:\Templates
"HKCU\Software\Microsoft\Office\15.0\Word\Security\Trusted Locations\Location50" /v Description /t REG_SZ /d "Global Templates"
"HKCU\Software\Microsoft\Office\15.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 15\root\office15\SOCIALPROVIDER.DLL" SOCIALPROVIDERDISABLED.DLL
rename "C:\Program Files\Microsoft Office 15\root\office15\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\15.0\Word\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0 
"HKLM\Software\Microsoft\Office\15.0\Excel\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0 
"HKLM\Software\Microsoft\Office\15.0\PowerPoint\Addins\btmoffice.Connect" /v LoadBehavior /t REG_DWORD /d 0 
"HKLM\Software\Microsoft\Office\15.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\15.0\Word\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 1 
"HKCU\Software\Microsoft\Office\15.0\Word\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t REG_DWORD /d 1 
"HKCU\Software\Microsoft\Office\15.0\PowerPoint\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 1 
"HKCU\Software\Microsoft\Office\15.0\PowerPoint\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t REG_DWORD /d 1 
"HKCU\Software\Microsoft\Office\15.0\Excel\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 1 
"HKCU\Software\Microsoft\Office\15.0\Excel\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t REG_DWORD /d 1

Make AutoDiscover stop hitting HTTPS on your primary 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\15.0\Outlook\AutoDiscover" /v ExcludeHttpsRootDomain /t REG_DWORD /d 1 
"HHKCU\Software\Microsoft\Office\15.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\15.0\Outlook\AutoDiscover\RedirectServers" /v /t REG_NONE /d 0000 
"HKCU\Software\Microsoft\Office\15.0\Outlook\AutoDiscover\RedirectServers" /v /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
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)

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:







Leave a Reply

Your email address will not be published. Required fields are marked *