Guest User

Untitled

a guest
Sep 12th, 2015
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 11.36 KB | None | 0 0
  1. start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart
  2. start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart
  3. start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart
  4. start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart
  5. start /w wusa.exe /uninstall /kb:3068708 /quiet /norestart
  6. start /w wusa.exe /uninstall /kb:2902907 /quiet /norestart
  7. start /w wusa.exe /uninstall /kb:2976987 /quiet /norestart
  8. start /w wusa.exe /uninstall /kb:3075853 /quiet /norestart
  9. start /w wusa.exe /uninstall /kb:3065987 /quiet /norestart
  10. start /w wusa.exe /uninstall /kb:3050265 /quiet /norestart
  11.  
  12. rem Mise à jour vers windows 10
  13. start /w wusa.exe /uninstall /kb:3044374 /quiet /norestart
  14. start /w wusa.exe /uninstall /kb:3035583 /quiet /norestart
  15. start /w wusa.exe /uninstall /kb:2990214 /quiet /norestart
  16. start /w wusa.exe /uninstall /kb:2952664 /quiet /norestart
  17. start /w wusa.exe /uninstall /kb:3035583 /quiet /norestart
  18.  
  19. @echo Delete DiagTrack
  20. sc stop DiagTrack
  21. sc delete DiagTrack
  22.  
  23. @delete win10 keylogger
  24. sc stop dmwappushservice
  25. sc delete dmwappushservice
  26.  
  27. @echo Prevents Windows from automatically download files to prepare move to Windows 10
  28. reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableOSUpgrade  /t REG_DWORD /d 1 /f
  29.  
  30. @echo Disable notifications for upgrade to Windows 10
  31. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade" /v ReservationsAllowed  /t REG_DWORD /d 1 /f
  32.  
  33.  
  34. @echo Tâches qui épient et envoient les données je ne sais où
  35. schtasks /Change /tn "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /DISABLE
  36. schtasks /Change /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /DISABLE
  37. schtasks /Change /tn "\Microsoft\Windows\Customer Experience Improvement Program\BthSQM" /DISABLE
  38. schtasks /Change /tn "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /DISABLE
  39. schtasks /Change /tn "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /DISABLE
  40. schtasks /Change /tn "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /DISABLE
  41. schtasks /Change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /DISABLE
  42.  
  43.  
  44. pause
  45.  
  46. @echo IP automatiquement envoyee à Microsoft
  47. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NLaSvc\Parameters\Internet" /v EnableActiveProbing /t REG_DWORD /d 0 /f
  48.  
  49.  
  50.     echo Editing Hosts File
  51.    
  52.     FIND /C /I "telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  53.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  54.     FIND /C /I "vortex.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  55.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 vortex.data.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  56.     FIND /C /I "vortex-win.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  57.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 vortex-win.data.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  58.     FIND /C /I "telecommand.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  59.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 telecommand.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  60.     FIND /C /I "telecommand.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
  61.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net>>%WINDIR%\System32\drivers\etc\hosts
  62.     FIND /C /I "oca.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  63.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 oca.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  64.     FIND /C /I "oca.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
  65.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 oca.telemetry.microsoft.com.nsatc.net>>%WINDIR%\System32\drivers\etc\hosts
  66.     FIND /C /I "sqm.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  67.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 sqm.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  68.     FIND /C /I "sqm.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
  69.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net>>%WINDIR%\System32\drivers\etc\hosts
  70.     FIND /C /I "watson.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  71.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 watson.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  72.     FIND /C /I "watson.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
  73.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 watson.telemetry.microsoft.com.nsatc.net>>%WINDIR%\System32\drivers\etc\hosts
  74.     FIND /C /I "redir.metaservices.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  75.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 redir.metaservices.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  76.     FIND /C /I "choice.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  77.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 choice.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  78.     FIND /C /I "choice.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
  79.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 choice.microsoft.com.nsatc.net>>%WINDIR%\System32\drivers\etc\hosts
  80.     FIND /C /I "df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  81.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 df.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  82.     FIND /C /I "wes.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  83.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 wes.df.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  84.     FIND /C /I "reports.wes.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  85.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 reports.wes.df.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  86.     FIND /C /I "services.wes.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  87.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 services.wes.df.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  88.     FIND /C /I "sqm.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  89.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 sqm.df.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  90.     FIND /C /I "watson.ppe.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  91.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 watson.ppe.telemetry.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  92.     FIND /C /I "telemetry.appex.bing.net" %WINDIR%\system32\drivers\etc\hosts
  93.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 telemetry.appex.bing.net>>%WINDIR%\System32\drivers\etc\hosts
  94.     FIND /C /I "telemetry.urs.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  95.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 telemetry.urs.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  96.     FIND /C /I "telemetry.appex.bing.net:443" %WINDIR%\system32\drivers\etc\hosts
  97.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 telemetry.appex.bing.net:443>>%WINDIR%\System32\drivers\etc\hosts
  98.     FIND /C /I "settings-sandbox.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  99.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 settings-sandbox.data.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  100.     FIND /C /I "vortex-sandbox.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  101.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 vortex-sandbox.data.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  102.     FIND /C /I "watson.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  103.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 watson.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  104.     FIND /C /I "survey.watson.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  105.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 survey.watson.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  106.     FIND /C /I "watson.live.com" %WINDIR%\system32\drivers\etc\hosts
  107.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 watson.live.com>>%WINDIR%\System32\drivers\etc\hosts
  108.     FIND /C /I "statsfe2.ws.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  109.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 statsfe2.ws.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  110.     FIND /C /I "corpext.msitadfs.glbdns2.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  111.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  112.     FIND /C /I "compatexchange.cloudapp.net" %WINDIR%\system32\drivers\etc\hosts
  113.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 compatexchange.cloudapp.net>>%WINDIR%\System32\drivers\etc\hosts
  114.     FIND /C /I "cs1.wpc.v0cdn.net" %WINDIR%\system32\drivers\etc\hosts
  115.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 cs1.wpc.v0cdn.net>>%WINDIR%\System32\drivers\etc\hosts
  116.     FIND /C /I "a-0001.a-msedge.net" %WINDIR%\system32\drivers\etc\hosts
  117.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 a-0001.a-msedge.net>>%WINDIR%\System32\drivers\etc\hosts
  118.     FIND /C /I "fe2.update.microsoft.com.akadns.net" %WINDIR%\system32\drivers\etc\hosts
  119.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 fe2.update.microsoft.com.akadns.net>>%WINDIR%\System32\drivers\etc\hosts
  120.     FIND /C /I "statsfe2.update.microsoft.com.akadns.net" %WINDIR%\system32\drivers\etc\hosts
  121.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 statsfe2.update.microsoft.com.akadns.net>>%WINDIR%\System32\drivers\etc\hosts
  122.     FIND /C /I "sls.update.microsoft.com.akadns.net" %WINDIR%\system32\drivers\etc\hosts
  123.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 sls.update.microsoft.com.akadns.net>>%WINDIR%\System32\drivers\etc\hosts
  124.     FIND /C /I "diagnostics.support.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  125.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 diagnostics.support.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  126.     FIND /C /I "corp.sts.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  127.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 corp.sts.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  128.     FIND /C /I "statsfe1.ws.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  129.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 statsfe1.ws.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  130.     FIND /C /I "pre.footprintpredict.com" %WINDIR%\system32\drivers\etc\hosts
  131.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 pre.footprintpredict.com>>%WINDIR%\System32\drivers\etc\hosts
  132.     FIND /C /I "i1.services.social.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  133.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 i1.services.social.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  134.     FIND /C /I "i1.services.social.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
  135.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 i1.services.social.microsoft.com.nsatc.net>>%WINDIR%\System32\drivers\etc\hosts
  136.     FIND /C /I "feedback.windows.com" %WINDIR%\system32\drivers\etc\hosts
  137.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 feedback.windows.com>>%WINDIR%\System32\drivers\etc\hosts
  138.     FIND /C /I "feedback.microsoft-hohm.com" %WINDIR%\system32\drivers\etc\hosts
  139.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 feedback.microsoft-hohm.com>>%WINDIR%\System32\drivers\etc\hosts
  140.     FIND /C /I "feedback.search.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
  141.     IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^0.0.0.0 feedback.search.microsoft.com>>%WINDIR%\System32\drivers\etc\hosts
  142.  
  143.  
  144.     pause
Advertisement
Add Comment
Please, Sign In to add comment