欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

用VBS腳本實(shí)現(xiàn)更換Windows Xp序列號(hào)的代碼

 更新時(shí)間:2008年05月20日 22:45:24   作者:  
用vbs實(shí)現(xiàn)更改winxp序列號(hào),不用任何軟件
ON ERROR RESUME NEXT

Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY =InputBox("使用說(shuō)明:"&vbCr&vbCr&"   本程序?qū)⒆詣?dòng)替換你當(dāng)前 Windows 的序列號(hào),通過(guò)微軟驗(yàn)證完全正版。"&vbCr&vbCr&"序列號(hào)(OEM版無(wú)效,默認(rèn)版本為 XP VLK):"& vbCr&vbCr&"輸入序列號(hào)(默認(rèn)為 XP VLK):","Windows XP/2003 序列號(hào)更換工具","DG8FV- B9TKY-FRT9J-6CRCC-XPQ4G")
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 修改成功。請(qǐng)檢查系統(tǒng)屬性。"
end if

if err <> 0 then
Wscript.echo "修改失??!請(qǐng)檢查輸入的 CD-KEY 是否與當(dāng)前 Windows 版本相匹配。"
Err.Clear
end if

Next

相關(guān)文章

最新評(píng)論