Skip to content
Melbit Services
  • IT Services
    • Managed IT Services
    • Cloud Services
    • IT Consulting Services
    • Business Communication
    • Remote IT Support
    • Domain Names
  • Industries
    • Accounting Firms
    • Law Firms
    • Realestate
    • Medical Centres
    • Pharmacies
    • Conveyancing Firms
  • Cybersecurity
    • Cybersecurity Assessment
    • The Essential Eight
    • Cybersecurity Playbooks
    • Computer Security Threats
  • Remote IT Support
    • TeamViewer Windows
    • TeamViewer Mac
    • TeamViewer Linux
Get in Touch

Windows

23
  • Understanding MFA
  • How to change file creation or modified date
  • How to check if Microsoft Defender for Endpoint is running
  • Access to Removable Drives not Protected by BitLocker
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • How do you extend a User Profile Disk
  • Resizing User Virtual Disk RDP (Esxi VM)
  • Command and PowerShell History
  • How to increase the disk size of VM in VirtualBox
  • Saved Windows Credentials
  • View installed software using wmic
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • What is a DHCP Server and DHCP relays
  • How to find user profile disk from registry
  • Enabling iPhone hotspot
  • Download Maps Manager Delayed Start Red in Server 2016
  • What is SSTP VPN?
  • How to Disable Revocation Check for SSTP VPN
  • Enabling Group Policy editor on Windows 10 Home
  • Source file names are larger than supported file system
  • Essential Network Ports for Windows Services
  • Another account from your organisation is already signed in
  • Disabling Office 365 Autodiscover – Exchange Self hosted
Linux

Linux

5
  • mysql-8.0-gpg package error
  • Windows Privilege Escalation
  • Linux Exim Cheat sheet
  • Rsync linux
  • CSF Shell Command

Networking

5
  • Windows Privilege Escalation
  • Cannot access FortiGate web GUI admin interface
  • How to find Fortinet PSK
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • Disabling SIP ALG on FortiGate Firewall

General IT Support

15
  • How to improve the WIFI coverage in the office
  • Best Practices for Data Backup and Recovery
  • How to change file creation or modified date
  • Command and PowerShell History
  • How to increase the disk size of VM in VirtualBox
  • Saved Windows Credentials
  • View installed software using wmic
  • Cannot access FortiGate web GUI admin interface
  • How to find Fortinet PSK
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • What is a DHCP Server and DHCP relays
  • How to find user profile disk from registry
  • Enabling iPhone hotspot
  • Disabling SIP ALG on FortiGate Firewall
  • Download Maps Manager Delayed Start Red in Server 2016

Network Connectivity

4
  • How to improve the WIFI coverage in the office
  • Enabling iPhone hotspot
  • Disabling SIP ALG on FortiGate Firewall
  • What is SSTP VPN?

Cyber Security & Compliance

4
  • How to check if Microsoft Defender for Endpoint is running
  • Access to Removable Drives not Protected by BitLocker
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • Windows Privilege Escalation

Remote IT Support & Helpdesk

6
  • mysql-8.0-gpg package error
  • Access to Removable Drives not Protected by BitLocker
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • How do you extend a User Profile Disk
  • Resizing User Virtual Disk RDP (Esxi VM)
  • Atera client not showing up in Customer’s dashboard
View Categories
  • Home
  • KB
  • Windows
  • Disabling Office 365 Autodiscover – Exchange Self hosted

Disabling Office 365 Autodiscover – Exchange Self hosted

1 min read

Outlook 2016 onward can disconnect from Ms Exchange Self hosted. Set this DWORD data to below to force Outlook NOT to call the Office 365 Config Service to retrieve appropriate Autodiscover URLs.

This is useful when you have an on-premises Exchange server and want to prevent Outlook from automatically discovering Office 365 settings.

Disable Autodiscover SCP Lookup on Client Machines #

  • Service Connection Point (SCP) is used by the Autodiscover service in an on-premises Exchange environment. You can disable it by using registry edits on client machines to force them to use specific settings instead of relying on Autodiscover.

Registry Edit (Manual Configuration):

Open Registry Editor (Press Win + R, type regedit, and press Enter).

Navigate to the following path:

HKEY_CURRENT_USER\Software\Microsoft\Office\<Version>\Outlook\AutoDiscover
For <Version>, replace it with your Office version:

Add new DWORD entries and set the value to 1 to disable certain Autodiscover methods:

ExcludeScpLookup  → 1

ExcludeHttpsRootDomain → 1

ExcludeHttpsAutoDiscoverDomain → 1

ExcludeHttpRedirect → 1

ExcludeSrvRecord → 1

ExcludeExplicitO365Endpoint → 1 (this blocks Office 365 endpoint)

Restart Outlook after making the changes.

If you’re running a self-hosted Exchange, ensure your local DNS is correctly set up to prevent Office 365 from resolving to Autodiscover via DNS.

Modify DNS Settings #

  • Ensure your Autodiscover DNS records are pointing to your on-premises Exchange server instead of Office 365.
  • Remove any CNAME records for Autodiscover that point to autodiscover.outlook.com if you are not using Office 365.

Modify Outlook Settings via Group Policy (GPO)  #

If you need to apply this setting across many computers in your organization, you can create a Group Policy Object (GPO) to disable the Autodiscover SCP lookup.

  • Download the Office Administrative Template files (ADMX/ADML) from the Microsoft website.
  • Once installed, open Group Policy Management Editor and create a new policy.
  • Navigate to:User Configuration > Administrative Templates > Microsoft Outlook <version> > Account Settings > Exchange
  • Enable the policy to control the Autodiscover service, where you can specify what methods to disable (like SCP, HTTP redirects, SRV records).

Configure Exchange Server to Prevent Office 365 Autodiscover  #

If you’re running a hybrid setup, you can adjust the configuration on your Exchange Server to ensure Autodiscover doesn’t redirect to Office 365.

In your Exchange Management Shell, run the following command:PowerShell Code:

Set-ClientAccessService -Identity <ExchangeServer> -AutoDiscoverServiceInternalUri $null
Replace <ExchangeServer> with the name of your Exchange server.

Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Another account from your organisation is already signed in
Table of Contents
  • Disable Autodiscover SCP Lookup on Client Machines
  • Modify DNS Settings
  • Modify Outlook Settings via Group Policy (GPO) 
  • Configure Exchange Server to Prevent Office 365 Autodiscover 
Melbourne business IT logo

Melbits is Melbourne Business IT Service and technology solutions provider. Our tailored and strategic approach ensures that your business will receive expert IT support, cybersecurity and consulting that aligns with your business needs, empowering your business, driving growth and success.

You can reach us at 03 9069 6788

IT Services

  • Managed IT Services
  • Cloud Services
  • Cybersecurity
  • Remote IT Services
  • Business Communication
  • IT Consulting

Industries

  • Accounting Firms
  • Law Firms
  • Realestate
  • Medical Centres
  • Pharmacies
  • Conveyancing Firms

Additional Links

  • About Us
  • Knowledge Base
  • FAQ
  • Contact

© 2025 Melbit Services, All Rights Reserved.

  • Terms and Conditions
  • Privacy Policy