用“MAK密钥”联网激活Windows 7企业版或专业版,是时过境迁的历史机遇(至少目前如此);用“神Key”联网激活Windows 7旗舰版,靠的是“手气”和“幸运”。那么,在以后“若干月”机遇已失、手气未必的情况下,如何通过备份Windows 7“两个激活文件”实现重装操作系统后的自行激活呢?以下向大家提供:动手制作两个“批处理”即可得以圆满解决的简单实用方法——
5 Z0 F5 F2 v, B- E' N( P (一)关于两个“批处理”文件制作:1 q- w* a) t3 U& S
1.备份激活文件“批处理”
! @ j, _- C/ q; B$ f' f4 s ---------------------------------------------------------------------------
- A$ S+ `/ ]. h9 ]' O @echo off
7 U9 }' X$ M" |9 o' d ~: v copy %windir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms \- x5 I+ x" f) \3 z
copy %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat3 `7 }3 O. L3 Q
pause
" Z8 |) g8 f Y6 o1 F! L exit1 {7 K4 p/ A$ a z+ E' o0 H
---------------------------------------------------------------------------
0 p$ }1 a$ s" x 将以上划线部分内字符复制/粘贴到记事本,雨林木风系统另存为“备份激活文件.bat”即可。
9 n1 r! f% D; o% U+ {$ |# |5 Z( l 2.恢复激活文件“批处理”
; Y5 b" D! g$ P; { ---------------------------------------------------------------------------
& P8 x7 l8 t: R: _+ } @echo off( G% k" O' g% f1 y$ j, K
net stop sppsvc /y, T& m2 W- [( w) {2 h
takeown /f “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms”
% {8 n' @; a, m; D5 t1 ]. V cacls “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat” /e /g everyone:f& ^- J' v) D& P, ? F! h
cacls “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms” /e /g everyone:f3 I' r/ B0 }# D
ren “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat” “tokens.bak”
! l, ^8 @# f0 D' S# x, ? ren “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms” “pkeyconfig.bak”4 J( z1 p1 q, `
copy tokens.dat “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\”0 k) V/ e) n0 @5 V; M+ l
copy pkeyconfig.xrm-ms “%WinDir%\System32\spp\tokens\pkeyconfig\”% b0 [; `. k7 n7 ?. J+ a
del “%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.bak”. N1 U; A: C+ T; {
del “%WinDir%\System32\spp\tokens\pkeyconfig\pkeyconfig.bak”
9 O0 ^5 g- O0 A9 G& K1 d/ c net start sppsvc" b, `8 Q& a& l2 |* f4 n$ H
cscript %windir%\system32\slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX7 h! W# Q: J2 C1 _& U- U. i) D
cscript %windir%\system32\slmgr.vbs -ato2 W" U6 b7 w3 {9 [( L# K
pause
4 h7 j) r) @; F* F* L exit1 A3 f8 u; z4 C& v* @; ?
---------------------------------------------------------------------------, S% c' z" D2 z
将以上划线部分内字符复制/粘贴到记事本,用激活该系统时所使用的密钥替换其中的XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,另存为“恢复激活文件.bat”即可。+ M0 ]( o6 r' w* G w# P. A* Y7 _
(二)关于两个“批处理”文件使用:
( \' u# M7 y. Y( Q+ n# \) H 第一,将以上两个批处理文件放到任意磁盘的同一文件夹。深度系统官网以管理员身份运行“备份激活文件.bat”,即可得到两个激活文件的备份。& N, b, W7 X/ c( N* Z* M( y: b
第二,重装操作系统后,在断网情况下(注意:不要接通),以管理员身份运行“恢复激活文件.bat”,即可实现操作系统的自行激活。
0 a$ I# k; P6 p |