From ff02fd5dcae86456c7e2e6bcb5aa9f48d0c74226 Mon Sep 17 00:00:00 2001 From: VictorXPDE <60672615+VictorXPDE@users.noreply.github.com> Date: Wed, 27 Jul 2022 01:11:36 +0000 Subject: [PATCH] Add script file. --- winactivator.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 winactivator.ps1 diff --git a/winactivator.ps1 b/winactivator.ps1 new file mode 100644 index 0000000..af95c16 --- /dev/null +++ b/winactivator.ps1 @@ -0,0 +1,17 @@ +$version = (systeminfo | Select-String -Pattern 'Microsoft Windows 10') -split 'Microsoft ' + +Switch ($version) { + "Windows 10 Home" { slmgr /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 } + "Windows 10 Home N" { slmgr /ipk 3KHY7-WNT83-DGQKR-F7HPR-844BM } + "Windows 10 Home Single Language" { slmgr /ipk 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH } + "Windows 10 Professional" { slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX } + "Windows 10 Professional N" { slmgr /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 } + "Windows 10 Education" { slmgr /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 } + "Windows 10 Education N" { slmgr /ipk 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ } + "Windows 10 Enterprise" { slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 } + "Windows 10 Enterprise N" { slmgr /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 } + "Windows 10 Enterprise N LTSC" { slmgr /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 } +} + +slmgr /skms kms8.msguides.com +slmgr /ato \ No newline at end of file