作者barnet (快使用蕃茄酱)
看板Trace
标题Re: [问题] 请问如何更改xp金钥??
时间Thu May 18 14:08:20 2006
把下列 程式码 用小作家存成XXX.vbs然後执行 并修改你的SN
重开机~ 就OK了
想知道改成功没~ 去 猥软网站 UPDATE一下就知道罗
' This will changes product key on your computer with XP SP1 SP2 or 2003 :)
'
' Made by Barnet
'***************************************************************************
ON ERROR RESUME NEXT
Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY=InputBox("使用说明(OEM版无效XD):"&vbCr&vbCr&"程式将修改当前
Windows 的序列号,请KEY一个微软授权正版Windows 的序列号OR复制并贴上至下面空格
中 (范例:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX)。"&vbCr&vbCr&"输入序列号:
","Windows XP/2003 ","")
if VOL_PROD_KEY="" then
Wscript.quit
end if
else
VOL_PROD_KEY = Wscript.arguments.Item(0)
end if
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 "您的 Windows CD-KEY 修改成功。请检查系统属性。"
end if
if err <> 0 then
Wscript.echo "修改失败!请检查输入的 CD-KEY 是否与当前 Windows 版本相匹配。"
Err.Clear
end if
Next
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.130.168.142