mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-04-26 06:25:49 +03:00
[GH-ISSUE #119] Office Online KMS - Hosts Removal #105
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Microsoft-Activation-Scripts#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crazyrabbit0 on GitHub (Jul 27, 2022).
Original GitHub issue: https://github.com/massgravel/Microsoft-Activation-Scripts/issues/119
Hi, first off all thanks for all your effort, your script is my favorite!
I have a proposal for Office Online KMS troubleshooting:
When a user has used a different Online KMS activation method (and thus added a KMS Host to the registry),
Online KMS takes a long time and eventually crashes with a generic error code: 0x80070005,
this usually happens when there are multiple KMS Hosts in the registry.
It is possible to fix this error by running this command in PowerShell:
Cscript "$env:WinDir\System32\Slmgr.vbs" /ckmsIt essentially removes all KMS Hosts from the registry, so Online KMS can function properly.
Note: Offline KMS works fine regardless, because it doesn't try to add KMS Hosts to the registry.
@crazyrabbit0 commented on GitHub (Jul 27, 2022):
I have reproduced this problem several times on many PCs to make sure it was this exact same problem!
I had tried every possible fix mentioned in Stack Overflow and the Microsoft Support Forums,
from simple time/date sync to
Dism /RestoreHealth & SFC /ScanNow, as well as every troubleshooting tip in your homepage.Until I stumbled upon this article from Microsoft, which described the cause for this error as:
After reading this I thought that removing all KMS Hosts might fix the problem,
so I searched for the command I mentioned above, which indeed resolved this issue in every PC.
Every PC I tried this on, was running either Windows 10 or 11, not 7 as mentioned in the article
and running Office 2016 only (never had 2013- or 2019+), but they all used multiple KMS activators in the past.
That's why I came to the conclusion, that this was the real problem behind the scenes.
NOTE: I referred to the wrong error code above, it was actually: 0xC004F074.
NOTE 2: When I have free time, I will try to reproduce this error and use MAS 1.6 to see if it can fix it.
@a-1an commented on GitHub (Aug 5, 2022):
MAS 1.6 didn't work for me and I did the fix crazyrabbit0 suggested and it worked.