Licensing Servers Issue
If you're using Microsoft Activation Scripts (MAS) for Hardware ID (HWID) activation and encounter messages about licensing server connection failures, this guide is for you. These errors typically prevent successful activation, and the MAS script will specifically alert you if this is the root cause. We'll walk you through targeted steps to resolve these connectivity problems.
In some cases, HWID activation may fail because the system couldn't connect to HWID licensing servers. The activation script will inform you about this if that is the case. We suggest following the guide below only when the script tells you to do so.
Network Reset
- In Windows 10/11, go to settings and search for Network Reset, then apply this option.
- Restart your system and try HWID Activation.
- If it's showing the same Internet error then follow the option below.
Firewall / Proxy Reset
- Open PowerShell as administrator and enter below commands,
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /freg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d "" /freg add "HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v EnableActiveProbing /t REG_DWORD /d 1 /f$filePath = "$env:SystemRoot\System32\drivers\etc\hosts"Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*licensing.mp.microsoft.com.*', ''}) -forceSet-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*purchase.mp.microsoft.com.*', ''}) -forceSet-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*login.live.com.*', ''}) -forceSet-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*msftconnecttest.*', ''}) -forceSet-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*msftncsi.*', ''}) -forcenetsh int ip resetnetsh winsock resetnetsh advfirewall resetnetsh winhttp reset proxybitsadmin /util /setieproxy localsystem NO_PROXY RESETipconfig /flushdns
- Restart your system and try HWID Activation.
- If it's showing the same Internet error then follow the option below.
VPN / Another Internet Connection
-
Install Cloudflare WARP VPN - https://1.1.1.1/
Connect the VPN and try HWID activation. -
If it's not working, try a different internet connection or use your phone's internet through USB tethering.
tip
If HWID activation is still not working then see here for help.
Get MAS from the official project
This site does not host its own build of the scripts. The buttons below go to the project’s own repository and mirrors, so what you get is what the developers published.
PowerShell one-liner published by the project:
irm get.activated.win | iexCheck the domain before running it, and see how to verify what you run.
Activation tooling is routinely classified as riskware by antivirus software. That is expected for this category and is not by itself evidence of malware — nor proof that a particular copy is clean. Verify the source before running anything.