You are trying to activate Windows in a location that uses a strict internet filter and a proxy server. Windows Activation does not work as it cannot reach the activation server.
Windows Activation does not use your web browser settings to look to see if a proxy server needs to be used to gain internet access. If your location does not allow internet access without using the Proxy server, access to the Windows Activation servers may not work, as above.
You can resolve this issue by configuring the Windows HTTP component from an Administrative Command prompt.
To Get Proxy Settings from Edge or Internet Explorer
netsh winhttp import proxy source =ie
To Set the Proxy Manually
netsh winhttp set proxy <proxyserver:port> ""
From the Administrative Command Prompt, run the following:
netsh winhttp show proxy
This example shows a system that has not had WinHTTP configured to use a proxy.
From the Administrative Command Prompt, run the following:
netsh winhttp reset proxy