源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

用vbs实现的XP序列号替换器

  • 时间:2022-10-25 21:35 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:用vbs实现的XP序列号替换器
[u]复制代码[/u] 代码如下:
ON ERROR RESUME NEXT Dim VOL_PROD_KEY if Wscript.arguments.count<1 then    VOL_PROD_KEY=InputBox("本程序能帮助您更换 WindowsXP 的序列号。"&vbCr&vbCr&"序列号由您自己寻找并输入。下面列出的不一定是您当前用的序列号,仅作格式参考。"&vbCr&vbCr&"请输入新的序列号:","WindowsXP序列号更换器  by donghai","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,"-","") '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 "修改成功。请点击附带的网址到微软网站进行验证。祝您好运!"    end if    if err <> 0 then       Wscript.echo "替换失败!您输入的序列号有误。"       Err.Clear    end if Next 
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部