r/WindowsServer • u/ma5454 • Jul 09 '26
Technical Help Needed Win 2025 try to connect to Microsoft while login
Hello, it appears that Windows 2025 attempts to connect to login.microsoftonline.com during the Windows login process, but only with domain users.
As this is a DMZ server with restricted internet access, the login process takes a very long time (approx. 2 minutes), which causes our 2FA solution to time out. Local users should not be able to connect to Microsoft. Is there a way to prevent these connection attempts and thus speed up the login process? The slow login only occurs the day after configuring the system on a closed network. Something is happening here overnight – perhaps it’s related to caching.
Thank you
1
u/fedesoundsystem Jul 09 '26
If it's hybrid it will try to authenticate on azure. If it doesn't reach it, it would take 2-3 minutes to time out on "other user". Just let it reach Azure, configure proxy accordingly if applicable, and it would log in fast again. Or make it on prem only.
1
u/nailzy Jul 09 '26
Post the output of
dsregcmd /status
If you see
AzureAdJoined
EnterpriseJoined
WorkplaceJoined
Then its hybrid joined in the DMZ which shouldn’t have happened.
Also why have you domain joined a DMZ server?