Advertisement
neploho

vac error fix

Jul 6th, 2015
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. @echo off
  2. echo "+---------------------------------------+"
  3. echo "| Steam/CSGO Cleaner |"
  4. echo "|---------------------------------------|"
  5. echo "| |"
  6. echo "| Use it at your own risks ! |"
  7. echo "| |"
  8. echo "| last update by JFF @10/23/2014 |"
  9. echo "+---------------------------------------+"
  10. set /p steaminstall=Steam Install Folder (default = C:\Program Files\Steam\):
  11. if "%steaminstall%" == "" (
  12. set "steaminstall=C:\Program Files\Steam\"
  13. )
  14. ::Does SteamInstall have a trailing slash ?
  15. IF %steaminstall:~-1%==\ SET steaminstall=%steaminstall:~0,-1%
  16. set "SteamService=%steaminstall%\bin\SteamService.exe /repair"
  17. set /p csgofolder=CSGO Install Folder Starting with 'SteamApps' (leave blank if default):
  18. if "%csgofolder%" == "" (
  19. set "csgofolder=%steaminstall%\SteamApps\common\Counter-Strike Global Offensive\csgo"
  20. )
  21. IF %csgofolder:~-1%==\ SET steaminstall=%csgofolder:~0,-1%
  22. set csgocachefolder=%csgofolder%\cache
  23. set cachefolder=%steaminstall%\appcache
  24. ::Killing Steam Process
  25. echo killing Steam Process
  26. taskkill /F /IM steam.exe
  27.  
  28. ::Delete CSGO cache folders
  29. echo Deleting CSGO cache
  30. del %csgocachefolder%
  31. del %cachefolder%
  32. ::Delete clientregistry.blob
  33. echo Deleting this shitty blob file
  34. del "%steaminstall%\clientregistry.blob"
  35. ::Enabling DEP
  36. echo Enabling Data Execution Prevention
  37. bcdedit.exe /set {current} nx AlwaysOn
  38. ::Repairing Steam Service
  39. echo Repairing Steam Service
  40. echo %SteamService%
  41. ::Enabling Kernel Integrity
  42. echo Enabling Kernel Integrity
  43. bcdedit.exe /deletevalue nointegritychecks
  44. bcdedit.exe /deletevalue loadoptions
  45. ::Disabling Kernel Debug
  46. echo Disabling Kernel Debug
  47. bcdedit.exe /debug off
  48. ::Disabling UAC
  49. echo Disabling UAC
  50. C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
  51. :: User things
  52. echo What you fucking human should do now :
  53. echo 1- Change your steam shortcut to add 'tcp' and 'clearbeta' parameters ("...\Steam\steam.exe" -tcp -clearbeta)
  54. echo 2- Verify Integrity of CS:GO game cache
  55. echo 3- Disable you Antivirus
  56. echo ---------------------------------
  57. echo If nothing works, then go fap and pray
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement