summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWindowsAddict2025-11-02 10:35:33 +0000
committerWindowsAddict2025-11-02 10:35:33 +0000
commit25845839ef27de9f4ac43e93e423c54773809305 (patch)
treecb6c0fe54cb8a90eebc281d7626c89efafa61633
parentaa39defb6e7de4ca4c7560ffb7fce35cac458673 (diff)
downloadmassgrave.dev-25845839ef27de9f4ac43e93e423c54773809305.zip
Update fixes for licensing server issues guide
-rw-r--r--docs/licensing-servers-issue.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/licensing-servers-issue.md b/docs/licensing-servers-issue.md
index aea5bd3..1810fb0 100644
--- a/docs/licensing-servers-issue.md
+++ b/docs/licensing-servers-issue.md
@@ -18,13 +18,16 @@ We suggest following the below guide only when the script tells you to do so.
- Open Powershell as admin and enter below commands,
```
-Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Type DWord -Value 0
-Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Type String -Value ""
+reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
+reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d "" /f
+reg 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.*', ''}) -force
Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*purchase.mp.microsoft.com.*', ''}) -force
Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*login.live.com.*', ''}) -force
+Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*msftconnecttest.*', ''}) -force
+Set-Content -Path $filePath -Value (Get-Content $filePath | ForEach-Object { $_ -replace '.*msftncsi.*', ''}) -force
netsh int ip reset
netsh winsock reset