2024年4月16日发(作者:)

大家都知道我们预装的win7系统是没有激活的,所以在我们后期的使用过程中会受到限制

的,所以很多人会购买正版序列号或使用激活软件进行激活,但是激活了之后要再重装系

统时候忘记了激活码,不容易再找到有效的激活码激活win7,所以我们可以备份一下win7

系统的激活文件,这样重装系统后就可以让win7自动激活了,下面就跟大家分享一下如何

备份Win7系统激活文件信息实现重装系统后再激活吧。

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

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

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

@echo off

copy %windir%System32spp -ms

copy %windir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPla

tform

pause

exit

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

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

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

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

@echo off

net stop sppsvc /y

takeown /f "%WinDir%System32spp -ms"

cacls

"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatfor

m " /e /g everyone:f

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

ren

"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatfor

m " ""

ren "%WinDir%System32spp -ms" ""

copy

"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatfor

m"

copy -ms "%WinDir%System32spp okenspkeyconfig"

del

"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatfor

m "

del "%WinDir%System32spp "

net start sppsvc

cscript %windir% -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

cscript %windir% -ato

pause

exit

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

2、将上面的的划线部分内的字符复制黏贴到记事本上,然后激活该系统所使用的密钥

替换其中的XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,另存为“恢复激活文件.bat”即可。

推荐:win7 64位纯净版下载/xitong/chunjingban/

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

1)将上面的两个批处理文件放到任意磁盘的同一文件夹,然后右击它们以管理员身份

运行“备份激活文件.bat”,就可得到两个激活文件的备份。