Hi @pk_oz ,
Welcome to our forum!
Please refer to the two articles related to the settings you provided:
Setting1:
Automatically configure profile based on Active Directory Primary SMTP address HKCU\software\policies\microsoft\office\16.0\outlook\autodiscover!zeroconfigexchange
Automatically configure profile based on Active Directory Primary SMTP address
Setting2:
Disable AutoDiscover HKCU\software\policies\microsoft\office\16.0\outlook\autodiscover!excludelastknowngoodurl
(Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)
Note: Serious problems can occur if you modify the registry incorrectly. Before making changes, back up the registry to restore it in case something goes wrong.
Hope to help you!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.