RECOMMENDED: Click here to fix Windows errors and optimize system performance
The Tokens.dat file in the Windows operating system is a digitally signed file that stores most Windows activation files. All files have a digital signature that prevents the replacement of tokens.dat on other computers, in which case online activation is required when used on other computers.
Sometimes, the Tokens.dat file can be corrupted, which prevents Windows activation from succeeding. In such a case, you can solve the problems with Windows activation. If you are now solving problems with Windows activation , you may need to recreate the Tokens.dat file .
This tutorial shows you how to recreate the Tokens.dat file under Windows.
Rebuild Tokens.dat file in Windows 10/8
The activation token file for Windows 8/10 is usually located under :
Open an expanded prompt from the WinX menu and type the following commands in order. After entering each command, press Enter.
net stop sppsvc cd %windir%ServiceProfileLocalServiceAppDataLocalMicrosoftWSLicense ren tokens.dat tokens.dat tokens.bar net start sppsvc cscript.exe %windir%system32slmgr.vbs /rilc
Rebuild the Tokens.dat file in Windows 7
The activation token file for Windows 7 is usually located under :
Open a raised input window and enter the following commands in order. After entering each command, press Enter.
net stop sppsvc cd %windir%ServiceProfileProfileProfileNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform ren tokens.dat tokens.dat tokens.bar net start sppsvc cscript.exe %windir%system32slmgr.vbs /rilc
Note that after rebuilding the Tokens.dat file, you must re-enter and activate your copy of Windows by entering the product key. To do this, right-click Computer > Properties > Change Product Key OR you can simply type the following into a high PDC and press Enter as suggested in KB2736303:
cscript. exe %windir%system32slmgr.vbs /ipk
To finally see the status of your Windows installation, type slmgr.vbs /dlv in the search bar and press Enter.
There is an easy way to backup your Windows and Office activation token files with Advanced Tokens Manager if you deem it necessary.