如何在執行 Windows XP SP1 和較新版 Windows XP 的電腦上變更大量授權產品金鑰
http://support.microsoft.com/kb/328874
"Windows XP Volume License Key Changer "
save as ChangeVLKeySP1.vbs
changevlkeysp1.vbs "ab123-123ab-ab123-123ab-ab123"
---
'
' WMI Script - ChangeVLKey.vbs
'
' This script changes the product key on the computer
'
'***************************************************************************
ON ERROR RESUME NEXT
if Wscript.arguments.count<1 vol_prod_key =" Wscript.arguments.Item(0)" vol_prod_key =" Replace(VOL_PROD_KEY," impersonationlevel="impersonate}" result =" Obj.SetProductKey"> 0 then
WScript.Echo Err.Description, "0x" & Hex(Err.Number)
Err.Clear
end if
Next
沒有留言:
張貼留言