|
|
|
把此段代码保存为*.vbs,运行后输入正版序列号,可过任何微软验证,很简单+ F- I! R& y# a0 t4 ^9 s5 J
'
; m2 ^& Z/ P: f1 c; N- I- |4 E' WMI Script - ChangeVLKey.vbs
7 ^+ W7 H+ Q! h# c1 n' _'* c/ D7 x, R" C, e- O0 ?
' This script changes the product key on the computer (XP SP1 SP2 2003)6 U2 o' p- ~8 `8 ?" R" t- X5 C
'8 C; R8 h+ X" c! F2 K' l7 c4 l4 E
' Made by ythggyth.' d& x e6 c- }! v
'***************************************************************************
6 q; _% { R2 J% i* \1 ~3 F5 p( g5 a$ \3 Y" k" ^6 G- M2 n& E
ON ERROR RESUME NEXT4 A* _8 q0 F1 P. g
) V5 y! L5 i+ R) l/ J6 @Dim VOL_PROD_KEY8 Q- P8 C; [2 o9 C) O# g8 T; ]
if Wscript.arguments.count<1 then4 X3 {3 Z m5 ^- k8 m9 N
VOL_PROD_KEY=InputBox("使用说明(OEM版无效):"&vbCr&vbCr&" 本脚本程序将修改当前 Windows 的序列号。请选择一个微软授权正版Windows 的序列号,复制并粘贴到下面空格中。"&vbCr&vbCr&"输入序列号(默认为 XP VLK):","Windows序列号更换工具","在此输入序列号")3 T& `9 V. ?* P; C( @
if VOL_PROD_KEY="" then0 V+ q" p4 s: J/ M$ t
Wscript.quit
9 U8 X+ A3 g- w/ t; rend if
; }4 x C6 F1 Selse
1 V( Y" R7 h! a( p7 T3 oVOL_PROD_KEY = Wscript.arguments.Item(0)# R5 A' ~! a% I6 I- V
end if! {5 S \2 R+ U
& F8 S- b) N/ x' O1 q' {+ L
VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any
, S5 D& J3 _; _
! {* ~+ p. `' m5 \0 t% |! hfor each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation")! e8 t& b" [5 z; T0 ]
: C% g3 Q9 |: k8 R- Z) x8 @result = Obj.SetProductKey (VOL_PROD_KEY)" w- B. ]3 u( F
- N3 A. I e6 f( O$ Y. O
if err = 0 then- c, o' p% x: X( r7 e- Y% S
Wscript.echo "序列号改完啦!。看一下系统属性。"
& B" O$ E0 n5 F4 q; X& k# x5 send if
/ C+ A: u2 h+ A! U; P% c
8 O1 ~$ j3 n- C& m6 tif err <> 0 then
; ?. y: |$ t, s# ?Wscript.echo "不对!你把序列号弄错了。"
+ `1 Y% ?+ W" s; t `" ?Err.Clear
: |4 P8 B0 l6 h" Cend if
( o+ ~. e |3 y$ U$ X) g
8 a* j; B) k* Q4 {- o8 C ~Next
* K. O9 y: e! v, U2 o/ H( Z: O( f& O- f: i1 a9 R# T6 Y; B
Windows XP Pro SP2 VLK 微软授权正版序列号
% l( y4 u7 L! }# UHH7VV-6P3G9-82TWK-QKJJ3-MXR96 640
6 v: h m8 M3 y; o) [- Q5 ~0 JF4297-RCWJP-P482C-YY23Y-XH8W3 640! m5 G3 f' z6 j
MRX3F-47B9T-2487J-KWKMF-RPWBY 640
$ p1 e& z2 T+ B/ }$ @1 k; N( V0 H3 |QC986-27D34-6M3TY-JJXP9-TBGMD 640 |
|