故障描述
近期遇到很多筆記本通過SCCM安裝完系統後,無法使用OEM許可激活。
過去我們隻需要使用本地管理者權限的賬戶在激活頁面點
Troubleshoot
即可解決,但現在該方法失效、
大概錯誤内容為
We can't activate Windows on this device as we can't connect to your organization's activation server. Error code 0x8007232B.

解決方法
1.以管理者身份運作Powershell并執行
wmic path SoftwareLicensingService get OA3xOriginalProductKey
2.點選更改産品秘鑰,并将上面擷取的Key輸入後激活。
優化
# // Get product key
$Key = (Get-WmiObject SoftwareLicensingService).OA3xOriginalProductKey
If ($Key) {
Write-Host -ForegroundColor Green "Installing product key"
Invoke-Command -ScriptBlock {& 'cscript.exe' "$env:windir\system32\slmgr.vbs" '/ipk' "$($Key)"}
Start-Sleep -Seconds 5
Write-Host -ForegroundColor Green "Activating product key"
Invoke-Command -ScriptBlock {& 'cscript.exe' "$env:windir\system32\slmgr.vbs" '/ato'}
Start-Sleep -Seconds 5
}
Else {
Write-Host -ForegroundColor Red 'No product key found.'
}