diff options
| author | DESKTOP-V026VQF\Home | 2023-02-21 14:57:42 +0000 |
|---|---|---|
| committer | DESKTOP-V026VQF\Home | 2023-02-21 14:57:42 +0000 |
| commit | fc19b9e225fad7aceed52e66f6195e32f2173a3e (patch) | |
| tree | a0aeb9a8811b3d190c6b5f1983551bdc301f3ccb /fix-internet-connection.md | |
| parent | 429df866600e0b6bc24b44f936fdf8ec01731525 (diff) | |
| download | massgrave.dev-fc19b9e225fad7aceed52e66f6195e32f2173a3e.zip | |
Update
Diffstat (limited to 'fix-internet-connection.md')
| -rw-r--r-- | fix-internet-connection.md | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/fix-internet-connection.md b/fix-internet-connection.md new file mode 100644 index 0000000..a6168b9 --- /dev/null +++ b/fix-internet-connection.md @@ -0,0 +1,74 @@ +# **Fix Issues In Connecting To Licensing Servers** + +------------------------------------------------------------------------ + +- In some cases, HWID activation may fail because system couldn't connect to HWID licensing servers. + +- Activation script will inform you about this if that is the case. + +- This may happen mostly either due to DNS or Issues in MS licensing servers itself or Firewall rules in the system. Below you can find listed fixes for it. + +- **Which method to choose for the fix?**\ + - If you are located in China then choose **Modify Host File** option.\ + - If you are not in China then first try **Fix DNS** option, and if that doesn't work then try **VPN** method. + +- If you are facing issues then reach out to us on our [Discord](https://discord.gg/gjJEfq7ux8). + +------------------------------------------------------------------------ + +## Fix DNS + +- Download the `Fix_DNS.zip` file from [here](http://www.box.com/index.php?rm=box_download_shared_file&shared_name=4c66hw8ezuijy5j0trwczy860sf825i7&file_id=f_1146300205040). + +- Extract the zip file and right click on `Fix_DNS.cmd` file and run it as admin. + +- Follow onscreen instructions. + +- Once done, try HWID Activation. + +------------------------------------------------------------------------ + +## VPN + +- You can install either of the below VPN to fix issue if script is showing failed to connect licensing servers. + +- Cloudflare WARP - <https://1.1.1.1/> + +- Psiphon - <https://psiphon.ca/> + +- Once done, try HWID Activation. + +------------------------------------------------------------------------ + +## Modify Host File + +- Open Powershell or Terminal as admin (don't open CMD). + +- Copy paste below lines and press enter, + +```{=html} +<!-- --> +``` + $filePath = "C:\Windows\System32\drivers\etc\hosts" + + Set-ItemProperty -Path $filePath -Name IsReadOnly -Value $false + + Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace "124.108.22.138 licensing.mp.microsoft.com", "" }) + + Add-Content -Path $filePath -Value "124.108.22.138 licensing.mp.microsoft.com" + + Set-ItemProperty -Path $filePath -Name IsReadOnly -Value $true + +- Done. Now try HWID Activation. + +To restore it, run below commands. + + $filePath = "C:\Windows\System32\drivers\etc\hosts" + + Set-ItemProperty -Path $filePath -Name IsReadOnly -Value $false + + Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace "124.108.22.138 licensing.mp.microsoft.com", "" }) + + Set-ItemProperty -Path $filePath -Name IsReadOnly -Value $true + +------------------------------------------------------------------------ |
