Login Issue/Launcher Stuck on “Could Not Validate Your Access”? FIXED (HOSTS File Issue)
Just posting this here in case someone runs into the same headache I did.
For two days I couldn’t sign in to Minecraft on my PC at all because i wanted to sign in minecraft.
The launcher kept saying:
* *“We were unable to verify what products you own”*
* *“Oops! We could not validate your access, please try again”*
Tried everything:
different browsers, reinstalling launcher, VPN no VPN, mobile hotspot, new Microsoft account still nothing worked.
The weird part? **It worked fine on my phone but not on my laptop.**
Turns out the problem was in my **Windows HOSTS file**, which was blocking all Minecraft authentication servers.
Some old software had added these entries:
127.0.0.1 authserver.mojang.com
127.0.0.1 api.mojang.com
127.0.0.1 sessionserver.mojang.com
127.0.0.1 api.minecraftservices.com
Because of this, my laptop never actually reached the real Minecraft login servers.
**Fix that solved everything instantly:**
1. Open **Notepad as Administrator**
2. Go to: `C:\Windows\System32\drivers\etc\`
3. Open the file named **hosts**
4. Delete any lines that contain **mojang**, **minecraftservices**, or **sessionserver**
5. Save and restart your PC
After doing this, the launcher logged in immediately.
Browser login also started working again.
For two days I couldn’t sign in to Minecraft on my PC at all because i wanted to sign in minecraft.
The launcher kept saying:
* *“We were unable to verify what products you own”*
* *“Oops! We could not validate your access, please try again”*
Tried everything:
different browsers, reinstalling launcher, VPN no VPN, mobile hotspot, new Microsoft account still nothing worked.
The weird part? **It worked fine on my phone but not on my laptop.**
Turns out the problem was in my **Windows HOSTS file**, which was blocking all Minecraft authentication servers.
Some old software had added these entries:
127.0.0.1 authserver.mojang.com
127.0.0.1 api.mojang.com
127.0.0.1 sessionserver.mojang.com
127.0.0.1 api.minecraftservices.com
Because of this, my laptop never actually reached the real Minecraft login servers.
**Fix that solved everything instantly:**
1. Open **Notepad as Administrator**
2. Go to: `C:\Windows\System32\drivers\etc\`
3. Open the file named **hosts**
4. Delete any lines that contain **mojang**, **minecraftservices**, or **sessionserver**
5. Save and restart your PC
After doing this, the launcher logged in immediately.
Browser login also started working again.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)