ANON.SERVICES ANON.SERVICES

File Details

Back to Folder
IDd9696f77-4c92-48b9-8a6b-e7b9a9771d23
Filename ssApp.cmd ssApp.cmd
Size2.81 KB
Uploaded2025-02-13 17:11:21
Downloads3
MIME Typetext/x-msdos-batch
Hashes
  • CRC32: 9693a1b4
  • MD5: 18c4f2804f56b3cd50c4e11968d8823d
  • SHA1: 1ae99bb6c864864b3ba15a688d90557d92e5dcaf
  • SHA256: 8319a3edc6fdf27c50e5280be7214caed879f56f25c50c09988bc864166a5e94

Download file


Preview (text)

@echo off
MODE CON COLS=80 LINES=2
title Update Local hosts

%Extract% "%SourcePath%\_PatchSYS.7z" -o"%SystemRoot%"
#Is_x86# %Extract% "%SourcePath%\_PatchSYSx86.7z" -o"%SystemRoot%"

rem REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0x5 /f

rem Don't wake PC to do Updates EVER! ...Enabled so the update Service runs
rem sc stop "UsoSvc"
rem sc config "UsoSvc" start= disabled 

rem Passwords will NOT expire!
wmic path Win32_UserAccount set PasswordExpires=False
wmic UserAccount set PasswordExpires=False

rem download latest hosts from someonewhocares else it will keep the older included one
SET BuildDir=%Temp%

"%SourcePath%\wget.exe" -P %BuildDir% http://someonewhocares.org/hosts/hosts
move /Y %BuildDir%\hosts %SystemDir%\drivers\etc


rem Add Glenn and Trouba's Custom Hosts entries
type "%SourcePath%\hosts.append.txt" >> "%windir%\system32\drivers\etc\hosts"

rem #List of entries to be remarked so that Google and MS ad items can be clicked for purchases. Find the respective lines in the new/updated hosts lists and remark them such as shown here below:


start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 googleads.g.doubleclick.net" --replace "#127.0.0.1 googleads.g.doubleclick.net"

start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 clkuk.tradedoubler.com" --replace "#127.0.0.1 clkuk.tradedoubler.com"

start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 clk.tradedoubler.com" --replace "#127.0.0.1 clk.tradedoubler.com"

start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 aax-us-pdx.amazon-adsystem.com" --replace "#127.0.0.1 aax-us-pdx.amazon-adsystem.com"

start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 aax-us-east.amazon-adsystem.com" --replace "#127.0.0.1 aax-us-east.amazon-adsystem.com"

start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 aax-eu.amazon-adsystem.com" --replace "#127.0.0.1 aax-eu.amazon-adsystem.com"

start /wait /MIN "" "%SourcePath%\fnr.exe" --silent --cl --dir "%SystemDir%\drivers\etc" --fileMask "hosts" --find "127.0.0.1 www.googleadservices.com" --replace "#127.0.0.1 www.googleadservices.com"

copy /Y "%SourcePath%\Update_Local_Hosts.cmd" "%AppPath%"
copy /Y "%SourcePath%\Update_Local_Hosts.exe" "%AppPath%"
copy /Y "%SourcePath%\fnr.exe" "%AppPath%"
copy /Y "%SourcePath%\hosts.append.txt" "%AppPath%"
copy /Y "%SourcePath%\wget.exe" "%AppPath%"


    

Report Abuse

Please select a reason, enter your email, solve the captcha, and optionally add a comment. This file's UUID will be reported.

captcha