Brand Notebook Win10 PowerShell Activation system script
The overall idea is that some brands of notebooks will record the serial number of the original system on a chip called MSDM, and after win10, powershell can display this serial number. Activate with this serial number using the activation method of vbs.
Cd C:\ Windows\ System32\
$ProductKey = (Get-WmiObject-query 'select * from SoftwareLicensingService') .OA3xOriginalProductKey
If ($ProductKey.Length-ne 0) {
Cscript slmgr.vbs / ipk $ProductKey
Cscript slmgr.vbs / ato
Slmgr.vbs-xpr
} else {
Msg / server:127.0.0.1 * "Activate failed, couldn't get product key."
}