Activation

How to rebuild the Tokens.dat or Activation Tokens file in Windows 10

How to rebuild the Tokens.dat or Activation Tokens file in Windows 10

The Tokens.dat file in the Windows operating system is a digitally signed file, which stores most of the Windows activation files. All files together have a digital signature that prevents tokens.dat be replaced on other machines, in this case, if used on different machines, will ask for online activation.

Sometimes the Tokens.dat file may get corrupted as a result of which Windows Activation may not take place successfully. In such a case, you may want to troubleshoot Windows Activation. Now when you are troubleshooting Windows Activation problems, you may have to rebuild the Tokens.dat file.

This tutorial will show you how to rebuild the Tokens.dat file in Windows 10/8/7.

Rebuild the Tokens.dat file in Windows 10/8

The activation tokens file for Windows 10/8 is typically located at:

C:\Windows \ServiceProfiles\LocalService\AppData\Local\Microsoft\WSLicense

Open an elevated command prompt windows from the WinX Menu, and type each of the following commands one after the other. After typing in each command, hit Enter.

net stop sppsvc cd %windir%\ServiceProfiles\LocalService\AppData\Local\Microsoft\WSLicense ren tokens.dat tokens.bar net start sppsvc cscript.exe %windir%\system32\slmgr.vbs /rilc

Restart the computer.

Rebuild the Tokens.dat file in Windows 7

The activation tokens file for Windows 7 is typically located at:

C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\ SoftwareProtectionPlatform\tokens.dat

Open an elevated command prompt window and type each of the following commands one after the other. After typing in each command, hit Enter.

net stop sppsvc cd %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform ren tokens.dat tokens.bar net start sppsvc cscript.exe %windir%\system32\slmgr.vbs /rilc

Restart the PC.

Do note that after you rebuild the Tokens.dat file, you will have to re-enter and reactivate your copy of Windows by entering the product key. To do this, right-click Computer > Properties > Change product key OR you could simply type the following in an elevated CMD and hit Enter, as suggested in KB2736303:

cscript.exe %windir%\system32\slmgr.vbs /ipk

Finally, to see the licensing status of your Windows installation type slmgr.vbs /dlv in the search bar and hit Enter.

There is an easy way to backup your Windows and Office Activation Tokens files with Advanced Tokens Manager if you feel the need to do so.

Gry Bitwa o Wesnoth 1.13.6 Wydanie rozwojowe
Bitwa o Wesnoth 1.13.6 Wydanie rozwojowe
Bitwa o Wesnoth 1.13.6 wydana w zeszłym miesiącu jest szóstą wersją rozwojową w 1.13.Seria x i zapewnia szereg ulepszeń, w szczególności w interfejsie...
Gry Jak zainstalować League Of Legends na Ubuntu 14.04
Jak zainstalować League Of Legends na Ubuntu 14.04
Jeśli jesteś fanem League of Legends, to jest okazja do przetestowania League of Legends. Pamiętaj, że LOL jest obsługiwany w PlayOnLinux, jeśli jeste...
Gry Zainstaluj najnowszą grę strategiczną OpenRA na Ubuntu Linux
Zainstaluj najnowszą grę strategiczną OpenRA na Ubuntu Linux
OpenRA to darmowy silnik gier strategicznych czasu rzeczywistego, który odtwarza wczesne gry Westwood, takie jak klasyczny Command & Conquer: Red Aler...