Skip to content

Instantly share code, notes, and snippets.

@tleach
Forked from DylanLacey/prerun.bat
Last active August 29, 2015 14:12
Show Gist options
  • Save tleach/df9d54799a4bb1388679 to your computer and use it in GitHub Desktop.
Save tleach/df9d54799a4bb1388679 to your computer and use it in GitHub Desktop.
echo 127.0.0.0 pagead2.googlesyndication.com >> %WINDIR%\System32\Drivers\Etc\Hosts
echo 127.0.0.0 googleads.g.doubleclick.net >> %WINDIR%\System32\Drivers\Etc\Hosts
echo 127.0.0.0 google.com >> %WINDIR%\System32\Drivers\Etc\Hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment