SHARE
TWEET

Batch file to disable NVidia telemetry

a guest Nov 10th, 2016 151 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. net session >nul 2>&1
  4. if not errorlevel 1 goto :BEGIN
  5. echo ERROR: Administrator Privileges Requred
  6. pause
  7. exit
  8.  
  9. :BEGIN
  10.  
  11. schtasks /change /TN "NvTmMon_{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}" /disable
  12. schtasks /change /TN "NvTmRep_{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}" /disable
  13. schtasks /change /TN "NvTmRepOnLogon_{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}" /disable
  14.  
  15. set "FOUT=%SystemRoot%\System32\drivers\etc\hosts"
  16. set "ADDR=gfswl.geforce.com,gfe.geforce.com,telemetry.nvidia.com,gfe.nvidia.com,telemetry.gfe.nvidia.com,events.gfe.nvidia.com"
  17.  
  18. for %%G in (%ADDR%) do (
  19. findstr /I "%%~G" "%FOUT%" >nul 2>&1
  20. if errorlevel 1 (
  21. echo.127.0.0.1       %%~G>>"%FOUT%"
  22. echo.::1             %%~G>>"%FOUT%"
  23. )
  24. )
  25.  
  26. pause
RAW Paste Data
Top