Skip to content
Business IT Services, Support Melbourne
  • IT Services
    • Managed IT Services
    • Cloud Services
    • Microsoft 365 Managed Service
    • IT Consulting Services
    • Remote IT Support
    • Business Communication
      • Get started with 3CX
  • Industries
    • Accounting Firms
    • Law Firms
    • Realestate
    • Medical Centres
    • Pharmacies
    • Conveyancing Firms
  • Cybersecurity
    • SaaS Security
    • Assessment
    • The Essential Eight
      • Quick Assessment
    • Playbooks
    • Computer Security Threats
  • Remote IT Support
    • TeamViewer Windows
    • TeamViewer Mac
    • TeamViewer Linux
Get in Touch

Windows

23
  • Command and PowerShell History
  • How to increase the disk size of VM in VirtualBox
  • Saved Windows Credentials
  • View installed software using wmic
  • 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
  • How to change file creation or modified date
  • Another account from your organisation is already signed in
  • How to check if Microsoft Defender for Endpoint is running
  • Disabling Office 365 Autodiscover – Exchange Self hosted
  • 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)
  • Essential Network Ports for Windows Services
  • Why does OneDrive keep duplicating files
  • Troubleshooting USB devices
  • Download Maps Manager Delayed Start Red in Server 2016
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • What is a DHCP Servers and DHCP relays
  • How to find user profile disk from registry
  • Understanding Multi-Factor Authentication
Linux

Linux

8
  • Rsync linux
  • CSF Shell Command
  • mysql-8.0-gpg package error
  • Linux Exim Cheat sheet
  • csf configserv commands
  • Nmap cheat sheet
  • nmap
  • Windows Privilege Escalation

Networking

4
  • 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

12
  • TPM has malfunction error 80090016 keyset does not exist
  • Command and PowerShell History
  • How to increase the disk size of VM in VirtualBox
  • Saved Windows Credentials
  • View installed software using wmic
  • How to improve the WIFI coverage in the office
  • Best Practices for Data Backup and Recovery
  • How to change file creation or modified date
  • How to sync a SharePoint site with OneDrive
  • Cannot access FortiGate web GUI admin interface
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • What is a DHCP Servers and DHCP relays

Network Connectivity

4
  • How to improve the WIFI coverage in the office
  • Common Internet connectivity problems and solutions
  • What is SSTP VPN?
  • Enabling iPhone hotspot

Cyber Security & Compliance

3
  • How to check if Microsoft Defender for Endpoint is running
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • Windows Privilege Escalation

Remote IT Support & Helpdesk

5
  • Atera client not showing up in Customer’s dashboard
  • 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)
  • mysql-8.0-gpg package error
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.

Download our registry update script which will automatically update your registry file with above proposed solution.

Watch our video of how to run the script!

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.

Still need help or the above is too overwhelming for you? #

Still stuck? Our tailored IT Service or Managed IT Service team in Melbourne are here to help you. Connect with our IT team now and get your problem resolve quicky and efficiently.

Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
How to check if Microsoft Defender for Endpoint is runningAccess to Removable Drives not Protected by BitLocker
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 
  • Still need help or the above is too overwhelming for you?
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
  • Case Studies
  • Blog
  • Contact
  • FAQ

© 2025 Melbit Services, All Rights Reserved.

  • Terms and Conditions
  • Privacy Policy