用“MAK密钥”联网激活Windows 7企业版或专业版,是时过境迁的历史机遇(至少目前如此);用“神Key”联网激活Windows 7旗舰版,靠的是“手气”和“幸运”。那么,在以后“若干月”机遇已失、手气未必的情况下,如何通过备份Windows 7“两个激活文件”实现重装操作系统后的自行激活呢?以下向大家提供:动手制作两个“批处理”即可得以圆满解决的简单实用方法——
5 D; m4 z; z% o% ]) }* f: h2 F (一)关于两个“批处理”文件制作:, N s! g- U. y* c" C+ {& m
1.备份激活文件“批处理”
- {. O4 H8 k. j& y) V ---------------------------------------------------------------------------, q& N6 I- s9 [* N
@echo off
$ ^+ i. E( F) X) L1 N( `" f copy %windir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms* |) Z0 |: }! }/ y
copy %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat. h* F5 f0 W& F
pause
) \. P7 y' T2 X. M" ~) ~ _+ z" y exit
5 A! T3 V; _6 H ---------------------------------------------------------------------------
" z" k7 N2 c r* X! L1 T 将以上划线部分内字符复制/粘贴到记事本,雨林木风系统另存为“备份激活文件.bat”即可。+ p) O+ T9 P" X
2.恢复激活文件“批处理”+ O, \! Z3 Z8 Z) v
---------------------------------------------------------------------------- j9 s1 f' I# ~1 S- R' ]
@echo off
: c4 M, J1 B9 i5 e2 X* ^+ f8 b M net stop sppsvc /y
" z" l9 M: s, K0 P6 g takeown /f “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms” g8 G% E6 U6 z$ \
cacls “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat” /e /g everyone:f
! S1 J5 n& ^4 t$ m cacls “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms” /e /g everyone:f. r! W" U* @. a& U" @) ?
ren “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat” “tokens.bak”
# J% y/ c& P/ E6 f, |' W2 [ ren “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms” “pkeyconfig.bak”2 a! g( t r/ @8 H& I7 K: j* i4 L6 Z7 O
copy tokens.dat “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\”+ b2 [% P4 ]# P, o! l% U b
copy pkeyconfig.xrm-ms “%WinDir%\System32\spp\tokens\pkeyconfig\”
' g1 M' q& ^4 X9 ^) r# O, Z/ W del “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.bak”
6 i" e3 ?1 l, k del “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.bak”
' S: }! x- Y6 Y9 s% a& U3 o) D, i net start sppsvc! N! I9 E) o& H9 V7 d6 B9 \
cscript %windir%\system32\slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX: S1 F) Y. d6 Q/ s
cscript %windir%\system32\slmgr.vbs -ato
& e* r3 |# \( [: N( [. E ? pause! d* y+ x3 V9 m* o9 H: K0 P
exit! F; G# _! ~4 Z, B, _
---------------------------------------------------------------------------: _' `& E% p E
将以上划线部分内字符复制/粘贴到记事本,用激活该系统时所使用的密钥替换其中的XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,另存为“恢复激活文件.bat”即可。
3 d* r% c( L. b2 L+ o) | (二)关于两个“批处理”文件使用:6 W- E" z6 R& O c, z
第一,将以上两个批处理文件放到任意磁盘的同一文件夹。深度系统官网以管理员身份运行“备份激活文件.bat”,即可得到两个激活文件的备份。* G* M2 z5 ]0 l
第二,重装操作系统后,在断网情况下(注意:不要接通),以管理员身份运行“恢复激活文件.bat”,即可实现操作系统的自行激活。6 r( R* K! e9 ^( ` L
|