Forked from ridercz/ExcludeExplicitO365Endpoint.cmd
          
        
    
          Created
          September 21, 2024 04:41 
        
      - 
      
 - 
        
Save JoeOIVOV/b2babc164de99918bdd6e1749797791c to your computer and use it in GitHub Desktop.  
    Exclude Office 365 from Outlook 16.0 autodiscovery
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @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