Welcome to Ramleague,

Ramleague - the best site for pinoy chat, games chat and mobiles chat,

Sign Up
  1. Hello guest Guest , Are you tired from Ads? to remove some ads you need to register and be active. :D

[Release] Clear VAC Temp Files

Discussion in 'Counterstrike Global Offensive' started by FierceKiller, Sep 9, 2017.

Thread Status:
Not open for further replies.
  1. FierceKiller
    No wonder you are gay.
    GXF Designer Member Lvl1

    FierceKiller
    Joined:
    Jun 9, 2015
    Gender:
    Male
    Posts:
    299
    Reputation:
    126
    Thanks:
    93
    Lurking

    Clear VAC Temp Files

    This batch file basically resets and deletes the detection logs of Valve Anti-Cheat System.

    IMPORTANT INFO:

    • This batch file wont remove your VAC bans.
    Batch File Features:
    • End Steam Processes
    • Prevent the VAC from reading the DNS Cache
    • Prevent the VAC from reading the MUI Cache
    • Clears the DNS Cache
    • Delete Temp Files
    • Repair Steam
    Credits: soyra
    I just translated this to english

    Download Link: Please Login/Register to view links
    Virus Scan: Please Login/Register to view links tehe
    Code:
    Code:
    Code:
    @ECHO OFF
    TITLE VAC CLEAR
    COLOR 07
    CLS
    
    
    :: Execute as an administrator
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
    if '%errorlevel%' NEQ '0' (
        echo Requesting administrative privileges ..
        goto UACPrompt
    ) else ( goto gotAdmin )
    
    :UACPrompt
        echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
        echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
        "%temp%\getadmin.vbs"
        exit /B
    
    :gotAdmin
        if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
        pushd "%CD%"
        CD /D "%~dp0"
    
    
    :: NOTICE
    CLS
    ECHO NOTICE
    ECHO - You must have Steam and any game CLOSED
    ECHO - It is recommended to CLOSE ALL before continuing
    ECHO - You must RUN AS ADMINISTRATOR this File.bat
    ECHO - You must wait 30 minutes after restarting the computer (only in games that have VAC)
    ECHO.
    PAUSE
    CLS
    
    
    :: Routes
    :: Edit "C:\Steam" Steam Path
    :: Example: C:\Program files (x86)\Steam
    SET STEAM=%STEAM%C:\Program Files (x86)\Steam
    CLS
    
    
    :: End Steam Processes
    TASKKILL /F /IM GameOverlayUI.exe /T
    TASKKILL /F /IM Steam.exe /T
    TASKKILL /F /IM steamerrorreporter.exe /T
    TASKKILL /F /IM steamerrorreporter64.exe /T
    TASKKILL /F /IM streaming_client.exe /T
    TASKKILL /F /IM WriteMiniDump.exe /T
    TASKKILL /F /IM steamservice.exe /T
    TASKKILL /F /IM steamwebhelper.exe /T
    TASKKILL /F /IM csgo.exe /T
    ECHO.
    ECHO End Steam processes ... Done.
    TIMEOUT /T 60
    CLS
    
    
    :: Prevent the VAC from reading the DNS Cache
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters /v maxcacheentryttllimit /t REG_DWORD /d 1 /f
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters /v maxcachettl /t REG_DWORD /d 0 /f
    ECHO.
    ECHO Prevent the VAC from reading the DNS Cache ... Done.
    TIMEOUT /T 60
    CLS
    
    
    :: Prevent the VAC from reading the MUI Cache
    ECHO Delete all entries in the "MuiCache" folder
    ECHO Except "LangID"
    ECHO Then you must REFUSE any type of Permission to the folder "MuiCache"
    ECHO HKEY_CURRENT_USER \ SOFTWARE \ Classes \ Local Settings \ Software \ Microsoft \ Windows \ Shell \ MuiCache
    ECHO.
    ECHO Prevent the VAC from reading the MUI Cache ... Done.
    TIMEOUT /T 60
    CLS
    
    
    :: Clears the DNS Cache
    IPCONFIG /flushdns
    NET stop dnscache
    NET start dnscache
    ECHO.
    ECHO Clean DNS Cache ... Done.
    TIMEOUT /T 60
    CLS
    
    
    :: Delete Files
    RD /S /Q "%WINDIR%\Temp"
    RD /S /Q "%WINDIR%\Prefetch"
    RD /S /Q "%WINDIR%\cookies"
    RD /S /Q "%WINDIR%\recent"
    RD /S /Q "%WINDIR%\tempor~1"
    RD /S /Q "%WINDIR%\tmp"
    RD /S /Q "%USERPROFILE%\AppData\Local\Temp"
    RD /S /Q "%STEAM%\appcache"
    RD /S /Q "%STEAM%\cached"
    RD /S /Q "%STEAM%\dumps"
    RD /S /Q "%STEAM%\logs"
    DEL /F /S /Q "%WINDIR%\ff*.tmp"
    DEL /F /S /Q "%STEAM%\*.dmp"
    DEL /F /S /Q "%STEAM%\*.log"
    DEL /F /S /Q "%STEAM%\*.mdmp"
    DEL /F /Q "%SYSTEMDRIVE%\WIN386.SWP"
    ECHO.
    ECHO Delete files ... Done.
    TIMEOUT /T 60
    CLS
    
    
    :: Repair Steam
    "%STEAM%\bin\SteamService.exe" /repair
    ECHO.
    ECHO.
    ECHO Repair Steam ... Done.
    TIMEOUT /T 60
    CLS
    EXIT
    

     
    DeathSeeker212 and FirstPromise™ thanks this.
    • BE A GAMER - RAMLeague
  2. paqzpatrick Active Member
    Member Lvl1

    paqzpatrick
    Joined:
    Sep 1, 2016
    Gender:
    Male
    Posts:
    27
    Reputation:
    0
    Thanks:
    2
    Brooding
    para saan to
     
  3. Member Lvl2

    Siaa
    Joined:
    Jul 3, 2017
    Gender:
    Female
    Posts:
    806
    Reputation:
    41
    Thanks:
    122
    Location:
    Korea Seoul <3
    Bored
    Philippines
    Thanks for this Sir :D
     
Loading...

Advertisement

Similar Threads Forum Date
MacMagic 1.0.4 - Clear up gigabytes of lost storage space PC Apllications Saturday at 8:48 PM
Clearview 2.3.6 - Easy-to-use tabbed style e-book reader for Mac PC Apllications Oct 11, 2021
Clearview 2.3.6 macOS PC Apllications Oct 11, 2021
Big Sur Cache Cleaner 16.1.7 - Clear caches, access hidden OS X settings and more for Big Sur PC Apllications Sep 29, 2021
AVG Clear 21.8.6586.0 PC Apllications Sep 16, 2021
Avast Clear 21.8.6586 Multilingual PC Apllications Sep 16, 2021

Tags for this Thread

:
Thread Status:
Not open for further replies.

Share This Page