SmartAppControl 关闭指南
Smart App Control (智能应用控制) 是微软强推的最新野狗安全防护机制,以下是关闭方案。
Smart App Control 只运行有签名或有良好信誉的程序,无签名/无信誉的软件会被直接拦截且没有「仍要运行」选项。
但是许多常用软件,如 LocaleEmulator 等是没有签名的,这种强推非常影响日常开发体验
Windows
Windows 安全中心 --> 应用和浏览器控制 --> 智能应用控制设置 --> 关闭
Windows Sandbox
windows 沙箱没有 Windows 安全中心,所以需要使用命令来关闭
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy" /v VerifiedAndReputablePolicyState /t REG_DWORD /d 0 /f && (echo STOP| citool -r)
如果嫌每次创建沙箱都要输命令,可以用 .wsb 配置文件在启动时自动执行(注意:XML 中 && 要转义为 &&)。
保存时用记事本「另存为」、文件名加英文引号如 "dev.wsb",防止被存成 .wsb.txt:
<Configuration>
<MemoryInMB>8192</MemoryInMB>
<LogonCommand>
<Command>cmd /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy" /v VerifiedAndReputablePolicyState /t REG_DWORD /d 0 /f && (echo STOP| citool -r)</Command>
</LogonCommand>
</Configuration>