笔记本win7系统下如何备份激活文件信息方便重装系统

笔记本win7系统下如何备份激活文件信息方便重装系统

时间:2014-11-11 12:32 作者: 来源:系统城

1. 扫描二维码随时看资讯

2. 请使用手机浏览器访问:

手机查看
评论

    当win7系统用户需要重装系统的时候,如果将Win7系统激活文件信息备份起来,就可方便激活了,但是很多用户可能还不知怎样备份吧,那么请来看看下面的操作方法吧。笔记本win7系统中将激活文件信息进行备份的方法分享给大家。win7系统下如何备份激活文件信息 


操作方法:

1、新建记事本,将以下代码内容粘贴到记事本中,另存为“备份激活文件.bat”的批处理文件。
  @echo off
  copy %windir%System32spp okenspkeyconfigpkeyconfig.xrm-ms
  copy %windir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform okens.dat
  pause
  exit
2、新建记事本,将以下代码内容粘贴到记事本中,然后激活该系统所使用的密钥替换其中的XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,另存为“恢复激活文件.bat”的批处理文件。
  @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
3、将上面的两个批处理文件放到任意磁盘的同一文件夹中,右击以管理员身份运行“备份激活文件.bat”,就可得到两个激活文件的备份了。


    重装系统之后,断开网络,以管理员身份运行“恢复激活文件.bat”,即可实现操作系统的自行激活了。更多精彩内容欢迎继续关注系统城官网www.xitongcheng.com!
 
 

< 上一篇

雨林木风Ghost xp系统设置多一个菜单选择的方法

下一篇 >

联想笔记本win7系统中通过SATA硬盘提升硬盘性能的技巧【图文】

相关教程

网友评论

0

评论就这些咯,让大家也知道你的独特见解

以上留言仅代表用户个人观点,不代表系统城立场

Win7系统教程排行榜
系统下载排行

系统合集
最近更新

系统

软件

安卓

文章