remove telemetry in w8.1 and windows 7

Discussion in 'other software & services' started by mantra, Feb 26, 2016.

  1. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,120
  2. trott3r

    trott3r Registered Member

    Joined:
    Jan 21, 2010
    Posts:
    829
    Location:
    UK
    I would like to know as well.
     
  3. trott3r

    trott3r Registered Member

    Joined:
    Jan 21, 2010
    Posts:
    829
    Location:
    UK
    Looking at the thread on github there are some more to add to the script
     
  4. liba

    liba Registered Member

    Joined:
    Jan 21, 2016
    Posts:
    76
    Last edited by a moderator: Feb 26, 2016
  5. TS4H

    TS4H Registered Member

    Joined:
    Nov 5, 2013
    Posts:
    512
    Location:
    Australia
  6. TS4H

    TS4H Registered Member

    Joined:
    Nov 5, 2013
    Posts:
    512
    Location:
    Australia
    You can also run this It will help against some scheduled tasks and adds some telemetry addresses to your host.
    Code:
    
    echo Disabling data collecting and reporting tasks
    schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISABLE > NUL 2> NUL
    schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /DISABLE > NUL 2> NUL
    schtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /DISABLE > NUL 2> NUL
    
    schtasks /Change /TN "\Microsoft\Windows\Autochk\Proxy" /DISABLE > NUL 2> NUL
    
    schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /DISABLE > NUL 2> NUL
    schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /DISABLE > NUL 2> NUL
    schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /DISABLE > NUL 2> NUL
    
    schtasks /Change /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /DISABLE > NUL 2> NUL
    
    schtasks /Change /TN "\Microsoft\Windows\Maintenance\WinSAT" /DISABLE > NUL 2> NUL
    
    echo Disabling "Get Windows 10" application and automatic updates
    REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx /v DisableGwx /t REG_DWORD /d 00000001 /f
    REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade /v ReservationsAllowed  /t REG_DWORD /d 00000000 /f
    
    rem It has effect only with 3065987 or 3065988 updates installed
    REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v DisableOSUpgrade /t REG_DWORD /d 00000001 /f
    
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\Logon-5d" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\Logon-10s" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\MachineUnlock-5d" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\MachineUnlock-10s" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\OutOfIdle-5d" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\OutOfIdle-10s" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\OutOfSleep-5d" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\OutOfSleep-10s" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\Time-5d" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\Time-10s" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\refreshgwxconfig-B" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\GWXTriggers\Telemetry-4xd" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfigandcontent" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\gwx\launchtrayprocess" /DISABLE  > NUL 2> NUL
    schtasks /CHANGE /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig" /DISABLE  > NUL 2> NUL
    
    echo Disabling Microsoft telemetry sites in hosts file
    SET HOSTS="%SystemRoot%\system32\drivers\etc\hosts"
    echo. >> %HOSTS%
    
    type %HOSTS% | findstr /I "131.107.255.255" > NUL || echo 127.0.0.1    131.107.255.255 >> %HOSTS%
    type %HOSTS% | findstr /I "134.170.30.202" > NUL || echo 127.0.0.1    134.170.30.202 >> %HOSTS%
    type %HOSTS% | findstr /I "137.116.81.24" > NUL || echo 127.0.0.1    137.116.81.24 >> %HOSTS%
    type %HOSTS% | findstr /I "204.79.197.200" > NUL || echo 127.0.0.1    204.79.197.200 >> %HOSTS%
    type %HOSTS% | findstr /I "23.218.212.69" > NUL || echo 127.0.0.1    23.218.212.69 >> %HOSTS%
    type %HOSTS% | findstr /I "65.39.117.230" > NUL || echo 127.0.0.1    65.39.117.230 >> %HOSTS%
    type %HOSTS% | findstr /I "65.55.108.23" > NUL || echo 127.0.0.1    65.55.108.23 >> %HOSTS%
    type %HOSTS% | findstr /I "a-0001.a-msedge.net" > NUL || echo 127.0.0.1    a-0001.a-msedge.net >> %HOSTS%
    type %HOSTS% | findstr /I "choice.microsoft.com" > NUL || echo 127.0.0.1    choice.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "choice.microsoft.com.nsatc.net" > NUL || echo 127.0.0.1    choice.microsoft.com.nsatc.net >> %HOSTS%
    type %HOSTS% | findstr /I "compatexchange.cloudapp.net" > NUL || echo 127.0.0.1    compatexchange.cloudapp.net >> %HOSTS%
    type %HOSTS% | findstr /I "corp.sts.microsoft.com" > NUL || echo 127.0.0.1    corp.sts.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "corpext.msitadfs.glbdns2.microsoft.com" > NUL || echo 127.0.0.1    corpext.msitadfs.glbdns2.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "cs1.wpc.v0cdn.net" > NUL || echo 127.0.0.1    cs1.wpc.v0cdn.net >> %HOSTS%
    type %HOSTS% | findstr /I "df.telemetry.microsoft.com" > NUL || echo 127.0.0.1    df.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "diagnostics.support.microsoft.com" > NUL || echo 127.0.0.1    diagnostics.support.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "dns.msftncsi.com" > NUL || echo 127.0.0.1    dns.msftncsi.com >> %HOSTS%
    type %HOSTS% | findstr /I "fe2.update.microsoft.com.akadns.net" > NUL || echo 127.0.0.1    fe2.update.microsoft.com.akadns.net >> %HOSTS%
    type %HOSTS% | findstr /I "feedback.microsoft-hohm.com" > NUL || echo 127.0.0.1    feedback.microsoft-hohm.com >> %HOSTS%
    type %HOSTS% | findstr /I "feedback.search.microsoft.com" > NUL || echo 127.0.0.1    feedback.search.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "feedback.windows.com" > NUL || echo 127.0.0.1    feedback.windows.com >> %HOSTS%
    type %HOSTS% | findstr /I "i1.services.social.microsoft.com" > NUL || echo 127.0.0.1    i1.services.social.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "i1.services.social.microsoft.com.nsatc.net" > NUL || echo 127.0.0.1    i1.services.social.microsoft.com.nsatc.net >> %HOSTS%
    type %HOSTS% | findstr /I "oca.telemetry.microsoft.com" > NUL || echo 127.0.0.1    oca.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "oca.telemetry.microsoft.com.nsatc.net" > NUL || echo 127.0.0.1    oca.telemetry.microsoft.com.nsatc.net >> %HOSTS%
    type %HOSTS% | findstr /I "pre.footprintpredict.com" > NUL || echo 127.0.0.1    pre.footprintpredict.com >> %HOSTS%
    type %HOSTS% | findstr /I "redir.metaservices.microsoft.com" > NUL || echo 127.0.0.1    redir.metaservices.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "reports.wes.df.telemetry.microsoft.com" > NUL || echo 127.0.0.1    reports.wes.df.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "services.wes.df.telemetry.microsoft.com" > NUL || echo 127.0.0.1    services.wes.df.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "settings-sandbox.data.microsoft.com" > NUL || echo 127.0.0.1    settings-sandbox.data.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "sls.update.microsoft.com.akadns.net" > NUL || echo 127.0.0.1    sls.update.microsoft.com.akadns.net >> %HOSTS%
    type %HOSTS% | findstr /I "sqm.df.telemetry.microsoft.com" > NUL || echo 127.0.0.1    sqm.df.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "sqm.telemetry.microsoft.com" > NUL || echo 127.0.0.1    sqm.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "sqm.telemetry.microsoft.com.nsatc.net" > NUL || echo 127.0.0.1    sqm.telemetry.microsoft.com.nsatc.net >> %HOSTS%
    type %HOSTS% | findstr /I "statsfe1.ws.microsoft.com" > NUL || echo 127.0.0.1    statsfe1.ws.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "statsfe2.update.microsoft.com.akadns.net" > NUL || echo 127.0.0.1    statsfe2.update.microsoft.com.akadns.net >> %HOSTS%
    type %HOSTS% | findstr /I "statsfe2.ws.microsoft.com" > NUL || echo 127.0.0.1    statsfe2.ws.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "survey.watson.microsoft.com" > NUL || echo 127.0.0.1    survey.watson.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "telecommand.telemetry.microsoft.com" > NUL || echo 127.0.0.1    telecommand.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "telecommand.telemetry.microsoft.com.nsatc.net" > NUL || echo 127.0.0.1    telecommand.telemetry.microsoft.com.nsatc.net >> %HOSTS%
    type %HOSTS% | findstr /I "telemetry.appex.bing.net" > NUL || echo 127.0.0.1    telemetry.appex.bing.net >> %HOSTS%
    type %HOSTS% | findstr /I "telemetry.appex.bing.net:443" > NUL || echo 127.0.0.1    telemetry.appex.bing.net:443 >> %HOSTS%
    type %HOSTS% | findstr /I "telemetry.urs.microsoft.com" > NUL || echo 127.0.0.1    telemetry.urs.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "vortex-sandbox.data.microsoft.com" > NUL || echo 127.0.0.1    vortex-sandbox.data.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "vortex-win.data.microsoft.com" > NUL || echo 127.0.0.1    vortex-win.data.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "vortex.data.microsoft.com" > NUL || echo 127.0.0.1    vortex.data.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "watson.live.com" > NUL || echo 127.0.0.1    watson.live.com >> %HOSTS%
    type %HOSTS% | findstr /I "watson.ppe.telemetry.microsoft.com" > NUL || echo 127.0.0.1    watson.ppe.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "watson.telemetry.microsoft.com" > NUL || echo 127.0.0.1    watson.telemetry.microsoft.com >> %HOSTS%
    type %HOSTS% | findstr /I "watson.telemetry.microsoft.com.nsatc.net" > NUL || echo 127.0.0.1    watson.telemetry.microsoft.com.nsatc.net >> %HOSTS%
    
    echo Done.
    
    
     
  7. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,120
  8. TheWindBringeth

    TheWindBringeth Registered Member

    Joined:
    Feb 29, 2012
    Posts:
    2,084
    Notice <!doctype html> at the top... save it as a .html file. Open in browser. It just *displays* some notes/links which might be useful. KB2952664 appears to be a Windows 7 update.
     
  9. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    5,632
    Location:
    U.S.A. (South)
  10. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,120
    hi
    ahh i got it
    i would like a bat that can check for unwanted update and asks me to uninstall them or leave
    in short a checker + remover
    thanks
     
  11. TheWindBringeth

    TheWindBringeth Registered Member

    Joined:
    Feb 29, 2012
    Posts:
    2,084
    Last edited: Feb 28, 2016
Loading...