When you have a PC or virtual machine with Windows in a testing phase, you may want to postpone the activation notice a few more days while deciding which license to buy or finishing a test. That is what slmgr /rearm is for, an official Windows tool for administrators and PC makers. This guide explains what it really does on Windows 10 and Windows 11, its limits and, above all, the legal alternatives.
Important:
slmgr /rearmdoes not activate Windows or replace a license. It only resets the activation grace period timer, a limited number of times. Using Windows continuously without a valid license breaches Microsoft’s license terms. Use it for temporary testing, then activate Windows with a legal license.
Before you start
- You need an administrator console: Microsoft states
/rearmmust run elevated. - On consumer Windows 10 and 11, an unactivated system does not stop suddenly: it shows activation reminders and limits personalization. The command makes more sense with evaluation editions, test virtual machines and image deployments.
- Windows 10 support ended on October 14, 2025. If testing Windows 10 on a new PC, consider Windows 11 directly.
Step 1: check the current status
Open Terminal (Admin) or Command Prompt as administrator and run:

slmgr /dlv
After a few seconds a window opens with detailed license information. Look at:
- License Status: whether Windows is licensed or in a grace period.
- Time remaining: minutes or days left in the current period.
- Remaining Windows rearm count (or similar text by version): how many more times you can use
/rearm. If0, the command does nothing.
To see only the activation expiry date:
slmgr /xpr
Step 2: reset the timer
If you have rearms left, run:
slmgr /rearm
A message confirms success and asks you to restart. Restart the PC: the change applies only then.
The old version of this guide showed two other commands (one using rundll32 slc.dll and an slmgr.vbs variant with a long dash that does not work). We no longer recommend them: the only one Microsoft documents is slmgr /rearm, and it is enough.
Check it works
After restarting, run again:
slmgr /dlv
Time remaining should be renewed and the rearm count one lower.
Real limits

- Limited uses. Microsoft documents that
/rearmresets activation timers but gives no universal number: it depends on edition and version. The figure that matters is whatslmgr /dlvshows on your PC. - Does not work if locked. Per official documentation, if the
SkipRearmregistry value inHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatformis1, the command does nothing. Used in enterprise deployments; do not change it if you do not know why it is set. - Sysprep also consumes it.
sysprep /generalizecalls/rearm, so each generalized image spends one. - It does not turn an evaluation edition into a normal one or make an invalid key valid.
Legal alternatives

- Activate with your existing license. Many branded PCs have the key in firmware and activate themselves; see how to retrieve the Windows key from BIOS. If Windows was activated on that PC before, you may have a digital license.
- Buy a license. In Settings > System > Activation (Windows 11) or Settings > Update & Security > Activation (Windows 10) you have Go to Store to buy a digital license, or Change product key if you own a 25-character one.
- Evaluation editions. For business testing, Microsoft offers Windows 11 Enterprise evaluations in the Evaluation Center, meant precisely for time-limited trials.
- Windows Sandbox. On Windows 11 Pro, Enterprise and Education you can try programs on a disposable desktop erased on close, without installing another Windows.
- Business licensing. For many PCs, volume licensing (KMS, MAK or Active Directory-based activation) is the proper route.
Common problems
“Error: 0xC004D307” or a message that the maximum rearm count was exceeded. No rearms left. There is no legitimate way to recover them: activate with a license.
“Access is denied” running slmgr. The console is not elevated. Open with Run as administrator.
slmgr shows nothing in the console. Normal: results appear in a Windows Script Host popup. To see them in the console use cscript %windir%\system32\slmgr.vbs /dlv.
Time remaining does not change. Make sure you restarted after /rearm and check whether SkipRearm is 1.
Windows still says it is not activated. Expected: /rearm activates nothing. You need a digital license or a valid key.
Frequently asked questions
Is using slmgr /rearm legal? It is an official Windows tool. What is not allowed is using it to avoid paying for a license indefinitely.
Can I keep using Windows unactivated? It works with reminders and limits, but license terms require a valid license.
Do I lose data with rearm? No. Only license state changes.



