Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行EnableCKS.exe后,电脑无限重启 #10

Open
BB421dog opened this issue Feb 19, 2024 · 2 comments
Open

运行EnableCKS.exe后,电脑无限重启 #10

BB421dog opened this issue Feb 19, 2024 · 2 comments

Comments

@BB421dog
Copy link

在运行EnableCKS.exe,电脑一直在重启,有什么办法能关闭他

@BB421dog
Copy link
Author

image

@HyperSine
Copy link
Owner

进入windows恢复模式,在恢复模式的命令行里,把注册表HKLM\SYSTEM\Setup下的SetupType置为0即可。
另外这篇文章写于很早以前,你需要修改

Policy[L"CodeIntegrity-AllowConfigurablePolicy"].GetData<PolicyValue::TypeOfUInt32>() = 1;
_tprintf_s(TEXT("[*] Enable CodeIntegrity-AllowConfigurablePolicy\n"));

把这两行注释掉,EnableCKS.exe才能正常工作,因为新版windows已经移除了CodeIntegrity-AllowConfigurablePolicy这个product policy,原先的EnableCKS.exe在这里会发生异常死掉,导致系统认为setup mode没有正常完成,所以不断重启重试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants