@echo off
cls
echo Deleting Appcache...
del "C:\Program Files (x86)\Steam\appcache"
echo Repairing SteamService... start "" "C:\Program Files (x86)\Steam\bin\SteamService.exe" /repair
echo Press any key when Steam Client Service closes...
pause>nul
echo Enabling DEP...
bcdedit.exe /set nx AlwaysOn>nul
bcdedit.exe /set nx OptOut>nul
timeout /t 3 /nobreak>nul
echo Turning off Kernel Debugging...
bcdedit /debug off>nul
timeout /t 3 /nobreak>nul
echo Enabling Kernel Integrity...
bcdedit /deletevalue nointegritychecks>nul
bcdedit /deletevalue loadoptions>nul
echo Press any key to launch Steam or just close this window now...
pause>nul
start "" "C:\Program Files (x86)\Steam\steam.exe"
exit