Help Center, Troubleshooting

How to Use the slmgr /rearm Command to Reset Windows Activation (2026 Step-by-Step Guide)

3D Windows logo on a computer screen with a command prompt showing the slmgr /rearm command
DOCS Licensing: Reset via slmgr /rearm
Index (66)
Documentation Directory
Docs Hub →
Diagnostic Tools
Check Expiration:
slmgr.vbs /xpr
Verify Retail Channel:
slmgr.vbs /dli
Force Re-Activation:
slmgr.vbs /ato
Windows Client OS
Licensing & Activation
Microsoft Office Suite
Microsoft 365 Cloud
Windows Server & CALs
Developer & Diagnostics
Genuine Microsoft Retail
Need a Lifetime Key?

Instant delivery with official Microsoft server activation.

Browse License Keys →
Verified Technical Guide: Tested on Windows 11 & Windows 10 (Builds 22H2 / 24H2)
Official Microsoft Partner ID: 7115302 • Written by Alexander Vance, Systems Engineer

Quick Answer: How to Use the slmgr /rearm Command

To reset your Windows activation evaluation timer or clear corrupted licensing tokens, open Command Prompt as Administrator, type slmgr /rearm (or slmgr.vbs /rearm), press Enter, and restart your PC. This resets the evaluation grace period by 30 days and can be executed up to 3 times (for a maximum of 120 days). Check your remaining rearms at any time by running slmgr /dlv.

If you have been battling stubborn Windows activation errors or testing evaluation builds, you might have stumbled across technical forums recommending the slmgr /rearm command. But what exactly does this command-line tool do, and how does it affect your operating system?

In this guide, we break down how the Software Licensing Management Tool works, when to use the rearm switch, and provide a safe walkthrough to clear corrupted licensing caches.

1. What Does slmgr /rearm Actually Do?

The slmgr rearm Windows activation command is a built-in Windows administrative tool that resets the licensing status of your machine back to its original state. Running this command performs two critical operations:

  • Resets the Evaluation Timer: If you are running an unactivated evaluation copy of Windows (such as a fresh install without a product key), it resets the 30-day grace period, temporarily suppressing the “Activate Windows” watermark.
  • Clears Corrupted Activation Tokens: If your PC has conflicting product keys installed, or a corrupted registry file is blocking a genuine activation, “rearming” clears the token cache so you can input your key on a fresh foundation.

Note: Microsoft limits the rearm command to 3 to 4 times depending on your exact Windows edition.

2. Step 1: Open Command Prompt as Administrator

  1. Click on the Windows Start button.
  2. Type cmd into the search bar.
  3. Right-click on Command Prompt and choose Run as administrator.
  4. Click Yes on the User Account Control (UAC) prompt.

3. Step 2: Execute the Rearm Command

Elevated Command Prompt Administrator
slmgr /rearm

Press Enter. A Windows Script Host dialog box will confirm: “Command completed successfully. Please restart the system for the changes to take effect.”

4. Step 3: Restart Your PC and Verify

  1. Close Command Prompt and restart your computer.
  2. Once rebooted, press Windows Key + I to open Settings.
  3. Navigate to System > Activation to confirm the system state is clean and ready for permanent activation.

5. SLMGR Commands Quick Reference Table

CommandFunction / PurposeAdminReboot
slmgr /rearmResets activation grace timer by 30 days & clears corrupted tokens✅ Yes✅ Yes
slmgr /dlvDisplays detailed license information and remaining rearm countNoNo
slmgr /xprShows current license expiration date or confirms permanent activationNoNo
slmgr /ipk <key>Installs a new 25-character genuine Windows product key✅ YesNo
slmgr /atoForces immediate online activation through official Microsoft servers✅ YesNo
PERMANENT SOLUTION Official Microsoft Partner ID: 7115302
Instant Email Delivery • Lifetime Digital License

Stop Resetting 30-Day Trial Timers — Activate Windows Permanently

Running slmgr /rearm is only a temporary fix. Permanently remove the activation watermark, unlock BitLocker encryption, and bind a genuine retail key to your Microsoft account.

Direct Microsoft Server Activation • Lifetime Reinstall Guarantee • 24/7 Support

7. Frequently Asked Questions

How many times can I use slmgr /rearm?

In most standard Windows 11 and Windows 10 retail installations, the rearm command can be executed up to 3 times. Each rearm extends the grace timer by 30 days, giving you a total of 120 days. You can view your exact remaining count by running slmgr /dlv in Command Prompt.

Why do I get error 0xC004D307 when running slmgr /rearm?

Error 0xC004D307 indicates that the maximum allowed number of rearms has been reached for your current Windows installation. At this point, running the command again will fail, and you must activate Windows with a genuine retail product key or reinstall the operating system.

Can slmgr /rearm permanently activate Windows?

No. The rearm parameter is explicitly designed by Microsoft as a temporary evaluation reset mechanism for administrators and developers. It resets the evaluation clock, but will never permanently license the operating system without entering a legitimate 25-character digital product key.

author-avatar

About Sorted Keys Team

The Sorted Keys Team is the official voice of Sorted Keys LLC, a verified Microsoft Partner based in the US. We are dedicated to providing legitimate software licenses, industry news, and enterprise deployment solutions to our B2B and retail clients worldwide.

4 thoughts on “How to Use the slmgr /rearm Command to Reset Windows Activation (2026 Step-by-Step Guide)”

  1. David Miller says:

    I ran `slmgr /rearm` in Command Prompt but received error code 0xC004D307 stating the maximum allowed number of re-arms has been exceeded. Is there any way to reset the counter in the registry, or is a permanent key required at this stage?

    1. SortedKeys Support Team says:

      Hi David! Error 0xC004D307 triggers once Windows hits its absolute hard limit of re-arms (typically 3 times for a total of 120 days). While older registry tweaks existed for earlier Windows builds, recent Windows 10 and 11 cumulative security updates patch those workarounds. Once the counter reaches zero, rearming is exhausted and your system will require a genuine retail license. You can activate permanently with an authentic Windows 11 Professional Retail Key from our store to eliminate the watermark and unlock full personalization with zero data loss.

  2. Elena Rostova says:

    My system was successfully rearmed yesterday, but after this morning’s Windows Defender update, my desktop background went black and the activation watermark came back. Why does it keep reverting?

    1. SortedKeys Support Team says:

      Hello Elena! The Windows Software Protection Service (sppsvc.exe) runs periodic hardware validation sweeps during Windows Defender updates. If your hardware hash detects an unverified licensing state, Windows revokes personalization features even before the 30-day grace timer finishes. To permanently lock in personalization (custom themes, dark mode, taskbar customization) and stop the watermark permanently, binding a verified retail key to your Microsoft account is the only lasting solution.

Leave a Reply

Your email address will not be published. Required fields are marked *