求更改XP sp3序列号的方法

来源:百度知道 编辑:UC知道 时间:2024/09/23 08:25:43
一楼的方法不行

我给你个绝对好使的吧!
新建一个文本文档把下列内容复制并保持:

---------------------------这货是分割线------------------------------------------

ON ERROR RESUME NEXT
Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY=InputBox("此序列号适用于Windows XP
SP2和SP3版本"&vbCr&vbCr&"(OEM版无效,默认版本为 XP VLK):","XP
SP3正版序列号更换器","DP7CM-PD6MC-6BKXT-M8JJ6-RPXGJ")
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 "OK~ 替换成功,去微软验证吧!"
end if
if err <> 0 then
Wscript.echo "替换失败!输入的 CD-KEY 与当前的