WINDOWS XP SP3 密匙在什么地方输入

来源:百度知道 编辑:UC知道 时间:2024/05/19 04:01:32
我有正版的密匙,但是不知道在什么地方可以输入这个密匙

呵呵还真不知道,但我会用vb来输入
--------------------
ON ERROR RESUME NEXT

Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
VOL_PROD_KEY=InputBox("本程序能帮助您更换 WindowsXP 的序列号。"&vbCr&vbCr&"序列号由您自己寻找并

输入。"&vbCr&vbCr&"请输入新的序列号:","WindowsXP序列号更换器","输入密钥")
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<