1
0

Auto-commit: 2025-10-31 08:58:35

This commit is contained in:
David Wuibaille
2025-10-31 08:58:36 +01:00
parent 7d94414992
commit 7cc3011354
1088 changed files with 193455 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
$ProductKey = (Get-WmiObject -Class SoftwareLicensingService).OA3xOriginalProductKey
cscript "c:\windows\system32\slmgr.vbs" -ipk $ProductKey
cscript "c:\windows\system32\slmgr.vbs" -ato
$ta = Get-CimInstance -ClassName SoftwareLicensingProduct -Filter "PartialProductKey IS NOT NULL" | Where-Object -Property Name -Like "Windows*"
$active = $ta.LicenseStatus
$description = $ta.Description
write-host "--- $description ---"
if ($active -ne 1) {
write-host "Activation Failed"
$null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
}

View File

@@ -0,0 +1,13 @@
# 🔑 Windows OEM Activation Script
## 🔧 What it does
- Reads the **embedded OEM product key** from BIOS.
- Installs the key and **activates Windows** (`slmgr -ipk` then `-ato`).
- Checks activation status and displays a short result.
## ✅ Prerequisites
- Run as **Administrator**.
- Internet access for online activation (KMS/MAK not required for OEM key).
- Works on Windows 10/11 with an **OA3** (BIOSembedded) key.
🔗 More details: **[Windows 11 OEM Activation](https://blog.wuibaille.fr/2023/05/activation-oem-windows-11/)**