How To Fix The ‘Windows License Will Expire Soon’ Error

Quick Links Why do you get the ‘Your Windows license will expire soon’ error? Method 1: Restart Windows Explorer Method 2: Run a system file check (SFC) Method 3: Run … Read more

Taylor Bell

Taylor Bell

Published on Jul 06, 2024

How To Fix The ‘Windows License Will Expire Soon’ Error

Quick Links

  • Why do you get the ‘Your Windows license will expire soon’ error?

  • Method 1: Restart Windows Explorer

  • Method 2: Run a system file check (SFC)

  • Method 3: Run Windows Security scan

  • Method 4: Use the Activation troubleshooter

  • Method 5: Activate Windows with Command Prompt

  • Method 6: Re-enter activation key

  • Method 7: Fix a corrupt Tokens.dat file

  • Method 9 (not recommended): Disable problematic Windows services

When you buy one of the best laptops on the market (or most laptops in general), it already comes with Windows 11 installed out of the box, so it’s easy to forget that it’s a paid operating system that requires a license to function. You should always have a valid WIndows license, but even if you do, you may sometimes see an error saying “Windows license will expire soon”, which may have you thinking your PC won’t work anymore.

Windows doesn’t delete your personal data or files due to an activation error, but you do lose customization options and have to deal with a permanent watermark at the bottom of your screen. So, before your computer has functionality issues, it’s important to troubleshoot the error message and figure out what went wrong.

Windows 11 activation page

Related

How to activate Windows

If you made a change to your PC or find that Windows isn’t properly activated, all it takes is a few click to properly activate your OS

Why do you get the ‘Your Windows license will expire soon’ error?

Microsoft’s latest OS comes for free with most PCs, and it’s a free upgrade from Windows 10, but you might get this error for several reasons. Of course, the most obvious one is using a pirated version of Windows, which is inadvisable.

But you can also get this error even if you have a genuine copy of Windows for a few different reasons. For example, if you recently made changes to the hardware, such as upgrading the CPU, GPU, motherboard, and so on, your Windows license may stop being recognized.

You may also see this message if Windows is having trouble connecting to the activation server or if there are corrupted files on your system, specifically the necessary activation token files.

Method 1: Restart Windows Explorer

Sometimes, a glitch in Windows Explorer can cause the operating system to briefly believe its license is expiring, and if that’s the case, it’s a relatively simple fix. All you need to do is follow the steps below:

  1. Press the Windows key, search for Task Manager, and hit Enter.
  2. Select Windows Explorer and click Restart task in the top-right corner.
    Restart Windows explorer via Task Manager

Upon restarting, Windows Explorer should fix itself and Windows should be back to normal.

Method 2: Run a system file check (SFC)

If files on your PC have been corrupted or damaged, it can cause WIndows to be unable to verify that it’s activated. a system file check (SFC) can help fix this. Here’s how to use it:

  1. Press Windows + X (or roght-click the Start menu icon) and choose Terminal (Admin)
  2. Enter the following command and press Enter:
    sfc /scannow
    Screenshot of Windows Terminal running the system file check command

  3. Wait for the scan to complete and restart your PC.

If corrupted files were the issue, this option may help solve it

Screenshot of Windows Terminal running an SFC command

Related

How to save a failing Windows PC with DISM and SFC

Having some issues with your Windows install? It may be failing, but you can try to fix it using the SFC and DISM tools built into Windows.

Method 3: Run Windows Security scan

Bogus or corrupt files on your Windows PC can cause errors. You can scan your Windows PC via Windows Security to remove malware.

  1. Open Windows Security on your PC.
  2. Select Virus & threat protection.
  3. Click Scan options.
    The steps to open scan options in Windows Security

  4. Select Full scan and select Scan now. You can minimize the window and continue with your work.
    Run full PC scan on Windows

If you use a third-party antivirus app, disable Windows Defender and use your preferred app to remove corrupt files.

Method 4: Use the Activation troubleshooter

Microsoft offers several troubleshooters to fix issues with your network connection, printers, Bluetooth, and more. This, of course, includes activation issues. Here’s how to use the activation troubleshooter:

  1. Open the Settings app.
  2. Select System from the sidebar and open the Activation page.
    Windows Actiovation troubleshooter

  3. Click Troubleshoot to run the activation troubleshooter and follow the instructions
    Activation troubleshooter

Following these steps should get your Windows activation back to normal.

Method 5: Activate Windows with Command Prompt

If the Activation troubleshooter doesn’t work, try activating Windows via Command Prompt. Connect your Windows PC to the internet and follow these steps:

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and click OK.
    Open Command Prompt via Run menu

  3. Type the following command and press Enter:
    slmgr /ato
  4. The steps to activate Windows via Command Prompt menu

    You will see a dialog box confirming the Windows activation.

If the message confirms Windows has been activated, you should no longer see the message about the license expiring.

Command Prompt in Windows 11

Related

How to activate Windows with Command Prompt (CMD)

While you can activate Windows through the Settings app, you also can use Command Prompt to make bulk activation easier

Method 6: Re-enter activation key

If you have a valid Windows license, you can find the activation key through Windows Terminal or Command Prompt and re-enter it to activate your Windows license again. Here’s how to get your activation key:

  1. Press Windows + X and choose Terminal or Windows Terminal from the list.
    • Alternatively, open the Start menu and search for cmd then press Enter.
  2. Type the command below and press Enter. Note down your Windows product key:
    wmic path SoftwareLicensingService get OA3xOriginalProductKey
    Find your Windows product key via the Command Prompt menu

You’ll want to copy the activation key or keep this window open. Then, follow these steps to enter the key and activate Windows:

  1. Press Windows + I to go to Settings.
  2. Navigate to System and open Activation.
  3. Click Change next to Change product key.
    Screenshot of Windows 11 Settings showing the option to change a product key

  4. Enter the product key, click Nextand follow the on-screen instructions.

Method 7: Fix a corrupt Tokens.dat file

A corrupt Tokens.dat system file can cause issues with Windows license authentication. Since the Tokens.dat system file is related to Windows activation, you must rebuild it using Command Prompt.

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and click OK.
  3. Enter the commands below into the dialogue box and press Enter after each.
    1. net stop sppsvc
    2. cd %windir%system32sppstore2.0
    3. ren tokens.dat tokens.bar
    4. net start sppsvc
    5. cscript.exe %windir%system32slmgr.vbs /rilc

Restart your computer to complete the process.

Method 8: Edit registry

If your Windows system sends an incorrect activation status to Microsoft, you may see the ‘Windows license will expire soon’ error. You need to enable NoGenTicket entry to stop the behavior.

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and click OK.
  3. Enter the following command and press Enter.
    reg add "HKLMSoftwarePoliciesMicrosoftWindows NTCurrentVersionSoftware Protection Platform" /v NoGenTicket /t REG_DWORD /d 1 /f
    edit registry via Command Prompt on Windows

Close the Command Prompt and restart your Windows PC, and you shouldn’t have the error anymore.

The Windows License Manager Service manages the licensing and activation of your Windows copy. If it’s not working as expected, disable it at system startup. An active Windows Update service can also cause such an error on your old PC. Follow along to turn off problematic services at system startup.

  1. Press the Windows key and search for Services. Hit Enter.
  2. Scroll to Windows License Manager Service.
    Windows License manager service in the Services menu

  3. Expand Startup type and select Disabled. Press Apply and click OK.
    disable windows license manager

  4. Open Windows Update service.
    The steps to open Windows Update service

  5. Select Disabled in the Startup Type menu. Click Apply and select OK.
    disable Windows update service

This should be a completely last-resort solution, though, and we especially don’t recommend disabling the Windows Update service.

Enjoy an error-free Windows setup

Frequent pop-ups like “Windows license will expire soon” can waste your productivity hours. The tricks above should take care of such errors in no time. These system issues may discourage you from exploring Microsoft’s desktop operating system. If you plan to move from Windows to Mac, consider several changes to your workflow before making a switch.

Partager cet article

Inscrivez-vous à notre newsletter