|
把此段代码保存为*.vbs,运行后输入正版序列号,可过任何微软验证,很简单$ [/ l7 N/ A, n% O
'
* a( d' `7 E. L8 P' WMI Script - ChangeVLKey.vbs
0 S' K. h! f+ J3 F8 B3 E j' m'
/ H# C2 x' ?' f* U' This script changes the product key on the computer (XP SP1 SP2 2003)
8 x, ?/ M& w& l2 w# o'
, V& q5 F* t; ~# V+ f# H5 U' Made by ythggyth.
& i, _ o4 f; Y8 H'***************************************************************************
' v* l2 }% c5 c2 R' W
7 r/ |9 q0 L' L& JON ERROR RESUME NEXT& X( q' u) ]' l2 C
% C+ ]& t; I, v7 Q4 f" B; x, z: J
Dim VOL_PROD_KEY' f" `; W7 l' _, A0 n6 q' S% p
if Wscript.arguments.count<1 then' R: x8 ?0 r |
VOL_PROD_KEY=InputBox("使用说明(OEM版无效):"&vbCr&vbCr&" 本脚本程序将修改当前 Windows 的序列号。请选择一个微软授权正版Windows 的序列号,复制并粘贴到下面空格中。"&vbCr&vbCr&"输入序列号(默认为 XP VLK):","Windows序列号更换工具","在此输入序列号")
: f; X, \0 C0 I1 n4 t: ]6 Dif VOL_PROD_KEY="" then
+ ?- {% b5 C% k% BWscript.quit
, W: N9 s& x% \* o ?end if: f; g# J# `, e7 r0 Y2 R. x4 L
else) E! V3 N) |0 q
VOL_PROD_KEY = Wscript.arguments.Item(0)
* B: p- ~8 ?9 u" I- D5 {end if
: U' B( ] g/ ^9 x4 k: J1 v c5 k! y- m4 s# J, P, ?9 F3 M% f
VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any1 k7 F" k; C2 ~$ }7 j! M( s" w
/ k' B- f6 `# f0 v7 s
for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation")9 _' T3 o8 q5 o+ x) m; B
% m" g5 J% f+ Y* Rresult = Obj.SetProductKey (VOL_PROD_KEY)
5 D q" B8 F ^% t/ `8 V, O8 p! R+ Z$ W1 K: `+ N v
if err = 0 then! ?7 O$ k+ e$ Y. C/ M
Wscript.echo "序列号改完啦!。看一下系统属性。"* D3 H; \3 V& Y5 T
end if0 T6 e( j' R" b3 N# k5 n$ u
4 B: Y2 \" J$ l: m# z h% I/ q
if err <> 0 then; ~9 I" T! K+ }1 b
Wscript.echo "不对!你把序列号弄错了。", Z4 }3 R3 k1 K; ]
Err.Clear! W% z6 z. Q! h' Q2 x! L
end if
0 X% l* E6 O$ g
( I+ t6 y) ]; z; E! @Next - e- D. w: `3 x
( ?* G7 D- |5 j0 ]# Z8 JWindows XP Pro SP2 VLK 微软授权正版序列号/ {# U6 @, B z& @* R
HH7VV-6P3G9-82TWK-QKJJ3-MXR96 640
2 y9 W/ U* q) X/ ZF4297-RCWJP-P482C-YY23Y-XH8W3 6407 X: N; l, j7 c& {. y+ f
MRX3F-47B9T-2487J-KWKMF-RPWBY 6403 n+ }# \) M0 ~6 W
QC986-27D34-6M3TY-JJXP9-TBGMD 640 |
|