笔记本win7系统下如何备份激活文件信息方便重装系统
更新日期:2024-03-21 15:05:05
来源:投稿
当win7系统用户需要重装系统的时候,如果将win7系统激活文件信息备份起来,就可方便激活了,但是很多用户可能还不知怎样备份吧,那么请来看看下面的操作方法吧。笔记本win7系统中将激活文件信息进行备份的方法分享给大家。
操作方法:
1、新建记事本,将以下代码内容粘贴到记事本中,另存为“备份激活文件.bat”的批处理文件。
@echooff
copy%windir%System32sppokenspkeyconfigpkeyconfig.xrm-ms
copy%windir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformokens.dat
pause
exit
2、新建记事本,将以下代码内容粘贴到记事本中,然后激活该系统所使用的密钥替换其中的XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,另存为“恢复激活文件.bat”的批处理文件。
@echooff
netstopsppsvc/y
takeown/f"%WinDir%System32sppokenspkeyconfigpkeyconfig.xrm-ms"
cacls"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformokens.dat"/e/geveryone:f
cacls"%WinDir%System32sppokenspkeyconfigpkeyconfig.xrm-ms"/e/geveryone:f
ren"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformokens.dat""tokens.bak"
ren"%WinDir%System32sppokenspkeyconfigpkeyconfig.xrm-ms""pkeyconfig.bak"
copytokens.dat"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform"
copypkeyconfig.xrm-ms"%WinDir%System32sppokenspkeyconfig"
del"%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformokens.bak"
del"%WinDir%System32sppokenspkeyconfigpkeyconfig.bak"
netstartsppsvc
cscript%windir%system32slmgr.vbs-ipkXXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript%windir%system32slmgr.vbs-ato
pause
exit
3、将上面的两个批处理文件放到任意磁盘的同一文件夹中,右击以管理员身份运行“备份激活文件.bat”,就可得到两个激活文件的备份了。
重装系统之后,断开网络,以管理员身份运行“恢复激活文件.bat”,即可实现操作系统的自行激活了。更多精彩内容欢迎继续关注系统官网!
- monterey12.1正式版无法检测更新详情0次
- zui13更新计划详细介绍0次
- 优麒麟u盘安装详细教程0次
- 优麒麟和银河麒麟区别详细介绍0次
- monterey屏幕镜像使用教程0次
- monterey关闭sip教程0次
- 优麒麟操作系统详细评测0次
- monterey支持多设备互动吗详情0次
- 优麒麟中文设置教程0次
- monterey和bigsur区别详细介绍0次
周
月