Can't access website after joining domain, I get 404 error after login to website on Windows 10 and 11 clients

Yvan Steve 0 Reputation points
2025-04-19T16:57:32.9233333+00:00

Hi

I'm experiencing a strange issue on Windows 10 and 11 client machine after joining them to a Windows Server 2008 R2 domain.

Before joining the domain(in WORKGROUP mode), I could access the website https://of.moncompteformation.gouv.fr/espace-public/ without any problems. Now, when I try to log in:

I can load the login page.

I enter my credentials and pass the reCAPTCHA.

After clicking "Log in", I get a blank white page, and then a 404 Not Found error if I refresh and the link becomes like this https://of.moncompteformation.gouv.fr/espace-prive/error?error_code=internal_error&error_description=Echec%20lors%20de%20la%20cin%C3%A9matique%20OAuth2%20Callback%20DGEFP.[error message]1

Even after leaving the domain and going back to workgroup mode, the issue remains. Here's what I've tried:

Multiple browsers: Chrome, Firefox, Edge, Internet Explorer (with private browsing and cleared data). Manually changing my DNS to 8.8.8.8 preferred and 1.1.1.1. But didn't change anything.

Even tried to reset my internet settings, clear dns cache and resetting group policies with commands;

netsh int ip reset

netsh winsock reset

ipconfig /flushdns

netsh winhttp reset proxy

RunDll32.exe InetCpl.cpl,ResetIEtoDefaults

RD /S /Q "%windir%\System32\GroupPolicy"

RD /S /Q "%windir%\System32\GroupPolicyUsers"

gpupdate /force

But still nothing

Checking suspect certificates that may have been added by my DNS server but didn't found anything.

Even checked if there wasn't any modification in the host file but nothing changed there.

Wireshark test shows "TLSv1.2 Encrypted Alert" right after login request(I filtered for HTTP, HTTPS and TLS but only got TLS results).

Also removed any actif proxy, firewall or anti-virus but I can't still get access to the website in workgroup(out of domain)

Creating a fresh new user account but still got the same issue

Resetting the PC (keeping personal files) didn't work but I tried a full reset on the win10 computer and it can now login to the website again but I would prefer a less extreme solution to bring things back to normal because I had many computers connected to that domain and I prefer not to reset each of them.

This seems related to some domain or certificate-related configuration that persists. My main aim is to bring back all the computers that got that issue after joining the domain to normal. Any ideas or hints would be greatly appreciated!

Thanks in advance

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,511 Reputation points
    2025-04-20T22:03:28.0433333+00:00

    Hi,

    As you have already tried all the options, I can suggest you export the registry from the working device and broken device and compare using some comparisons tools available. This might show the detailed information, also try with SysMon tools while running the browser and check the process/services/reigistry in play.

    Hope this helps.

    JS

    ==

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.