How to Fix Your Windows license will expire soon (Windows)
Quick Answer
The "Your Windows license will expire soon" error indicates that your Windows operating system's activation period is nearing its end. This often happens with evaluation copies, volume licenses, or when a digital license isn't properly linked. The fastest fix involves checking your activation status and reactivating Windows through the Settings app or by entering a valid product key.
What Causes This Error
- Your Windows installation is an evaluation copy or a pre-release version with a time-limited license.
- The Windows license is a volume license (KMS activation) that requires periodic re-activation with a corporate server, and the connection to that server is lost or the activation period has expired.
- A digital license is not properly linked to your Microsoft account or hardware changes have invalidated it.
- The product key used for activation is invalid, incorrect, or has been revoked.
- System date and time settings are incorrect, interfering with license validation.
- Windows activation services are not running or are corrupted.
Step-by-Step Fixes
1Check Windows Activation Status and Reactivate
- Press the Windows key + I to open the Settings application.
- Navigate to 'Update & Security' (or 'System' > 'Activation' on Windows 11).
- Select 'Activation' from the left-hand menu. Review the 'Activation status' section.
- If it states 'Windows is not activated', click 'Troubleshoot' or 'Change product key' to enter a new key or attempt reactivation. Follow the on-screen prompts to complete the process.
2Run the System File Checker (SFC) and DISM Tools
- Open Command Prompt as an administrator: Search for 'cmd' in the Start menu, right-click 'Command Prompt', and select 'Run as administrator'.
- Type 'sfc /scannow' and press Enter. Allow the scan to complete, which may take several minutes. This tool checks for and repairs corrupted system files.
- After SFC completes, type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter. This command repairs the Windows image and can resolve underlying issues.
- Once both scans are finished, restart your computer and check the activation status again.
3Synchronize System Date and Time
- Right-click on the clock in the taskbar and select 'Adjust date/time'.
- Ensure 'Set time automatically' and 'Set time zone automatically' are both toggled 'On'.
- Click 'Sync now' under 'Synchronize your clock'.
- Restart your computer and verify if the 'Your Windows license will expire soon' message persists.
4Use the Slmgr.vbs Command to Re-arm or Check License
- Open Command Prompt as an administrator: Search for 'cmd' in the Start menu, right-click 'Command Prompt', and select 'Run as administrator'.
- To display detailed license information, type 'slmgr.vbs /dli' and press Enter. This will show the activation status, expiration date, and type of license.
- If you suspect a re-arm is needed for a KMS license, type 'slmgr.vbs /rearm' and press Enter. This command resets the activation timer for some license types.
- Restart your computer after executing the command and check the activation status again in Settings.
Advanced Fixes
Perform a Clean Installation of Windows
- Back up all important personal files and data to an external drive or cloud storage. A clean installation will erase all data on the primary drive.
- Create Windows installation media (USB drive or DVD) using the Media Creation Tool from the official Microsoft website.
- Boot your computer from the installation media. You may need to adjust your BIOS/UEFI settings to prioritize booting from USB/DVD.
- Follow the on-screen prompts to install Windows. When prompted for a product key, you can enter it or select 'I don't have a product key' if you have a digital license linked to your Microsoft account.
- After installation, connect to the internet and log in with your Microsoft account to allow Windows to activate automatically if you have a digital license. Otherwise, enter your product key via Settings > Activation.
Frequently Asked Questions
What does 'Your Windows license will expire soon' mean?
This message indicates that your current Windows operating system activation is temporary or time-limited and is nearing its expiration date. This can occur with evaluation versions, volume licenses that require periodic re-activation, or if there's an issue with your permanent license.
Will my computer stop working if the Windows license expires?
No, your computer will not stop working immediately. However, an expired Windows license will lead to reduced functionality. You may lose access to personalization features (like changing wallpaper), receive persistent activation reminders, and potentially miss out on critical security updates.
How do I find my Windows product key?
If Windows came pre-installed, the product key might be on a sticker on your device. For digital licenses, the key is linked to your Microsoft account or hardware. You can also use third-party tools or specific command-line prompts (like 'wmic path softwarelicensingservice get OA3xOriginalProductKey' in Command Prompt) to retrieve it, though this only works for OEM keys.
Can I upgrade my Windows version to fix this issue?
Upgrading your Windows version (e.g., from Windows 10 Home to Pro) requires a new, valid product key for the upgraded edition. If your current license is expiring, an upgrade won't resolve the underlying activation issue unless the new key is successfully applied and activates the new version.
What is a digital license?
A digital license (formerly known as digital entitlement) is a method of activation in Windows 10 and 11 that doesn't require you to enter a product key. It's linked to your Microsoft account and/or your device's hardware. If you reinstall Windows on the same hardware, it should reactivate automatically once connected to the internet and logged into your Microsoft account.