当前位置: 易激活 > 系统教程 >

win7旗舰版32位系统激活怎么备份 实现重装系统后再激活

时间:2016-02-28 10:26

小编:易激活

win7旗舰版32位系统,没有集成任何软件,相当满意,然后安装了win7旗舰版32位系统,没激活。假如我下次重装系统后,能不能先 备份好win7旗舰版32位系统的激活信息,以便下次使用。下面大嘴巴跟大家说说怎么备份win7旗舰版32位系统激活信息。

 

一、制作连个“批处理”文件制作:

1、备份激活文件“批处理”

---------------------------------------------------------------------------

@echo off

copy %windir%System32spp okenspkeyconfigpkeyconfig.xrm-ms

copy %windir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform okens.dat

pause

exit

---------------------------------------------------------------------------

将以上划线部分内字符复制/粘贴到记事本,另存为“备份激活文件.bat”即可。

2、恢复激活文件的“批处理”

@echo off

net stop sppsvc /y

takeown /f "%WinDir%System32spp okenspkeyconfigpkeyconfig.xrm-ms"

cacls "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform okens.dat" /e /g everyone:f

cacls "%WinDir%System32spp okenspkeyconfigpkeyconfig.xrm-ms" /e /g everyone:f

ren "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform okens.dat" "tokens.bak"

ren "%WinDir%System32spp okenspkeyconfigpkeyconfig.xrm-ms" "pkeyconfig.bak"

copy tokens.dat "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform"

copy pkeyconfig.xrm-ms "%WinDir%System32spp okenspkeyconfig"

del "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform okens.bak"

del "%WinDir%System32spp okenspkeyconfigpkeyconfig.bak"

net start sppsvc

cscript %windir%system32slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

cscript %windir%system32slmgr.vbs -ato

pause

exit

---------------------------------------------------------------------------

2、将上面的的划线部分内的字符复制黏贴到记事本上,然后激活该系统所使用的密钥替换其中的XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,另存为“恢复激活文件.bat”即可。

3、两个“批处理”文件使用:

1)将上面的两个批处理文件放到任意磁盘的同一文件夹,然后右击它们以管理员身份运行“备份激活文件.bat”,就可得到两个激活文件的备份。

2)重装系统之后,在断网的情况下,以管理员身份运行“恢复激活文件.bat”,即可实现操作系统的自行激活。

 

最新软件

最新游戏

最新文章

热门文章

更多