用bat包命令完成一下需求:关闭UACenable memory integrity之后重启电脑。请示列代码
@echo off echo Disabling UAC... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t REG_DWORD /d "0" /f >nul echo Enabling memory integrity... reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\DeviceGuard" /v "EnableVirtualizationBasedSecurity" /t REG_DWORD /d "1" /f >nul reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\DeviceGuard" /v "RequirePlatformSecurityFeatures" /t REG_DWORD /d "1" /f >nul echo Restarting computer... shutdown /r /t 0 >nu
原文地址: http://www.cveoy.top/t/topic/dnVl 著作权归作者所有。请勿转载和采集!