vbs

ON ERROR RESUME NEXT

Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY=InputBox(”白白制作”&vbCr&vbCr&” 本程序将自动替换你当前 Windows 的序列号,通过微软验证完全正版。”&vbCr&vbCr&”序列号(OEM版无效,默认版本为 XP VLK):”,”Windows XP序列号自动更换器”,”序列号”)
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 与当前的版本不匹配。”
Err.Clear
end if

Next

4 条评论

  1. 发表了 2008年05月8日 在 12:23 pm | 永久链接

    上你这个空间速度很慢。。。。
    这个替换器我原来发过哈哈。。。
    生日快乐!

  2. 发表了 2008年05月9日 在 6:42 am | 永久链接

    谢谢。只是为了备忘。

    dreamhost的速度都差不多。

  3. 发表了 2008年05月15日 在 10:12 pm | 永久链接

    不买正版了?

  4. 发表了 2008年05月16日 在 6:41 am | 永久链接

    买不起。

发表评论

你的邮件地址 不会 被公开或共享. 标记为 * 的为必填项目

*
*
Copyright © 2007 LIVE. All rights reserved.