Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo "+---------------------------------------+"
- echo "| Steam/CSGO Cleaner |"
- echo "|---------------------------------------|"
- echo "| |"
- echo "| Use it at your own risks ! |"
- echo "| |"
- echo "| last update by JFF @10/23/2014 |"
- echo "+---------------------------------------+"
- set /p steaminstall=Steam Install Folder (default = C:\Program Files\Steam\):
- if "%steaminstall%" == "" (
- set "steaminstall=C:\Program Files\Steam\"
- )
- ::Does SteamInstall have a trailing slash ?
- IF %steaminstall:~-1%==\ SET steaminstall=%steaminstall:~0,-1%
- set "SteamService=%steaminstall%\bin\SteamService.exe /repair"
- set /p csgofolder=CSGO Install Folder Starting with 'SteamApps' (leave blank if default):
- if "%csgofolder%" == "" (
- set "csgofolder=%steaminstall%\SteamApps\common\Counter-Strike Global Offensive\csgo"
- )
- IF %csgofolder:~-1%==\ SET steaminstall=%csgofolder:~0,-1%
- set csgocachefolder=%csgofolder%\cache
- set cachefolder=%steaminstall%\appcache
- ::Killing Steam Process
- echo killing Steam Process
- taskkill /F /IM steam.exe
- ::Delete CSGO cache folders
- echo Deleting CSGO cache
- del %csgocachefolder%
- del %cachefolder%
- ::Delete clientregistry.blob
- echo Deleting this shitty blob file
- del "%steaminstall%\clientregistry.blob"
- ::Enabling DEP
- echo Enabling Data Execution Prevention
- bcdedit.exe /set {current} nx AlwaysOn
- ::Repairing Steam Service
- echo Repairing Steam Service
- echo %SteamService%
- ::Enabling Kernel Integrity
- echo Enabling Kernel Integrity
- bcdedit.exe /deletevalue nointegritychecks
- bcdedit.exe /deletevalue loadoptions
- ::Disabling Kernel Debug
- echo Disabling Kernel Debug
- bcdedit.exe /debug off
- ::Disabling UAC
- echo Disabling UAC
- 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
- :: User things
- echo What you fucking human should do now :
- echo 1- Change your steam shortcut to add 'tcp' and 'clearbeta' parameters ("...\Steam\steam.exe" -tcp -clearbeta)
- echo 2- Verify Integrity of CS:GO game cache
- echo 3- Disable you Antivirus
- echo ---------------------------------
- echo If nothing works, then go fap and pray
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement