查看: 951|回复: 1

XP正版验证工具

[复制链接]

签到天数: 126 天

连续签到: 0 天

[LV.7]常住居民III

发表于 2008-4-6 17:25 | 显示全部楼层 |阅读模式
ON ERROR RESUME NEXT

Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY=InputBox(\"Powered By Microsoft\"&vbCr&vbCr&\" 本程序将自动替换你当前 Windows 的序列号,通过微软验证完全正版。\"&vbCr&vbCr&\"序列号(OEM版无效,默认版本为 XP VLK):\",\"Windows XP序列号自动更换器\",\"MRX3F-47B9T-2487J-KWKMF-RPWBY\")
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,\"-\",\"\") &#39;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 与当前的版本不匹配。\"
Err.Clear
end if
PCOS系统下载站:http://zhuangji.wang

签到天数: 126 天

连续签到: 0 天

[LV.7]常住居民III

 楼主| 发表于 2008-4-6 17:25 | 显示全部楼层

XP正版验证工具

ON ERROR RESUME NEXT

Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY=InputBox(\"Powered By Microsoft\"&vbCr&vbCr&\" 本程序将自动替换你当前 Windows 的序列号,通过微软验证完全正版。\"&vbCr&vbCr&\"序列号(OEM版无效,默认版本为 XP VLK):\",\"Windows XP序列号自动更换器\",\"MRX3F-47B9T-2487J-KWKMF-RPWBY\")
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,\"-\",\"\") &#39;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 与当前的版本不匹配。\"
Err.Clear
end if
PCOS系统下载站:http://zhuangji.wang

本版积分规则