-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
@echo off | ||
echo ============================================== | ||
echo Win10/11解除微软账户和本地账户绑定 by 白隐Hakuin | ||
echo ============================================== | ||
echo. | ||
echo 此工具将会删除注册表内账户有关信息以达到解绑效果 | ||
echo 故请在下一步前做好备份,以避免可能存在的未知问题 | ||
echo 另外,此脚本需以管理员身份运行,否则可能拒绝访问 | ||
pause | ||
reg delete HKEY_CURRENT_USER\Software\Microsoft\IdentityCRL /va /f | ||
reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\IdentityCRL /va /f | ||
echo 重新登录后,在设置-账户-电子邮件和应用账户下,单击微软账户[email protected],点击“删除”即可。 | ||
pause | ||
@echo off | ||
title 解除微软账户和本地账户绑定 by 白隐Hakuin | ||
echo ============================================== | ||
echo Win10/11解除微软账户和本地账户绑定 by 白隐Hakuin | ||
echo ============================================== | ||
echo. | ||
echo 此工具将会删除注册表内账户有关信息以达到解绑效果 | ||
echo 故请在下一步前做好备份,以便于出现未知问题时恢复 | ||
echo 另外,此脚本需以管理员身份运行,否则可能拒绝访问 | ||
pause | ||
reg delete HKEY_CURRENT_USER\Software\Microsoft\IdentityCRL /va /f | ||
reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\IdentityCRL /va /f | ||
echo 修改已完成。即将自动注销本地账户登录,如果不需要可直接关闭命令提示符 | ||
echo 手动重新登录后,在设置-账户-电子邮件和应用下,单击微软账户[email protected],点击“删除”即可 | ||
pause | ||
shutdown -l |