Windows license activation problem
Instructions: https://learn.microsoft.com/en-us/troubleshoot/windows-server/licensing-and-activation/rebuild-tokens-dotdat-file
Rebuild the Tokens.dat file
- Open an elevated command prompt:
- Open Start menu or Start screen, search cmd or powershell.
- Right click Command Prompt in the search results, and select Run as administrator.
- Type the following commands in the order in which they're presented. Press Enter after each command.
- For Windows Server 2008 R2 and later
net stop sppsvc- For Windows 10, Windows Server 2016 and later versions of Windows:
cd Windows\system32\spp\store\2.0ren tokens.dattokens.barnet start sppsvccscript.exe %windir%\system32\slmgr.vbs /rilcor run in this locationPS C:\Windows\System32> .\cscript.exe slmgr.vbs /rilc
- Restart the computer twice (optionally), started to work without restarting computer