《分享》發現一個更簡單好用的變更Windows XP序號方法 | |
將下面的程式碼存成 *.vbs
(注意:要修改 VOL_PROD_KEY 的值為您所擁有的合法序號喔!)
然後按兩下滑鼠,執行這個script就可以進行修改了!
怎麼樣是不是簡單到不行∼
ON ERROR RESUME NEXT
Dim VOL_PROD_KEY
VOL_PROD_KEY = "請用您所擁有的合法序號"
VOL_PROD_KEY = Replace(VOL_PROD_KEY, "-", "") 'remove hyphens if any
For Each Obj In GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf("win32_WindowsProductActivation")
result = Obj.SetProductKey(VOL_PROD_KEY)
If err = 0 Then
Wscript.Echo "您的產品金鑰變更成功。"
Else
Wscript.Echo "修改失敗!請檢查輸入的產品金鑰是否與當前Windows版本相匹配。"
WScript.Echo Err.Description, "0x" & Hex(Err.Number)
Err.Clear
End If
Next
♥順子老婆的網拍,請多關照∼
If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!
|