How to rebuild the Tokens.dat file or the activation token under Windows 10/8/7

Updated July 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

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

July 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

The activation token file for Windows 8/10 is usually located under :

C:Windows ServiceProfileLocalServiceAppDataLocalMicrosoftWSLicense

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 net start sppsvc cscript.exe %windir%system32slmgr.vbs /rilc

Restart computer.

Rebuild the Tokens.dat file in Windows 7

The activation token file for Windows 7 is usually located under :

C:WindowsServiceProfileProfileNetworkServiceServiceAppDataRoamingMicrosoft SoftwareProtectionPlatformokens.dat.

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 net start sppsvc cscript.exe %windir%system32slmgr.vbs /rilc

Restart PC.

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.

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video

Scroll to Top