Skip to content

Instantly share code, notes, and snippets.

@ridercz
Created November 18, 2019 16:51
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ridercz/dc485d38da104835559c1ed8b78afad0 to your computer and use it in GitHub Desktop.
Save ridercz/dc485d38da104835559c1ed8b78afad0 to your computer and use it in GitHub Desktop.
Exclude Office 365 from Outlook 16.0 autodiscovery
@ECHO OFF
REG ADD HKCU\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /v ExcludeExplicitO365Endpoint /t REG_DWORD /d 1 /f /reg:32
REG ADD HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\AutoDiscover /v ExcludeExplicitO365Endpoint /t REG_DWORD /d 1 /f /reg:32
REG ADD HKCU\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /v ExcludeExplicitO365Endpoint /t REG_DWORD /d 1 /f /reg:64
REG ADD HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\AutoDiscover /v ExcludeExplicitO365Endpoint /t REG_DWORD /d 1 /f /reg:64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment