OEM activations are performed using the BIOS. Manufacturers embed the Windows serial number in the BIOS.
OEM activation with consumer media
- With this tools : “Media Création Tools” activation will happen automatically.

- Select you language and click next

Activation OEM by script
Windows 10 or Windows 11
We can retrieve the serial number of a computer and activate it via a script. You will need an internet connection to finalize the activation.
1 2 3 | $key = (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey cscript c:\Windows\System32\slmgr.vbs -ipk $key cscript c:\Windows\System32\slmgr.vbs -ato |
Windows 7 Pro
The number is unique per manufacturer, and you will also need the certificate associated with the manufacturer.
Constructeur | SERIAL | |
---|---|---|
Dell | 32KD2-K9CTF-M3DJT-4J3WC-733W | |
HP | 74T2M-DKDBC-788W3-H689G-6P6GT | |
Lenovo | 237XB-GDJ7B-MV8MH-98QJM-24367 |
https://github.com/DavidWuibaille/Repository/tree/main/Windows/Windows7/OEMCert
Check activation status
- Windows 7 (vbs)
1 2 3 4 5 6 7 8 9 10 11 12 13 | Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From SoftwareLicensingProduct") Coltest = int(0) IsWinActivated = True For Each objitem In colItems IF int(objitem.GracePeriodRemaining) = 0 Then Coltest = True else Coltest = False IF Coltest = False then IsWinActivated = False Next IF IsWinActivated = False then wscript.echo "Activation Failed" END IF |
- Windows 10 ( powershell)
1 2 3 4 5 6 7 8 9 10 11 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") } |
https://github.com/DavidWuibaille/Repository/tree/main/Windows/Windows11/OEMactivation
0 Comments