Client KMS Activation Failing Due to Corrupt token.dat file

This issue happened in our production environment. The KMS activation failed on a WIndows 7 client due to a corrupt Token.dat file.

The solution was to stop the server, rename the token.dat file and restart the service again. Then activate the client against the KMS host.

  1. net stop sppsvc
  2. CD %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform
  3. REN tokens.dat
  4. net start sppsvc
  5. slui.exe
  6. slmgr /ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH (This client key should still be on the client)
  7. slmgr /ato