Windows 10 tnbt the next big tweak

A site dedicated to various tips & tricks that we've come by in one way or another.

AIO tweak script for Windows 10
Author: SEBASTIAN KOEHLING
TNBT is a big collection of tweaks for Windows 10 Build 10240 RTM, all combined into one .cmd script.

Features:
— Disable telemetry and data collecting
— Disable or uninstall OneDrive
— Uninstall default Windows Apps
— Replace Utilman with Sys-Admin CMD on Lockscreen (optional)
— Disable Quick Access as default view in Explorer
— Block Telemetry servers via hosts file
— Disable Cortana / Bing Search and Searchbar
— Disable unnecessary services
— Disable unnecessary scheduled tasks
— Enable the classic vertical icon spacing on desktop
— Remove versioning tab from properties
— Enable classic control panel view
— Disable lockscreen
— Indicate compressed NTFS files
— Change Logon screen background with accent color
— Show file extensions
— Disable jump lists
— Internet Explorer 11 tweaks
— Disable Windows Update sharing

Download (v1.7):

Notes:
— Run the .cmd as administrator
— To block the telemetry servers via hosts file, you should temporarily disable your AV/Firewall
— Some changes might need a restart
— There is no proper way to reinstall default apps. You’ll have to create a new user profile to undo this.

v1.7
— Disable Windows Search *UPDATED*
— Disable Windows Defender *UPDATED*
— Disable OneDrive *UPDATED*
— Indication for NTFS files *FIXED*
— Hide Searchbar *FIXED*
— Added option to disable hibernation
— Added option to disable automatic Windows Updates
— Added option to disable Windows Error Reporting
v1.6
— Added a removal script
v1.5
— Remove Pin to start *UPDATED*
— Option to disable Windows Defender
— Remove windows default apps *FIXED*
— Corrected a typo
v1.4
— Added options for all tweaks
— Disable Windows Update sharing
— Fixed hosts file injection
— Added option to disable OneDrive
— Remove windows default apps *UPDATED*
v1.3
— Remove versioning tab from properties
— Remove telemetry and data collection *UPDATED*
— Disable jump lists
v1.2 initial public release

Source: Here!

Script:

    @ECHO OFF
    COLOR 1F
    SET V=1.7
    TITLE Windows 10 TNBT: The Next Big Tweak v%V% (x64)
    ECHO #########################################################
    ECHO #                                                       #
    ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
    ECHO #                                                       #
    ECHO #  CURRENT REVISION: %V%                                #
    ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
    ECHO #                                                       #
    ECHO #########################################################
     
    REM ======================= Registry tweaks =======================
    ECHO.
    :regstart
    set /p registry=»Apply registry tweaks? y/n: «
    if ‘%registry%’ == ‘n’ goto servstart
    if /i «%registry%» neq «y» goto regstart
     
    :reg0start
    set /p reg0=»Replace Utilman with CMD? y/n: «
    if ‘%reg0%’ == ‘n’ goto reg1start
    if /i «%reg0%» neq «y» goto reg0start
    reg add «HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsutilman.exe» /v «Debugger» /t REG_SZ /d «cmd.exe» /f > NUL 2>&1
     
    :reg1start
    set /p reg1=»Disable Quick Access as default view in Explorer? y/n: «
    if ‘%reg1%’ == ‘n’ goto reg2start
    if /i «%reg1%» neq «y» goto reg1start
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /f /v «LaunchTo» /t REG_DWORD /d 0 > NUL 2>&1
     
    :reg2start
    set /p reg2=»Show computer shortcut on desktop? y/n: «
    if ‘%reg2%’ == ‘n’ goto reg3start
    if /i «%reg2%» neq «y» goto reg2start
    reg add «HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel» /v «{20D04FE0-3AEA-1069-A2D8-08002B30309D}» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    :reg3start
    set /p reg3=»Show file extensions? y/n: «
    if ‘%reg3%’ == ‘n’ goto reg4start
    if /i «%reg3%» neq «y» goto reg3start
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /v «HideFileExt» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    :reg4start
    set /p reg4=»Disable lockscreen? y/n: «
    if ‘%reg4%’ == ‘n’ goto reg5start
    if /i «%reg4%» neq «y» goto reg4start
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsPersonalization» /v «NoLockScreen» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg5start
    set /p reg5=»Enable classic control panel view? y/n: «
    if ‘%reg5%’ == ‘n’ goto reg6start
    if /i «%reg5%» neq «y» goto reg5start
    reg add «HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer» /v «ForceClassicControlPanel» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg6start
    set /p reg6=»Hide indication for compressed NTFS files? y/n: «
    if ‘%reg6%’ == ‘n’ goto reg7start
    if /i «%reg6%» neq «y» goto reg6start
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /v «ShowCompColor» /t RED_DWORD /d 0 /f > NUL 2>&1
     
    :reg7start
    set /p reg7=»Disable Windows Update sharing? y/n: «
    if ‘%reg7%’ == ‘n’ goto reg8start
    if /i «%reg7%» neq «y» goto reg7start
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig» /v «DownloadMode» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig» /v «DODownloadMode» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    :reg8start
    set /p reg8=»Remove Pin to start? y/n: «
    if ‘%reg8%’ == ‘n’ goto reg9start
    if /i «%reg8%» neq «y» goto reg8start
    reg delete «HKEY_CLASSES_ROOTexefileshellexContextMenuHandlersPintoStartScreen» /f > NUL 2>&1
    reg delete «HKEY_CLASSES_ROOTFoldershellexContextMenuHandlersPintoStartScreen» /f > NUL 2>&1
    reg delete «HKEY_CLASSES_ROOTmscfileshellexContextMenuHandlersPintoStartScreen» /f > NUL 2>&1
     
    :reg9start
    set /p reg9=»Classic vertical icon spacing? y/n: «
    if ‘%reg9%’ == ‘n’ goto reg10start
    if /i «%reg9%» neq «y» goto reg9start
    reg add «HKCUControl PanelDesktopWindowMetrics» /v «IconVerticalSpacing» /t REG_SZ /d «-1150» /f > NUL 2>&1
     
    :reg10start
    set /p reg10=»Remove versioning tab from properties? y/n: «
    if ‘%reg10%’ == ‘n’ goto reg11start
    if /i «%reg10%» neq «y» goto reg10start
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorer» /v NoPreviousVersionsPage /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg11start
    set /p reg11=»Disable jump lists? y/n: «
    if ‘%reg11%’ == ‘n’ goto reg12start
    if /i «%reg11%» neq «y» goto reg11start
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /v «Start_TrackDocs» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    :reg12start
    set /p reg12=»Remove telemetry and data collection? y/n: «
    if ‘%reg12%’ == ‘n’ goto reg13start
    if /i «%reg12%» neq «y» goto reg12start
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionDevice Metadata» /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection» /v «AllowTelemetry» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMSOFTWAREPoliciesMicrosoftMRT» /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKLMSOFTWAREPoliciesMicrosoftSQMClientWindows» /v «CEIPEnable» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsAppCompat» /v «AITEnable» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsAppCompat» /v «DisableUAR» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsDataCollection» /v «AllowTelemetry» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0» /v «f!dss-winrt-telemetry.js» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0» /v «f!proactive-telemetry.js» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0» /v «f!proactive-telemetry-event_8ac43a41e5030538» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0» /v «f!proactive-telemetry-inter_58073761d33f144b» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    :reg13start
    set /p reg13=»Apply Internet Explorer 11 tweaks? y/n: «
    if ‘%reg13%’ == ‘n’ goto reg14start
    if /i «%reg13%» neq «y» goto reg13start
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «DoNotTrack» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «Search Page» /t REG_SZ /d «http://www.google.de» /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «Start Page Redirect Cache» /t REG_SZ /d «http://www.google.de» /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «DisableFirstRunCustomize» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceHasShown» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceComplete» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKLMSOFTWAREMicrosoftInternet ExplorerMain» /v «DisableFirstRunCustomize» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKLMSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceHasShown» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKLMSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceComplete» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain» /v «DisableFirstRunCustomize» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain» /v «RunOnceHasShown» /t REG_DWORD /d 1 /f > NUL 2>&1
    reg add «HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain» /v «RunOnceComplete» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg14start
    set /p reg14=»Disable Cortana, Bing Search and Searchbar? y/n: «
    if ‘%reg14%’ == ‘n’ goto reg15start
    if /i «%reg14%» neq «y» goto reg14start
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Search» /v «AllowCortana» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch» /v «CortanaEnabled» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch» /v «SearchboxTaskbarMode» /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch» /v «BingSearchEnabled» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    :reg15start
    set /p reg15=»Change Logon screen background with accent color? y/n: «
    if ‘%reg15%’ == ‘n’ goto reg16start
    if /i «%reg15%» neq «y» goto reg15start
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsSystem» /v «DisableLogonBackgroundImage» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg16start
    set /p reg16=»Disable Windows Error Reporting? y/n: «
    if ‘%reg16%’ == ‘n’ goto reg17start
    if /i «%reg16%» neq «y» goto reg16start
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Error Reporting» /v «Disabled» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg17start
    set /p reg17=»Disable automatic Windows Updates? y/n: «
    if ‘%reg17%’ == ‘n’ goto reg18start
    if /i «%reg17%» neq «y» goto reg17start
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update» /v «AUOptions» /t REG_DWORD /d 2 /f > NUL 2>&1
     
    :reg18start
    set /p reg18=»Disable Hibernation? y/n: «
    if ‘%reg18%’ == ‘n’ goto servstart
    if /i «%reg18%» neq «y» goto reg18start
    reg add «HKLMSYSTEMCurrentControlSetControlSession ManagerPower» /v «HiberbootEnabled» /t REG_DWORD /d 0 /f > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Removing services =======================
    ECHO.
    :servstart
    set /p services=»Apply services tweaks? y/n: «
    if ‘%services%’ == ‘n’ goto schedstart
    if /i «%services%» neq «n» if /i «%services%» neq «y» goto servstart
     
    :serv0start
    set /p serv0=»Disable tracking services? y/n: «
    if ‘%serv0%’ == ‘n’ goto serv1start
    if /i «%serv0%» neq «y» goto serv0start
    sc config DiagTrack start= disabled > NUL 2>&1
    sc config diagnosticshub.standardcollector.service start= disabled > NUL 2>&1
    sc config TrkWks start= disabled > NUL 2>&1
    sc config WMPNetworkSvc start= disabled > NUL 2>&1
     
    :serv1start
    set /p serv1=»Disable WAP Push Message Routing Service? y/n: «
    if ‘%serv1%’ == ‘n’ goto serv2start
    if /i «%serv1%» neq «y» goto serv1start
    sc config dmwappushservice start= disabled > NUL 2>&1
     
    :serv2start
    set /p serv2=»Disable Windows Search? y/n: «
    if ‘%serv2%’ == ‘n’ goto serv3start
    if /i «%serv2%» neq «y» goto serv2start
    sc config WSearch start= disabled > NUL 2>&1
    del «C:ProgramDataMicrosoftSearchDataApplicationsWindowsWindows.edb» /s > NUL 2>&1
     
    :serv3start
    set /p serv3=»Disable Superfetch? y/n: «
    if ‘%serv3%’ == ‘n’ goto serv4start
    if /i «%serv3%» neq «y» goto serv3start
    sc config SysMain start= disabled > NUL 2>&1
     
    :serv4start
    set /p serv4=»Disable Windows Defender? y/n: «
    if ‘%serv4%’ == ‘n’ goto schedstart
    if /i «%serv4%» neq «y» goto serv4start
    sc config WinDefend start= disabled > NUL 2>&1
    sc config WdNisSvc start= disabled > NUL 2>&1
    reg add «HKLMSOFTWAREPoliciesMicrosoftWindows Defender» /v «DisableAntiSpyware» /t REG_DWORD /d 1 /f > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Cache Maintenance» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Cleanup» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Scheduled Scan» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Verification» /Disable > NUL 2>&1
    del «C:ProgramDataMicrosoftWindows DefenderScansmpcache*» /s > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Removing scheduled tasks =======================
    ECHO.
    :schedstart
    set /p schedules=»Disable unnecessary scheduled tasks? y/n: «
    if ‘%schedules%’ == ‘n’ goto winappstart
    if /i «%schedules%» neq «n» if /i «%schedules%» neq «y» goto schedstart
     
    schtasks /Change /TN «MicrosoftWindowsAppIDSmartScreenSpecific» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsApplication ExperienceMicrosoft Compatibility Appraiser» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsCustomer Experience Improvement ProgramConsolidator» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsCustomer Experience Improvement ProgramKernelCeipTask» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsCustomer Experience Improvement ProgramUsbCeip» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsDiskDiagnosticMicrosoft-Windows-DiskDiagnosticDataCollector» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsNetTraceGatherNetworkInfo» /Disable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows Error ReportingQueueReporting» /Disable > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Removing Windows default apps =======================
    ECHO.
    :winappstart
    set /p winapps=»Remove windows default apps? y/n: «
    if ‘%winapps%’ == ‘n’ goto odrivestart
    if /i «%winapps%» neq «n» if /i «%winapps%» neq «y» goto winappstart
     
    powershell «Get-AppxPackage *3d* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *bing* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *zune* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *photo* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *communi* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *solit* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *phone* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *soundrec* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *camera* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *people* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *office* | Remove-AppxPackage» > NUL 2>&1
    powershell «Get-AppxPackage *xbox* | Remove-AppxPackage» > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Disable / Remove OneDrive =======================
    ECHO.
    :odrivestart
    set /p onedrive=»Disable OneDrive? y/n: «
    if ‘%onedrive%’ == ‘n’ goto hoststart
    if /i «%onedrive%» neq «y» goto odrivestart
    reg add «HKLMSoftwarePoliciesMicrosoftWindowsOneDrive» /v DisableFileSyncNGSC /t REG_DWORD /d 1 /f > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Blocking Telemetry Servers =======================
    ECHO.
    :hoststart
    set /p hostsblock=»Block Windows telemetry servers? y/n: «
    if ‘%hostsblock%’ == ‘n’ goto finish
    if /i «%hostsblock%» neq «n» if /i «%hostsblock%» neq «y» goto hoststart
     
    copy «%WINDIR%system32driversetchosts» «%WINDIR%system32driversetchosts.bak» > NUL 2>&1
    attrib -r «%WINDIR%system32driversetchosts» > NUL 2>&1
    FIND /C /I «vortex.data.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex.data.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «vortex-win.data.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex-win.data.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «telecommand.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telecommand.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «telecommand.telemetry.microsoft.com.nsatc.net» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
    FIND /C /I «oca.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 oca.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «oca.telemetry.microsoft.com.nsatc.net» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 oca.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
    FIND /C /I «sqm.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «sqm.telemetry.microsoft.com.nsatc.net» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
    FIND /C /I «watson.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «watson.telemetry.microsoft.com.nsatc.net» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
    FIND /C /I «redir.metaservices.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 redir.metaservices.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «choice.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 choice.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «choice.microsoft.com.nsatc.net» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 choice.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
    FIND /C /I «df.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «reports.wes.df.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 reports.wes.df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «services.wes.df.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 services.wes.df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «sqm.df.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «watson.ppe.telemetry.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.ppe.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «telemetry.appex.bing.net» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.appex.bing.net>>%WINDIR%system32driversetchosts
    FIND /C /I «telemetry.urs.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.urs.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «telemetry.appex.bing.net:443» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.appex.bing.net:443>>%WINDIR%system32driversetchosts
    FIND /C /I «settings-sandbox.data.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 settings-sandbox.data.microsoft.com>>%WINDIR%system32driversetchosts
    FIND /C /I «vortex-sandbox.data.microsoft.com» %WINDIR%system32driversetchosts
    IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex-sandbox.data.microsoft.com>>%WINDIR%system32driversetchosts
    attrib +r «%WINDIR%system32driversetchosts» > NUL 2>&1
     
    :finish
    CLS
    ECHO #########################################################
    ECHO #                                                       #
    ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
    ECHO #                                                       #
    ECHO #  CURRENT REVISION: %V%                                #
    ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
    ECHO #                                                       #
    ECHO #########################################################
    ECHO.
    ECHO Installation complete.
    ECHO Press any key to exit.
    PAUSE > NUL

Revert:

    @ECHO OFF
    COLOR 1F
    SET V=1.7
    TITLE Windows 10 TNBT: The Next Big Tweak v%V% UNDO (x64)
    ECHO #########################################################
    ECHO #                                                       #
    ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
    ECHO #                                                       #
    ECHO #  CURRENT REVISION: %V%                                #
    ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
    ECHO #                                                       #
    ECHO #########################################################
     
    REM ======================= Undo Registry tweaks =======================
    ECHO.
    :regstart
    set /p registry=»Undo registry tweaks? y/n: «
    if ‘%registry%’ == ‘n’ goto servstart
    if /i «%registry%» neq «y» goto regstart
     
    :reg0start
    set /p reg0=»Recover Utilman? y/n: «
    if ‘%reg0%’ == ‘n’ goto reg1start
    if /i «%reg0%» neq «y» goto reg0start
    reg delete «HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsutilman.exe» /f > NUL 2>&1
     
    :reg1start
    set /p reg1=»Enable Quick Access as default view in Explorer? y/n: «
    if ‘%reg1%’ == ‘n’ goto reg2start
    if /i «%reg1%» neq «y» goto reg1start
    reg delete «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /f /v «LaunchTo» /t REG_DWORD /d 0 > NUL 2>&1
     
    :reg2start
    set /p reg2=»Hide computer shortcut on desktop? y/n: «
    if ‘%reg2%’ == ‘n’ goto reg3start
    if /i «%reg2%» neq «y» goto reg2start
    reg delete «HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel» /v «{20D04FE0-3AEA-1069-A2D8-08002B30309D}» /f > NUL 2>&1
     
    :reg3start
    set /p reg3=»Hide file extensions? y/n: «
    if ‘%reg3%’ == ‘n’ goto reg4start
    if /i «%reg3%» neq «y» goto reg3start
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /v «HideFileExt» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    :reg4start
    set /p reg4=»Enable lockscreen? y/n: «
    if ‘%reg4%’ == ‘n’ goto reg5start
    if /i «%reg4%» neq «y» goto reg4start
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindowsPersonalization» /f > NUL 2>&1
     
    :reg5start
    set /p reg5=»Disable classic control panel view? y/n: «
    if ‘%reg5%’ == ‘n’ goto reg6start
    if /i «%reg5%» neq «y» goto reg5start
    reg delete «HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer» /f > NUL 2>&1
     
    :reg6start
    set /p reg6=»Indicate compressed NTFS files? y/n: «
    if ‘%reg6%’ == ‘n’ goto reg7start
    if /i «%reg6%» neq «y» goto reg6start
    reg add «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /v «ShowCompColor» /t RED_DWORD /d 1 /f > NUL 2>&1
     
    :reg7start
    set /p reg7=»Enable Windows Update sharing? y/n: «
    if ‘%reg7%’ == ‘n’ goto reg8start
    if /i «%reg7%» neq «y» goto reg7start
    reg delete «HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig» /v «DownloadMode» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig» /v «DODownloadMode» /f > NUL 2>&1
     
    :reg8start
    set /p reg8=»Recover Pin to start? y/n: «
    if ‘%reg8%’ == ‘n’ goto reg9start
    if /i «%reg8%» neq «y» goto reg8start
    reg add «HKEY_CLASSES_ROOTexefileshellexContextMenuHandlersPintoStartScreen» /t REG_SZ /d «{470C0EBD-5D73-4d58-9CED-E91E22E23282}» /f > NUL 2>&1
    reg add «HKEY_CLASSES_ROOTFoldershellexContextMenuHandlersPintoStartScreen» /t REG_SZ /d «{470C0EBD-5D73-4d58-9CED-E91E22E23282}» /f > NUL 2>&1
    reg add «HKEY_CLASSES_ROOTmscfileshellexContextMenuHandlersPintoStartScreen» /t REG_SZ /d «{470C0EBD-5D73-4d58-9CED-E91E22E23282}» /f > NUL 2>&1
     
    :reg9start
    set /p reg9=»Recover vertical icon spacing? y/n: «
    if ‘%reg9%’ == ‘n’ goto reg10start
    if /i «%reg9%» neq «y» goto reg9start
    reg add «HKCUControl PanelDesktopWindowMetrics» /v «IconVerticalSpacing» /t REG_SZ /d «-1710» /f > NUL 2>&1
     
    :reg10start
    set /p reg10=»Enable versioning tab from properties? y/n: «
    if ‘%reg10%’ == ‘n’ goto reg11start
    if /i «%reg10%» neq «y» goto reg10start
    reg delete «HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorer» /v NoPreviousVersionsPage /f > NUL 2>&1
     
    :reg11start
    set /p reg11=»Enable jump lists? y/n: «
    if ‘%reg11%’ == ‘n’ goto reg12start
    if /i «%reg11%» neq «y» goto reg11start
    reg delete «HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced» /v «Start_TrackDocs» /f > NUL 2>&1
     
    :reg12start
    set /p reg12=»Enable telemetry and data collection? y/n: «
    if ‘%reg12%’ == ‘n’ goto reg13start
    if /i «%reg12%» neq «y» goto reg12start
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionDevice Metadata» /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add «HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection» /v «AllowTelemetry» /t REG_DWORD /d 3 /f > NUL 2>&1
    reg delete «HKLMSOFTWAREPoliciesMicrosoftMRT» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREPoliciesMicrosoftSQMClientWindows» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindowsAppCompat» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindowsDataCollection» /v «AllowTelemetry» /f > NUL 2>&1
    reg delete «HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0» /f > NUL 2>&1
     
    :reg13start
    set /p reg13=»Remove Internet Explorer 11 tweaks? y/n: «
    if ‘%reg13%’ == ‘n’ goto reg14start
    if /i «%reg13%» neq «y» goto reg13start
    reg delete «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «DoNotTrack» /f > NUL 2>&1
    reg add «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «Search Page» /t REG_SZ /d «http://go.microsoft.com/fwlink/?LinkId=54896» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «Start Page Redirect Cache» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «DisableFirstRunCustomize» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceHasShown» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceComplete» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREMicrosoftInternet ExplorerMain» /v «DisableFirstRunCustomize» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceHasShown» /f > NUL 2>&1
    reg delete «HKLMSOFTWAREMicrosoftInternet ExplorerMain» /v «RunOnceComplete» /f > NUL 2>&1
    reg delete «HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain» /v «DisableFirstRunCustomize» /f > NUL 2>&1
    reg delete «HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain» /v «RunOnceHasShown» /f > NUL 2>&1
    reg delete «HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain» /v «RunOnceComplete» /f > NUL 2>&1
     
    :reg14start
    set /p reg14=»Enable Cortana, Bing Search and Searchbar? y/n: «
    if ‘%reg14%’ == ‘n’ goto reg15start
    if /i «%reg14%» neq «y» goto reg14start
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Search» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch» /v «CortanaEnabled» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch» /v «SearchboxTaskbarMode» /f > NUL 2>&1
    reg delete «HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch» /v «BingSearchEnabled» /f > NUL 2>&1
     
    :reg15start
    set /p reg15=»Recover Logon screen background? y/n: «
    if ‘%reg15%’ == ‘n’ goto reg16start
    if /i «%reg15%» neq «y» goto reg15start
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindowsSystem» /v «DisableLogonBackgroundImage» /f > NUL 2>&1
     
    :reg16start
    set /p reg16=»Enable Windows Error Reporting? y/n: «
    if ‘%reg16%’ == ‘n’ goto reg17start
    if /i «%reg16%» neq «y» goto reg16start
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Error Reporting» /f > NUL 2>&1
     
    :reg17start
    set /p reg17=»Enable automatic Windows Updates? y/n: «
    if ‘%reg17%’ == ‘n’ goto reg18start
    if /i «%reg17%» neq «y» goto reg17start
    reg delete «HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update» /v «AUOptions» /f > NUL 2>&1
     
    :reg18start
    set /p reg18=»Enable Hibernation? y/n: «
    if ‘%reg18%’ == ‘n’ goto servstart
    if /i «%reg18%» neq «y» goto reg18start
    reg add «HKLMSYSTEMCurrentControlSetControlSession ManagerPower» /v «HiberbootEnabled» /t REG_DWORD /d 1 /f > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Enabling services =======================
    ECHO.
    :servstart
    set /p services=»Undo services tweaks? y/n: «
    if ‘%services%’ == ‘n’ goto schedstart
    if /i «%services%» neq «n» if /i «%services%» neq «y» goto servstart
     
    :serv0start
    set /p serv0=»Enable tracking services? y/n: «
    if ‘%serv0%’ == ‘n’ goto serv1start
    if /i «%serv0%» neq «y» goto serv0start
    sc config DiagTrack start= auto > NUL 2>&1
    sc config diagnosticshub.standardcollector.service start= auto > NUL 2>&1
    sc config TrkWks start= auto > NUL 2>&1
    sc config WMPNetworkSvc start= auto > NUL 2>&1
     
    :serv1start
    set /p serv1=»Enable WAP Push Message Routing Service? y/n: «
    if ‘%serv1%’ == ‘n’ goto serv2start
    if /i «%serv1%» neq «y» goto serv1start
    sc config dmwappushservice start= auto > NUL 2>&1
     
    :serv2start
    set /p serv2=»Enable Windows Search? y/n: «
    if ‘%serv2%’ == ‘n’ goto serv3start
    if /i «%serv2%» neq «y» goto serv2start
    sc config WSearch start= auto > NUL 2>&1
     
    :serv3start
    set /p serv3=»Enable Superfetch? y/n: «
    if ‘%serv3%’ == ‘n’ goto serv4start
    if /i «%serv3%» neq «y» goto serv3start
    sc config SysMain start= auto > NUL 2>&1
     
    :serv4start
    set /p serv4=»Enable Windows Defender? y/n: «
    if ‘%serv4%’ == ‘n’ goto schedstart
    if /i «%serv4%» neq «y» goto serv4start
    sc config WinDefend start= auto > NUL 2>&1
    sc config WdNisSvc start= auto > NUL 2>&1
    reg delete «HKLMSOFTWAREPoliciesMicrosoftWindows Defender» /v «DisableAntiSpyware» /f > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Cache Maintenance» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Cleanup» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Scheduled Scan» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows DefenderWindows Defender Verification» /Enable > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Enabling scheduled tasks =======================
    ECHO.
    :schedstart
    set /p schedules=»Enable unnecessary scheduled tasks? y/n: «
    if ‘%schedules%’ == ‘n’ goto winappstart
    if /i «%schedules%» neq «n» if /i «%schedules%» neq «y» goto schedstart
     
    schtasks /Change /TN «MicrosoftWindowsAppIDSmartScreenSpecific» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsApplication ExperienceMicrosoft Compatibility Appraiser» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsCustomer Experience Improvement ProgramConsolidator» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsCustomer Experience Improvement ProgramKernelCeipTask» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsCustomer Experience Improvement ProgramUsbCeip» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsDiskDiagnosticMicrosoft-Windows-DiskDiagnosticDataCollector» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsNetTraceGatherNetworkInfo» /Enable > NUL 2>&1
    schtasks /Change /TN «MicrosoftWindowsWindows Error ReportingQueueReporting» /Enable > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Note for Windows default apps =======================
    ECHO.
    :winappstart
    ECHO NOTE: There is no proper way to reinstall default apps.
    ECHO Simply create a new user profile to undo this.
    ECHO Press any key to continue.
    PAUSE > NUL
     
    ECHO Done…
     
    REM ======================= Enable OneDrive =======================
    ECHO.
    :odrivestart
    set /p onedrive=»Enable OneDrive? y/n: «
    if ‘%onedrive%’ == ‘n’ goto hoststart
    if /i «%onedrive%» neq «y» goto odrivestart
    reg delete «HKLMSoftwarePoliciesMicrosoftWindowsOneDrive» /f > NUL 2>&1
     
    ECHO Done…
     
    REM ======================= Unblocking Telemetry Servers =======================
    ECHO.
    :hoststart
    set /p hostsblock=»Unblock Windows telemetry servers? y/n: «
    if ‘%hostsblock%’ == ‘n’ goto finish
    if /i «%hostsblock%» neq «n» if /i «%hostsblock%» neq «y» goto hoststart
     
    attrib -r «%WINDIR%system32driversetchosts» > NUL 2>&1
    ren «%WINDIR%system32driversetchosts.bak» «hosts» > NUL 2>&1
    attrib +r «%WINDIR%system32driversetchosts» > NUL 2>&1
     
    :finish
    CLS
    ECHO #########################################################
    ECHO #                                                       #
    ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
    ECHO #                                                       #
    ECHO #  CURRENT REVISION: %V%                                #
    ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
    ECHO #                                                       #
    ECHO #########################################################
    ECHO.
    ECHO Selected tweaks have been successfully removed.
    ECHO Press any key to exit.
    PAUSE > NUL

Add comment

Обзор автоматизированных решений для обеспечения безопасности конфиденциальной информации пользователя в ОС Windows 10
В ходе исследования было проанализировано 5 существующих программных решений по блокировке сбора данных ОС Windows 10. Сравнение рассмотренных автоматизированных средств представлено ниже:

Наименование решения TNBT
(The Next Big Tweak) v. 1.7 Windows Tracking
Disable Tool v. 1.4 Destroy Windows
Spying v. 1.3
DoNotSpy

1.0.0.2

Debloat Windows 10

v. 1.4.0

Таблица 1 – Сравнение автоматизированных решений

Сравнение рассмотренных автоматизированных средств представлено ниже:

Наименование решения TNBT
(The Next Big Tweak) v. 1.7
Windows Tracking
Disable Tool v. 1.4
Destroy Windows
Spying v. 1.3
DoNotSpy

1.0.0.2

Debloat Windows 10

v. 1.4.0

Тип .bat скрипт .py скрипт .exe .exe .ps скрипт
Отключение сбора телеметрии + + +
Отключение diagtrack + + (либо удаляет) +
Отключение OneDrive + (либо удаляет) + (либо удаляет) + (по выбору) +
Удаление приложений по умолчанию + (все) + (по выбору) + (по выбору)
Замена UtilMan на Sys-Admin CMD Опционально
Отключение Quick Access в проводнике + +
Блокировка серверов телеметрии через hosts + + + +
Отключение поиска Cortana + +
Отключение поиска Bing + +
Отключение searchbar + +
Отключение лишних сервисов + + + +
Отключение лишних отложенных задач + + +
Отключение lockscreen + +
Отключение jump list +
Отключение возможности обмена обновлениями + +
Отключение Windows Defender + (либо удаляет) +
Отключение обновлений Windows +
Отключение рекламного идентификатора +
Отключение доступа к списку языков +
Отключение доступа приложений к информации учетной записи, календарю, камере, данным геолокации, сообщениями, микрофону и радиомодулю + +
Отключение функции «Getting to know me» + +
Отключение записи активности +
Отключение функции датчиков +
Отключение отправки данных о вводе +
Отключение Wi-Fi sense +

Or simply follow the Blog and see how to deal with it with Windows integrated settings. GPO still does it job and the rest can already blocked via Windows Firewall/IPSec and other integrated tools.

In most cases it’s not worth to disable something when you might run into problems (e.g. if you have update/upgrade issue) and MS already changed a lot when it comes to telemetry, most so called ‘spying’ domains are never getting contacted unless you opt-in into the beta program or in case there is really a crash.

Also some tools are always outdated because of the update politics or not functional anymore, I think there are better ways and I still do believe that telemetry is not the devil. However what I not liked is that Microsoft sold the collected data to 3rd-party ones and this must stop, from what I know the EU commission already disallowed it and because of that the EULA got changed several times now since the initial Win 10 release.

I think as long as the data doesn’t contain private information and are encrypted and deleted after xyt days/weeks I would telemetry less critical than the media over and over wrongly advertise.

LikeLike

[H]ard|Forum

  • Bits & Bytes

  • Operating Systems

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Cleaning the bloat from Windows 10


  • Thread starter

    OutlawXGP


  • Start date

    Jul 30, 2015

  • #1

Joined
Dec 20, 2014
Messages
86


Hey guys, you may have noticed that windows 10 adds a whole bunch of new services, metro apps and other such bloat running with the OS, now I had a good control over what to disable and remove in windows 8.1 but things are not quite the same for windows 10. I like to use this thread as an opportunity to collect all around information of useless services and junk that can be removed safely.

(Please be aware and make any changes at your own discretion as some of the changes listed here might not be suitable for everyone)

Here is a list of all the metro apps which I considered useless:

Run Powershell as Admin and execute the commands

Remove-AppXPackage Microsoft.People_1.10241.0.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsAlarms_10.1507.17010.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.ZuneVideo_3.6.11821.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.ZuneMusic_3.6.11821.0_x64__8wekyb3d8bbwe
Remove-AppXPackage 9E2F88E3.Twitter_4.0.6.0_x86__wgeqdkkx372wm
Remove-AppXPackage king.com.CandyCrushSaga_1.540.1.0_x86__kgqvnymyfvs32
Remove-AppXPackage Microsoft.XboxApp_7.7.21024.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.BingWeather_4.4.183.0_x86__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.Office.OneNote_17.4229.10061.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsMaps_4.1506.50715.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsSoundRecorder_10.1507.7010.0_x64__8wekyb3d8bbwe

And for any one that dose a fresh installation of Windows 10, you can use the following commands to remove the useless metro apps as their versions are not the same as windows 10 upgrade.

Remove-AppXPackage Microsoft.BingWeather_4.3.193.0_x86__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.Windows.Photos_15.618.18170.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsCamera_5.38.3003.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.XboxApp_5.6.17000.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsAlarms_10.1506.19010.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.SkypeApp_3.2.1.0_x86__kzf8qxf38zg5c
Remove-AppXPackage Microsoft.ZuneVideo_3.6.10811.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.ZuneMusic_3.6.10841.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsSoundRecorder_10.1506.15100.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsPhone_10.1506.20010.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsMaps_4.1505.50619.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.People_1.10159.0.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.Office.OneNote_17.4201.10091.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.MicrosoftSolitaireCollection_3.1.6103.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.MicrosoftOfficeHub_17.4218.23751.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.BingSports_4.3.193.0_x86__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.Appconnector_1.3.3.0_neutral__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.3DBuilder_10.0.0.0_x64__8wekyb3d8bbwe
Remove-AppXPackage microsoft.windowscommunicationsapps_17.6002.42251.0_x64__8wekyb3d8bbwe

An alternative method if you wish to totally remove all metro apps, thanks to svet-am

As I posed in the other thread, here’s how to nuke ALL of the metro stuff in one go and be left with «just» Windows 10

Get-AppxPackage -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

The first line removes them ALL (including the store) for the current user. The second one removes them from Windows’ backing store so that they are not automatically installed for any new (or other) users.

And if you wish to wipe out all the metro apps but keep «Windows Store» here another alternative command thanks to Jaymzkerten

There’s probably a way to restore them from the install disk if you absolutely needed to, otherwise you can just modify that second powershell command to:

Get-AppXPackage | Where Name -NotLike "*WindowsStore*" | Remove-AppXPackage
Get-AppXProvisionedPackage -online | Where DisplayName -NotLike "*WindowsStore*" | Remove-AppxProvisionedPackage –online

That will remove everything except the Windows Store app.

Further more you can extract a list of all the «windows modem apps» using the Get-AppxPackage >C:appDetails.txt which will provide you a text based list of all the current apps installed.

Services to Disable

  • Windows Error Reporting Service
  • WAP Push Message Routing Service
  • Downloaded Maps Manager—> new service, seems useless for me
  • Geolocation Service —> new service, seems useless for me
  • Internet Connection Sharing (ICS)
  • Net.Tcp Port Sharing Service
  • Print Spooler —> Only Disable if you not plan on using any printers with your PC as most printers require this service
  • Program Compatibility Assistant Service
  • Remote Registry
  • Routing and Remote Access
  • Security Center —> I find it to be useless
  • Skype Updater
  • Smart Card
  • Superfetch —> I disabled this because I have my OS installed on a SSD, perhaps good to keep for normal HDDs
  • Windows Event Collector
  • Windows Firewall —> Never had the need for it but no harm to keep it on automatic if you wish
  • Windows Biometric Service —> (This service is mainly used to store digital information from devices such as a finger printer reader however it seems to be linked with cortana search engine, so its best to keep this service startup type as manual)
  • Windows Search Indexing —> This service can be disabled if you are not plan on using the «Cortana Task Bar Search» You can still search for files with Windows explorer search bar however your search results might be slower if your using a Mechanical Hard Drive rather then a SSD.

For reference these are the following services that I keep disabled right now.

Cortana Task bar Search

Ideally I would like to disable Cortana and stop the process searchui.exe from running which then it would allow me to disable Windows Search Indexing Service and Windows Biometric Service. Microsoft has simply taken the old start menu search function and separated into a new background process which is integrated to cortana which I personally find useless as you can still use the search box in «windows explorer» with out the need for this new search processes. So moving on it seems the only way to completely kill the process is to take ownership of the cortana package directory and rename the searchui.exe but I have not tried this method yet.

Edit: I indeed manage to take owner ship of the Cortana directory and rename the searchui.exe to something like searchui.exe.disable and killed the cortana process, this indeed prevents cortana from restarting the background task and pretty much disables the search box in the task bar for those who wish not to use it. You can simply hide the icon.

As other posts have mentioned is best to disable the windows update peer to peer feature also.

To Disable Windows Update Peer to Peer: Start -> Settings-> Update and Security -> Windows Update -> Choose how Updates are delivered -> Off

How to prevent automatic driver updates in Windows 10: (Thanks to marka211 once again)

Added Picture for reference

Navigate to Control Panel>System and click Advanced System Settings
Open the “Hardware” tab and click the Device Installation Settings button
Change the setting to “No, let me choose what to do” and then enable the option to “Never install driver software from Windows Update
Click the Save Changes button at the bottom.

Windows Defender

Windows Defender can also be manualy turned off in Control panel however the Windows Defender service will continue to run in the background and the option to disable it with in the services is grayed out, so I found a simple exe tool which easily dose this for you. «NoDefender.exe» Disable Windows Defender manualy first and Run the Tool to disable the service all together.

Link to Download

Alternative method to disable the Windows Defender Service rather then using the exe tool. Thanks to Jaymzkerten

Alternatively if you want to disable Windows Defender and you don’t trust the internet, you can launch regedit and browse to HKLMSYSTEMCurrentControlSetServicesWinDefend, find the ‘Start’ property and set the value to 4 (disabled), reboot your computer and the Windows Defender Service will now be set to disabled.

Microsoft OneDrive

found a great post about completely removing OneDrive and cleaning the left overs on «Hardforums» and I thought I might as well add it to the list. Thanks to «marka211»

Copy into notepad and save as OneDrive Uninstaller.cmd, then run it and it should remove Onedrive from Windows 10

@echo off
cls

set x86="%SYSTEMROOT%System32OneDriveSetup.exe"
set x64="%SYSTEMROOT%SysWOW64OneDriveSetup.exe"

echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1

echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 5 > NUL 2>&1

echo Removing OneDrive leftovers.
echo.
rd "%USERPROFILE%OneDrive" /Q /S > NUL 2>&1
rd "C:OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%MicrosoftOneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%Microsoft OneDrive" /Q /S > NUL 2>&1 

echo Removeing OneDrive from the Explorer Side Panel.
echo.
REG DELETE "HKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOTWow6432NodeCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1

pause

I also like to mention some of the «Windows Features» that i normaly remove/keep:

  • .NET Framework 3.5 (includes .NET 2.0 and 3.0) —> Recommended to have installed as most older applications need these library
  • .NET Framework 4.5 Advanced Services —> Recommended to have installed as most older applications need these library
  • Internet Explorer 11 —> I remove this as I never plan on using Internet explorer (Not to be confused with the new Microsoft Edge Metro web browser)
  • Internet Information Services —> Disabled by default
  • Internet Information Services Hostable Web Core —> Disabled by default
  • Legacy Components (DirectPlay) —> I recommend installing this for support with games that require older versions of Direct X
  • Media Features (Windows Media Player) —> Optional, I use Media player so i keep it enabled for my self.
  • Microsoft Message Queue (MSMQ) —> Disabled by default.
  • Print and Document Services —> several services that make it possible to use and manage printing, faxing and scanning devices. disable if you dont use these features.
  • Remote Differential Compression API Support —> Leave it as enabled as default.
  • Simple Network Management Protocol (SNMP) —> Disabled by default.
  • Simple TCP/IP services (i.e. echo, daytime, etc) —> Disabled by default.
  • SMB 1.0/CIFS File Sharing Support —> I keep this enabled if you plan on doing cross networking and file sharing, (Example Android phone and your PC)
  • Telnet Server —> Disabled by default.
  • TFTP Client —> Disabled by default.
  • Windows Identity Foundation 3.5 —> Disabled by default.
  • Windows Powershell 2.0 —> You can either keep this enabled or remove it (Shouldn’t make much difference for most people that don’t make use of powershell.
  • Windows Process Activation Service —> Disabled by default.
  • Windows TIFF IFilter —> Disabled by default.
  • Work Folders Client —> Allows users to sync a folder and its content, from the corporate network to their personal devices. Useless for me so I keep it disabled.
  • XPS Services —> Unless you use this feature you can disable it.
  • XPS Viewer —>Unless you use this feature you can disable it.

Disabling the Diagnostic and Usage Data and Telemetry (Thanks to Seroman).

Steps taken from here : http://winaero.com/blog/how-to-disable-telemetry-and-data-collection-in-windows-10/

On Win 10 Pro

1.Open Registry Editor.
2.Go to the following Registry key:

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsDataCollection

3. There you need to create a new a 32-bit DWORD value named AllowTelemetry and set it to 0
4. Go to Services and Applications -> Services in the left pane. In the services list, disable the following services:

Diagnostics Tracking Service
dmwappushsvc

5. Double click the mentioned services and pick «Disabled» for the startup type
6. You need to restart Windows 10 for changes to take effect.

A fantastic all in one script which will make a lot of changes that are individually mentioned here, Thanks to D4rkn3ss for this great find.

Updated to v1.7

@ECHO OFF
COLOR 1F
SET V=1.7
TITLE Windows 10 TNBT: The Next Big Tweak v%V% (x64)
ECHO #########################################################
ECHO #                                                       #
ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
ECHO #                                                       #
ECHO #  CURRENT REVISION: %V%                                #
ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
ECHO #                                                       #
ECHO #########################################################

REM ======================= Registry tweaks =======================
ECHO.
:regstart
set /p registry="Apply registry tweaks? y/n: "
if '%registry%' == 'n' goto servstart
if /i "%registry%" neq "y" goto regstart

:reg0start
set /p reg0="Replace Utilman with CMD? y/n: "
if '%reg0%' == 'n' goto reg1start
if /i "%reg0%" neq "y" goto reg0start
reg add "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsutilman.exe" /v "Debugger" /t REG_SZ /d "cmd.exe" /f > NUL 2>&1

:reg1start
set /p reg1="Disable Quick Access as default view in Explorer? y/n: "
if '%reg1%' == 'n' goto reg2start
if /i "%reg1%" neq "y" goto reg1start
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "LaunchTo" /t REG_DWORD /d 0 > NUL 2>&1

:reg2start
set /p reg2="Show computer shortcut on desktop? y/n: "
if '%reg2%' == 'n' goto reg3start
if /i "%reg2%" neq "y" goto reg2start
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f > NUL 2>&1

:reg3start
set /p reg3="Show file extensions? y/n: "
if '%reg3%' == 'n' goto reg4start
if /i "%reg3%" neq "y" goto reg3start
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "HideFileExt" /t REG_DWORD /d 0 /f > NUL 2>&1

:reg4start
set /p reg4="Disable lockscreen? y/n: "
if '%reg4%' == 'n' goto reg5start
if /i "%reg4%" neq "y" goto reg4start
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsPersonalization" /v "NoLockScreen" /t REG_DWORD /d 1 /f > NUL 2>&1

:reg5start
set /p reg5="Enable classic control panel view? y/n: "
if '%reg5%' == 'n' goto reg6start
if /i "%reg5%" neq "y" goto reg5start
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /v "ForceClassicControlPanel" /t REG_DWORD /d 1 /f > NUL 2>&1

:reg6start
set /p reg6="Hide indication for compressed NTFS files? y/n: "
if '%reg6%' == 'n' goto reg7start
if /i "%reg6%" neq "y" goto reg6start
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "ShowCompColor" /t RED_DWORD /d 0 /f > NUL 2>&1

:reg7start
set /p reg7="Disable Windows Update sharing? y/n: "
if '%reg7%' == 'n' goto reg8start
if /i "%reg7%" neq "y" goto reg7start
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig" /v "DownloadMode" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig" /v "DODownloadMode" /t REG_DWORD /d 0 /f > NUL 2>&1

:reg8start
set /p reg8="Remove Pin to start? y/n: "
if '%reg8%' == 'n' goto reg9start
if /i "%reg8%" neq "y" goto reg8start
reg delete "HKEY_CLASSES_ROOTexefileshellexContextMenuHandlersPintoStartScreen" /f > NUL 2>&1
reg delete "HKEY_CLASSES_ROOTFoldershellexContextMenuHandlersPintoStartScreen" /f > NUL 2>&1
reg delete "HKEY_CLASSES_ROOTmscfileshellexContextMenuHandlersPintoStartScreen" /f > NUL 2>&1

:reg9start
set /p reg9="Classic vertical icon spacing? y/n: "
if '%reg9%' == 'n' goto reg10start
if /i "%reg9%" neq "y" goto reg9start
reg add "HKCUControl PanelDesktopWindowMetrics" /v "IconVerticalSpacing" /t REG_SZ /d "-1150" /f > NUL 2>&1

:reg10start
set /p reg10="Remove versioning tab from properties? y/n: "
if '%reg10%' == 'n' goto reg11start
if /i "%reg10%" neq "y" goto reg10start
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorer" /v NoPreviousVersionsPage /t REG_DWORD /d 1 /f > NUL 2>&1

:reg11start
set /p reg11="Disable jump lists? y/n: "
if '%reg11%' == 'n' goto reg12start
if /i "%reg11%" neq "y" goto reg11start
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f > NUL 2>&1

:reg12start
set /p reg12="Remove telemetry and data collection? y/n: "
if '%reg12%' == 'n' goto reg13start
if /i "%reg12%" neq "y" goto reg12start
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionDevice Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMSOFTWAREPoliciesMicrosoftMRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLMSOFTWAREPoliciesMicrosoftSQMClientWindows" /v "CEIPEnable" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsAppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsAppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsDataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0" /v "f!dss-winrt-telemetry.js" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0" /v "f!proactive-telemetry.js" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0" /v "f!proactive-telemetry-event_8ac43a41e5030538" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0" /v "f!proactive-telemetry-inter_58073761d33f144b" /t REG_DWORD /d 0 /f > NUL 2>&1

:reg13start
set /p reg13="Apply Internet Explorer 11 tweaks? y/n: "
if '%reg13%' == 'n' goto reg14start
if /i "%reg13%" neq "y" goto reg13start
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "DoNotTrack" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "Search Page" /t REG_SZ /d "http://www.google.de" /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "Start Page Redirect Cache" /t REG_SZ /d "http://www.google.de" /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceComplete" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLMSOFTWAREMicrosoftInternet ExplorerMain" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLMSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLMSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceComplete" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain" /v "RunOnceComplete" /t REG_DWORD /d 1 /f > NUL 2>&1

:reg14start
set /p reg14="Disable Cortana, Bing Search and Searchbar? y/n: "
if '%reg14%' == 'n' goto reg15start
if /i "%reg14%" neq "y" goto reg14start
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch" /v "CortanaEnabled" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch" /v "BingSearchEnabled" /t REG_DWORD /d 0 /f > NUL 2>&1

:reg15start
set /p reg15="Change Logon screen background with accent color? y/n: "
if '%reg15%' == 'n' goto reg16start
if /i "%reg15%" neq "y" goto reg15start
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsSystem" /v "DisableLogonBackgroundImage" /t REG_DWORD /d 1 /f > NUL 2>&1

:reg16start
set /p reg16="Disable Windows Error Reporting? y/n: "
if '%reg16%' == 'n' goto reg17start
if /i "%reg16%" neq "y" goto reg16start
reg add "HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Error Reporting" /v "Disabled" /t REG_DWORD /d 1 /f > NUL 2>&1

:reg17start
set /p reg17="Disable automatic Windows Updates? y/n: "
if '%reg17%' == 'n' goto reg18start
if /i "%reg17%" neq "y" goto reg17start
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v "AUOptions" /t REG_DWORD /d 2 /f > NUL 2>&1

:reg18start
set /p reg18="Disable Hibernation? y/n: "
if '%reg18%' == 'n' goto servstart
if /i "%reg18%" neq "y" goto reg18start
reg add "HKLMSYSTEMCurrentControlSetControlSession ManagerPower" /v "HiberbootEnabled" /t REG_DWORD /d 0 /f > NUL 2>&1

ECHO Done...

REM ======================= Removing services =======================
ECHO.
:servstart
set /p services="Apply services tweaks? y/n: "
if '%services%' == 'n' goto schedstart
if /i "%services%" neq "n" if /i "%services%" neq "y" goto servstart

:serv0start
set /p serv0="Disable tracking services? y/n: "
if '%serv0%' == 'n' goto serv1start
if /i "%serv0%" neq "y" goto serv0start
sc config DiagTrack start= disabled > NUL 2>&1
sc config diagnosticshub.standardcollector.service start= disabled > NUL 2>&1
sc config TrkWks start= disabled > NUL 2>&1
sc config WMPNetworkSvc start= disabled > NUL 2>&1

:serv1start
set /p serv1="Disable WAP Push Message Routing Service? y/n: "
if '%serv1%' == 'n' goto serv2start
if /i "%serv1%" neq "y" goto serv1start
sc config dmwappushservice start= disabled > NUL 2>&1

:serv2start
set /p serv2="Disable Windows Search? y/n: "
if '%serv2%' == 'n' goto serv3start
if /i "%serv2%" neq "y" goto serv2start
sc config WSearch start= disabled > NUL 2>&1
del "C:ProgramDataMicrosoftSearchDataApplicationsWindowsWindows.edb" /s > NUL 2>&1

:serv3start
set /p serv3="Disable Superfetch? y/n: "
if '%serv3%' == 'n' goto serv4start
if /i "%serv3%" neq "y" goto serv3start
sc config SysMain start= disabled > NUL 2>&1

:serv4start
set /p serv4="Disable Windows Defender? y/n: "
if '%serv4%' == 'n' goto schedstart
if /i "%serv4%" neq "y" goto serv4start
sc config WinDefend start= disabled > NUL 2>&1
sc config WdNisSvc start= disabled > NUL 2>&1
reg add "HKLMSOFTWAREPoliciesMicrosoftWindows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d 1 /f > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Cache Maintenance" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Cleanup" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Scheduled Scan" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Verification" /Disable > NUL 2>&1
del "C:ProgramDataMicrosoftWindows DefenderScansmpcache*" /s > NUL 2>&1

ECHO Done...

REM ======================= Removing scheduled tasks =======================
ECHO.
:schedstart
set /p schedules="Disable unnecessary scheduled tasks? y/n: "
if '%schedules%' == 'n' goto winappstart
if /i "%schedules%" neq "n" if /i "%schedules%" neq "y" goto schedstart

schtasks /Change /TN "MicrosoftWindowsAppIDSmartScreenSpecific" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsApplication ExperienceMicrosoft Compatibility Appraiser" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsCustomer Experience Improvement ProgramConsolidator" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsCustomer Experience Improvement ProgramKernelCeipTask" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsCustomer Experience Improvement ProgramUsbCeip" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsDiskDiagnosticMicrosoft-Windows-DiskDiagnosticDataCollector" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsNetTraceGatherNetworkInfo" /Disable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows Error ReportingQueueReporting" /Disable > NUL 2>&1

ECHO Done...

REM ======================= Removing Windows default apps =======================
ECHO.
:winappstart
set /p winapps="Remove windows default apps? y/n: "
if '%winapps%' == 'n' goto odrivestart
if /i "%winapps%" neq "n" if /i "%winapps%" neq "y" goto winappstart

powershell "Get-AppxPackage *3d* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *bing* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *zune* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *photo* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *communi* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *solit* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *phone* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *soundrec* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *camera* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *people* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *office* | Remove-AppxPackage" > NUL 2>&1
powershell "Get-AppxPackage *xbox* | Remove-AppxPackage" > NUL 2>&1

ECHO Done...

REM ======================= Disable / Remove OneDrive =======================
ECHO.
:odrivestart
set /p onedrive="Disable OneDrive? y/n: "
if '%onedrive%' == 'n' goto hoststart
if /i "%onedrive%" neq "y" goto odrivestart
reg add "HKLMSoftwarePoliciesMicrosoftWindowsOneDrive" /v DisableFileSyncNGSC /t REG_DWORD /d 1 /f > NUL 2>&1

ECHO Done...

REM ======================= Blocking Telemetry Servers =======================
ECHO.
:hoststart
set /p hostsblock="Block Windows telemetry servers? y/n: "
if '%hostsblock%' == 'n' goto finish
if /i "%hostsblock%" neq "n" if /i "%hostsblock%" neq "y" goto hoststart

copy "%WINDIR%system32driversetchosts" "%WINDIR%system32driversetchosts.bak" > NUL 2>&1
attrib -r "%WINDIR%system32driversetchosts" > NUL 2>&1
FIND /C /I "vortex.data.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex.data.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "vortex-win.data.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex-win.data.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "telecommand.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telecommand.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "telecommand.telemetry.microsoft.com.nsatc.net" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
FIND /C /I "oca.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 oca.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "oca.telemetry.microsoft.com.nsatc.net" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 oca.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
FIND /C /I "sqm.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "sqm.telemetry.microsoft.com.nsatc.net" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
FIND /C /I "watson.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "watson.telemetry.microsoft.com.nsatc.net" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.telemetry.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
FIND /C /I "redir.metaservices.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 redir.metaservices.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "choice.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 choice.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "choice.microsoft.com.nsatc.net" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 choice.microsoft.com.nsatc.net>>%WINDIR%system32driversetchosts
FIND /C /I "df.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "reports.wes.df.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 reports.wes.df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "services.wes.df.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 services.wes.df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "sqm.df.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.df.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "watson.ppe.telemetry.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.ppe.telemetry.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "telemetry.appex.bing.net" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.appex.bing.net>>%WINDIR%system32driversetchosts
FIND /C /I "telemetry.urs.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.urs.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "telemetry.appex.bing.net:443" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.appex.bing.net:443>>%WINDIR%system32driversetchosts
FIND /C /I "settings-sandbox.data.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 settings-sandbox.data.microsoft.com>>%WINDIR%system32driversetchosts
FIND /C /I "vortex-sandbox.data.microsoft.com" %WINDIR%system32driversetchosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex-sandbox.data.microsoft.com>>%WINDIR%system32driversetchosts
attrib +r "%WINDIR%system32driversetchosts" > NUL 2>&1

:finish
CLS
ECHO #########################################################
ECHO #                                                       #
ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
ECHO #                                                       #
ECHO #  CURRENT REVISION: %V%                                #
ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
ECHO #                                                       #
ECHO #########################################################
ECHO.
ECHO Installation complete.
ECHO Press any key to exit.
PAUSE > NUL

And if you like to revert the changes you just made using that script you can run

@ECHO OFF
COLOR 1F
SET V=1.7
TITLE Windows 10 TNBT: The Next Big Tweak v%V% UNDO (x64)
ECHO #########################################################
ECHO #                                                       #
ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
ECHO #                                                       #
ECHO #  CURRENT REVISION: %V%                                #
ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
ECHO #                                                       #
ECHO #########################################################

REM ======================= Undo Registry tweaks =======================
ECHO.
:regstart
set /p registry="Undo registry tweaks? y/n: "
if '%registry%' == 'n' goto servstart
if /i "%registry%" neq "y" goto regstart

:reg0start
set /p reg0="Recover Utilman? y/n: "
if '%reg0%' == 'n' goto reg1start
if /i "%reg0%" neq "y" goto reg0start
reg delete "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsutilman.exe" /f > NUL 2>&1

:reg1start
set /p reg1="Enable Quick Access as default view in Explorer? y/n: "
if '%reg1%' == 'n' goto reg2start
if /i "%reg1%" neq "y" goto reg1start
reg delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "LaunchTo" /t REG_DWORD /d 0 > NUL 2>&1

:reg2start
set /p reg2="Hide computer shortcut on desktop? y/n: "
if '%reg2%' == 'n' goto reg3start
if /i "%reg2%" neq "y" goto reg2start
reg delete "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /f > NUL 2>&1

:reg3start
set /p reg3="Hide file extensions? y/n: "
if '%reg3%' == 'n' goto reg4start
if /i "%reg3%" neq "y" goto reg3start
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "HideFileExt" /t REG_DWORD /d 1 /f > NUL 2>&1

:reg4start
set /p reg4="Enable lockscreen? y/n: "
if '%reg4%' == 'n' goto reg5start
if /i "%reg4%" neq "y" goto reg4start
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindowsPersonalization" /f > NUL 2>&1

:reg5start
set /p reg5="Disable classic control panel view? y/n: "
if '%reg5%' == 'n' goto reg6start
if /i "%reg5%" neq "y" goto reg5start
reg delete "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f > NUL 2>&1

:reg6start
set /p reg6="Indicate compressed NTFS files? y/n: "
if '%reg6%' == 'n' goto reg7start
if /i "%reg6%" neq "y" goto reg6start
reg add "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "ShowCompColor" /t RED_DWORD /d 1 /f > NUL 2>&1

:reg7start
set /p reg7="Enable Windows Update sharing? y/n: "
if '%reg7%' == 'n' goto reg8start
if /i "%reg7%" neq "y" goto reg7start
reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig" /v "DownloadMode" /f > NUL 2>&1
reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionDeliveryOptimizationConfig" /v "DODownloadMode" /f > NUL 2>&1

:reg8start
set /p reg8="Recover Pin to start? y/n: "
if '%reg8%' == 'n' goto reg9start
if /i "%reg8%" neq "y" goto reg8start
reg add "HKEY_CLASSES_ROOTexefileshellexContextMenuHandlersPintoStartScreen" /t REG_SZ /d "{470C0EBD-5D73-4d58-9CED-E91E22E23282}" /f > NUL 2>&1
reg add "HKEY_CLASSES_ROOTFoldershellexContextMenuHandlersPintoStartScreen" /t REG_SZ /d "{470C0EBD-5D73-4d58-9CED-E91E22E23282}" /f > NUL 2>&1
reg add "HKEY_CLASSES_ROOTmscfileshellexContextMenuHandlersPintoStartScreen" /t REG_SZ /d "{470C0EBD-5D73-4d58-9CED-E91E22E23282}" /f > NUL 2>&1

:reg9start
set /p reg9="Recover vertical icon spacing? y/n: "
if '%reg9%' == 'n' goto reg10start
if /i "%reg9%" neq "y" goto reg9start
reg add "HKCUControl PanelDesktopWindowMetrics" /v "IconVerticalSpacing" /t REG_SZ /d "-1710" /f > NUL 2>&1

:reg10start
set /p reg10="Enable versioning tab from properties? y/n: "
if '%reg10%' == 'n' goto reg11start
if /i "%reg10%" neq "y" goto reg10start
reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorer" /v NoPreviousVersionsPage /f > NUL 2>&1

:reg11start
set /p reg11="Enable jump lists? y/n: "
if '%reg11%' == 'n' goto reg12start
if /i "%reg11%" neq "y" goto reg11start
reg delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "Start_TrackDocs" /f > NUL 2>&1

:reg12start
set /p reg12="Enable telemetry and data collection? y/n: "
if '%reg12%' == 'n' goto reg13start
if /i "%reg12%" neq "y" goto reg12start
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionDevice Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection" /v "AllowTelemetry" /t REG_DWORD /d 3 /f > NUL 2>&1
reg delete "HKLMSOFTWAREPoliciesMicrosoftMRT" /f > NUL 2>&1
reg delete "HKLMSOFTWAREPoliciesMicrosoftSQMClientWindows" /f > NUL 2>&1
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindowsAppCompat" /f > NUL 2>&1
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindowsDataCollection" /v "AllowTelemetry" /f > NUL 2>&1
reg delete "HKLMCOMPONENTSDerivedDataComponentsamd64_microsoft-windows-c..lemetry.lib.cortana_31bf3856ad364e35_10.0.10240.16384_none_40ba2ec3d03bceb0" /f > NUL 2>&1

:reg13start
set /p reg13="Remove Internet Explorer 11 tweaks? y/n: "
if '%reg13%' == 'n' goto reg14start
if /i "%reg13%" neq "y" goto reg13start
reg delete "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "DoNotTrack" /f > NUL 2>&1
reg add "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "Search Page" /t REG_SZ /d "http://go.microsoft.com/fwlink/?LinkId=54896" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "Start Page Redirect Cache" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "DisableFirstRunCustomize" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceHasShown" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceComplete" /f > NUL 2>&1
reg delete "HKLMSOFTWAREMicrosoftInternet ExplorerMain" /v "DisableFirstRunCustomize" /f > NUL 2>&1
reg delete "HKLMSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceHasShown" /f > NUL 2>&1
reg delete "HKLMSOFTWAREMicrosoftInternet ExplorerMain" /v "RunOnceComplete" /f > NUL 2>&1
reg delete "HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain" /v "DisableFirstRunCustomize" /f > NUL 2>&1
reg delete "HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain" /v "RunOnceHasShown" /f > NUL 2>&1
reg delete "HKCUSoftwarePoliciesMicrosoftInternet ExplorerMain" /v "RunOnceComplete" /f > NUL 2>&1

:reg14start
set /p reg14="Enable Cortana, Bing Search and Searchbar? y/n: "
if '%reg14%' == 'n' goto reg15start
if /i "%reg14%" neq "y" goto reg14start
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Search" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch" /v "CortanaEnabled" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch" /v "SearchboxTaskbarMode" /f > NUL 2>&1
reg delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionSearch" /v "BingSearchEnabled" /f > NUL 2>&1

:reg15start
set /p reg15="Recover Logon screen background? y/n: "
if '%reg15%' == 'n' goto reg16start
if /i "%reg15%" neq "y" goto reg15start
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindowsSystem" /v "DisableLogonBackgroundImage" /f > NUL 2>&1

:reg16start
set /p reg16="Enable Windows Error Reporting? y/n: "
if '%reg16%' == 'n' goto reg17start
if /i "%reg16%" neq "y" goto reg16start
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindowsWindows Error Reporting" /f > NUL 2>&1

:reg17start
set /p reg17="Enable automatic Windows Updates? y/n: "
if '%reg17%' == 'n' goto reg18start
if /i "%reg17%" neq "y" goto reg17start
reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v "AUOptions" /f > NUL 2>&1

:reg18start
set /p reg18="Enable Hibernation? y/n: "
if '%reg18%' == 'n' goto servstart
if /i "%reg18%" neq "y" goto reg18start
reg add "HKLMSYSTEMCurrentControlSetControlSession ManagerPower" /v "HiberbootEnabled" /t REG_DWORD /d 1 /f > NUL 2>&1

ECHO Done...

REM ======================= Enabling services =======================
ECHO.
:servstart
set /p services="Undo services tweaks? y/n: "
if '%services%' == 'n' goto schedstart
if /i "%services%" neq "n" if /i "%services%" neq "y" goto servstart

:serv0start
set /p serv0="Enable tracking services? y/n: "
if '%serv0%' == 'n' goto serv1start
if /i "%serv0%" neq "y" goto serv0start
sc config DiagTrack start= auto > NUL 2>&1
sc config diagnosticshub.standardcollector.service start= auto > NUL 2>&1
sc config TrkWks start= auto > NUL 2>&1
sc config WMPNetworkSvc start= auto > NUL 2>&1

:serv1start
set /p serv1="Enable WAP Push Message Routing Service? y/n: "
if '%serv1%' == 'n' goto serv2start
if /i "%serv1%" neq "y" goto serv1start
sc config dmwappushservice start= auto > NUL 2>&1

:serv2start
set /p serv2="Enable Windows Search? y/n: "
if '%serv2%' == 'n' goto serv3start
if /i "%serv2%" neq "y" goto serv2start
sc config WSearch start= auto > NUL 2>&1

:serv3start
set /p serv3="Enable Superfetch? y/n: "
if '%serv3%' == 'n' goto serv4start
if /i "%serv3%" neq "y" goto serv3start
sc config SysMain start= auto > NUL 2>&1

:serv4start
set /p serv4="Enable Windows Defender? y/n: "
if '%serv4%' == 'n' goto schedstart
if /i "%serv4%" neq "y" goto serv4start
sc config WinDefend start= auto > NUL 2>&1
sc config WdNisSvc start= auto > NUL 2>&1
reg delete "HKLMSOFTWAREPoliciesMicrosoftWindows Defender" /v "DisableAntiSpyware" /f > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Cache Maintenance" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Cleanup" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Scheduled Scan" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows DefenderWindows Defender Verification" /Enable > NUL 2>&1

ECHO Done...

REM ======================= Enabling scheduled tasks =======================
ECHO.
:schedstart
set /p schedules="Enable unnecessary scheduled tasks? y/n: "
if '%schedules%' == 'n' goto winappstart
if /i "%schedules%" neq "n" if /i "%schedules%" neq "y" goto schedstart

schtasks /Change /TN "MicrosoftWindowsAppIDSmartScreenSpecific" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsApplication ExperienceMicrosoft Compatibility Appraiser" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsCustomer Experience Improvement ProgramConsolidator" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsCustomer Experience Improvement ProgramKernelCeipTask" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsCustomer Experience Improvement ProgramUsbCeip" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsDiskDiagnosticMicrosoft-Windows-DiskDiagnosticDataCollector" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsNetTraceGatherNetworkInfo" /Enable > NUL 2>&1
schtasks /Change /TN "MicrosoftWindowsWindows Error ReportingQueueReporting" /Enable > NUL 2>&1

ECHO Done...

REM ======================= Note for Windows default apps =======================
ECHO.
:winappstart
ECHO NOTE: There is no proper way to reinstall default apps.
ECHO Simply create a new user profile to undo this.
ECHO Press any key to continue.
PAUSE > NUL

ECHO Done...

REM ======================= Enable OneDrive =======================
ECHO.
:odrivestart
set /p onedrive="Enable OneDrive? y/n: "
if '%onedrive%' == 'n' goto hoststart
if /i "%onedrive%" neq "y" goto odrivestart
reg delete "HKLMSoftwarePoliciesMicrosoftWindowsOneDrive" /f > NUL 2>&1

ECHO Done...

REM ======================= Unblocking Telemetry Servers =======================
ECHO.
:hoststart
set /p hostsblock="Unblock Windows telemetry servers? y/n: "
if '%hostsblock%' == 'n' goto finish
if /i "%hostsblock%" neq "n" if /i "%hostsblock%" neq "y" goto hoststart

attrib -r "%WINDIR%system32driversetchosts" > NUL 2>&1
ren "%WINDIR%system32driversetchosts.bak" "hosts" > NUL 2>&1
attrib +r "%WINDIR%system32driversetchosts" > NUL 2>&1

:finish
CLS
ECHO #########################################################
ECHO #                                                       #
ECHO #  WINDOWS 10 BUILD 10240 X64 TNBT: THE NEXT BIG TWEAK  #
ECHO #                                                       #
ECHO #  CURRENT REVISION: %V%                                #
ECHO #  AUTHOR: SEBASTIAN KOEHLING                           #
ECHO #                                                       #
ECHO #########################################################
ECHO.
ECHO Selected tweaks have been successfully removed.
ECHO Press any key to exit.
PAUSE > NUL

v1.6 Changelog:
Features:
Disable telemetry and data collecting
Disable or uninstall OneDrive
Uninstall default Windows Apps
Replace Utilman with Sys-Admin CMD on Lockscreen (optional)
Disable Quick Access as default view in Explorer
Block Telemetry servers via hosts file
Disable Cortana / Bing Search and Searchbar
Disable unnecessary services
Disable unnecessary scheduled tasks
Enable the classic vertical icon spacing on desktop
Remove versioning tab from properties
Enable classic control panel view
Disable lockscreen
Indicate compressed NTFS files
Change Logon screen background with accent color
Show file extensions
Disable jump lists
Internet Explorer 11 tweaks
Disable Windows Update sharing

v1.7 Changelog:
Disable Windows Search *UPDATED*
Disable Windows Defender *UPDATED*
Disable OneDrive *UPDATED*
Indication for NTFS files *FIXED*
Hide Searchbar *FIXED*
Added option to disable hibernation
Added option to disable automatic Windows Updates
Added option to disable Windows Error Reporting

Notes:
Run the .cmd as administrator
To block the telemetry servers via hosts file, you should temporarily disable your AV/Firewall
Some changes might need a restart
There is no proper way to reinstall default apps. You’ll have to create a new user profile to undo this.

It seems like if you do a fresh installation of windows 10 rather then upgrade, Windows Photo Viewer can’t be used as default applications to view pictures and you are forced to use the Metro app «Photos». Well this safe and tested registry tweak adds the default file formats to Windows Photo Viewer so it can once again be used as default.

Copy and paste into a notepad and save it as whatevernameyoulike.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Photo ViewerCapabilitiesFileAssociations]
".bmp"="PhotoViewer.FileAssoc.Tiff"
".dib"="PhotoViewer.FileAssoc.Tiff"
".gif"="PhotoViewer.FileAssoc.Tiff"
".jfif"="PhotoViewer.FileAssoc.Tiff"
".jpe"="PhotoViewer.FileAssoc.Tiff"
".jpeg"="PhotoViewer.FileAssoc.Tiff"
".jpg"="PhotoViewer.FileAssoc.Tiff"
".jxr"="PhotoViewer.FileAssoc.Tiff"
".png"="PhotoViewer.FileAssoc.Tiff"

Accessing the old personalize menu to set a different wallpaper for each individual monitor.

Press Windows key + R. In the dialogbox that appears, type «control /name Microsoft.Personalization /page pageWallpaper» (Without the quotes) and click OK.

MonarchX Has provided a PDF link to further customize Windows 10 using the registry. Once again please make any changes at your own discretion.

https://dl.dropboxusercontent.com/u/93831976/The Guide.pdf

Just found out that Stardock the company that released «Start8» have created a version for Windows 10 «Start10» which I believe is worth checking out for any one that likes more options.

http://www.stardock.com/products/start10/

Last edited: Aug 10, 2015

  • #2

B00nie

Joined
Nov 1, 2012
Messages
9,327


Sounds like the best idea ever, download a tool from internet that promises to disable the defender. What else does it do? :D

Not saying I don’t like your list of things.

  • #3

MrGuvernment

Joined
Aug 3, 2004
Messages
20,962


want to ask, is MS still running their keylogger and all the other collection services they had in the open trial basically?

This is the main thing that worries me about Windows 10, is what is MS collecting, in order to want to give it away for free.

  • #4

Joined
Feb 7, 2008
Messages
7,485


Interesting list. Win10 comes preloaded with Candy Crush for real?

  • #5

Joined
Feb 22, 2003
Messages
2,702


So you want to take a new OS with new features and turn it into an OS that runs like something from 15 years ago?

Might be easier to just find those Win 95 disks. :)

  • #6

MrGuvernment

Joined
Aug 3, 2004
Messages
20,962


Yes and no, there are things that are useful and things that are not needed, if i do not need something, why have it running…

I have no use for any of these so why should i have them running on my system:

Remove-AppXPackage Microsoft.People_1.10241.0.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsAlarms_10.1507.17010.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.ZuneVideo_3.6.11821.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.ZuneMusic_3.6.11821.0_x64__8wekyb3d8bbwe
Remove-AppXPackage 9E2F88E3.Twitter_4.0.6.0_x86__wgeqdkkx372wm
Remove-AppXPackage king.com.CandyCrushSaga_1.540.1.0_x86__kgqvnymyfvs32
Remove-AppXPackage Microsoft.XboxApp_7.7.21024.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.BingWeather_4.4.183.0_x86__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.Office.OneNote_17.4229.10061.0_x64__8wekyb3d8bbwe
Remove-AppXPackage Microsoft.WindowsMaps_4.1506.50715.0_x64__8wekyb3d8bbwe

Why does MS assume i have an Xbox?

  • #7

Deleted member 245375

Guest


Seriously, if you’re going this far, just stick with Windows 7/8/8.1, geez. :)

  • #8

Joined
Feb 7, 2008
Messages
7,485


Seriously, if you’re going this far, just stick with Windows 7/8/8.1, geez. :)

This keeps getting repeated over and over and honestly it is a dumb retort. Maybe he/she/we want the under the hood changes, ui changes, DX12 availablity, or any of the many other changes — BUT don’t want all this worthless to us bloat they are including.

How about that?

  • #9

Deleted member 245375

Guest


Then you shouldn’t be using Windows 10.

  • #10

Joined
Feb 7, 2008
Messages
7,485


So because we have no desire to ever use Twitter, play Candy Crush, or own an Xbox we should skip a new OS? Brilliant.

  • #11

YeuEmMaiMai

Joined
Jun 11, 2004
Messages
31,880


I would like to know how to remove the Windows 8.1 backup that was created when Windows 10 was installed…

  • #12

YeuEmMaiMai

Joined
Jun 11, 2004
Messages
31,880


Interesting list. Win10 comes preloaded with Candy Crush for real?

no, you have to download it from the store

  • #13

Joined
Nov 21, 2000
Messages
3,780


I would like to know how to remove the Windows 8.1 backup that was created when Windows 10 was installed…

Disk Cleanup will take care of that. Search for «cleanup» and it’s the first hit.

  • #14

YeuEmMaiMai

Joined
Jun 11, 2004
Messages
31,880


OK I got it, thanks, totally breeze right over that. freed up 23GB of my 128GB SSD

  • #15

Joined
Feb 9, 2006
Messages
1,220


This keeps getting repeated over and over and honestly it is a dumb retort. Maybe he/she/we want the under the hood changes, ui changes, DX12 availablity, or any of the many other changes — BUT don’t want all this worthless to us bloat they are including.

How about that?

What under the hood changes occurred that is significantly different / better than Windows 7? DX12 is a non issue as nothing uses it right now. I’m generally curious as I hadn’t seen anything worthwild myself.

Last edited: Jul 31, 2015

  • #16

Parja

Joined
Oct 4, 2002
Messages
12,670


That everyone seems to be tripping over their dick to undo?

That probably won’t have any practical application for a year or more?

  • #17

Joined
May 3, 2012
Messages
41


hmmm, none of those commands are working for me in P.S.

  • #18

Joined
Dec 20, 2014
Messages
86


I edited the original post regarding completely removing Microsoft OneDrive and cleaning its left over files.

Guys these are just changes I personally prefer to make to windows 10 as I believe most of these are useless for me, however should you wish to keep everything as default that’s obviously your choice but I do hope others can contribute to my list.

Thanks guys.

hmmm, none of those commands are working for me in P.S.

Did you make sure to run Powershell as admin? Try and copy and paste each line of command and execute them one at a time, also make sure that their is no extra space at the end when you copy and paste into powershell however I don’t think it would matter.

I have tested all these changes on my current Windows 10 Upgrade and they all seem to work fine.

  • #19

Joined
Jul 12, 2007
Messages
20,432


what is the keylogger thing?

  • #20

Joined
Dec 20, 2014
Messages
86


what is the keylogger thing?

What do you mean by Keylogger thing?

  • #21

Joined
Jan 6, 2003
Messages
5,146


What do you mean by Keylogger thing?

If you use the software on-screen keyboard, they track it all and record it for «auto correction improvements» If you use Cortana, everything you type there is sent to Microsoft. I’m sure there is more.

  • #22

Joined
Dec 20, 2014
Messages
86


If you use the software on-screen keyboard, they track it all and record it for «auto correction improvements» If you use Cortana, everything you type there is sent to Microsoft. I’m sure there is more.

I think by now it should be very obvious to most if not every one the reason windows 10 is provided for free across the board. To simply put, its my belief this operating system goal is to gather as much «cloud» data from every one as it can by default for the sake of information control and privacy invasion. Think about it, most people will not bother to tinker with the default settings and disable all the Microsoft Cloud & and Sync features let alone go deeper into disabling crappy services or removing the metro bloatware and so on.

Sadly because of Direct X 12 it will push the majority including my self to use windows 10 for for the future of gaming however this dose not mean I won’t do my best to try and remove/disable everything which I believe to be pointless. Windows 10 is really no different then any of the previous versions of windows with a bunch of new bloat services and a GUI face lift. Microsoft is even pulling dirty tricks such as this to restrict The Xbox One wireless controller adapter for Windows 10 only.

Last edited: Jul 31, 2015

  • #23

chaikovski2002

Joined
Nov 19, 2003
Messages
2,233


I agree with OP, primarily as a gaming machine we dont need those bloated features!

  • #24

Joined
Jan 6, 2003
Messages
5,146


As I posed in the other thread, here’s how to nuke ALL of the metro stuff in one go and be left with «just» Windows 10

Get-AppxPackage -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

The first line removes them ALL (including the store) for the current user. The second one removes them from Windows’ backing store so that they are not automatically installed for any new (or other) users.

btw, those are POWERSHELL commands, not CMD.EXE commands.

  • #25

Joined
Dec 20, 2014
Messages
86


As I posed in the other thread, here’s how to nuke ALL of the metro stuff in one go and be left with «just» Windows 10

Get-AppxPackage -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

The first line removes them ALL (including the store) for the current user. The second one removes them from Windows’ backing store so that they are not automatically installed for any new (or other) users.

btw, those are POWERSHELL commands, not CMD.EXE commands.

Hey and thanks for this I will add this to the first post also. The reason I didn’t remove all of them was because a few of them could be interesting to keep such as the calculator metro app and so on however I will try out this command today as I do believe is better to get rid of them all,

  • #26

Joined
Nov 21, 2000
Messages
3,780


If you use the software on-screen keyboard, they track it all and record it for «auto correction improvements» If you use Cortana, everything you type there is sent to Microsoft. I’m sure there is more.

This is hardly some long stretch idea. You «quote» it in a way that makes it seem disingenuous. If they want to improve auto-correct, collecting random data on what people are typing is basically a good way to do that. Searching with Cortana, well, it may not be painfully obvious to Joe Consumer, but to most of us it should be sort of logical to reason that Cortana is a middlewoman in data retrieval, and anything you look for through her is going to get fed into MS’s server farms before it gets to whatever will generate the output.

While I have not passed the BAR or gotten a doctorate in Law, I can say if one goes over the EULA they will probably find something about any data collection being anonymized and not able to track back to an individual user by name. They have little reason to geolocate anything anyone is typing, unless they want to track usage of the word «y’all».

  • #27

Joined
Dec 20, 2014
Messages
86


This is hardly some long stretch idea. You «quote» it in a way that makes it seem disingenuous. If they want to improve auto-correct, collecting random data on what people are typing is basically a good way to do that. Searching with Cortana, well, it may not be painfully obvious to Joe Consumer, but to most of us it should be sort of logical to reason that Cortana is a middlewoman in data retrieval, and anything you look for through her is going to get fed into MS’s server farms before it gets to whatever will generate the output.

While I have not passed the BAR or gotten a doctorate in Law, I can say if one goes over the EULA they will probably find something about any data collection being anonymized and not able to track back to an individual user by name. They have little reason to geolocate anything anyone is typing, unless they want to track usage of the word «y’all».

Even before you can start to use «Cortana» she asks that you agree to a list of things Cortana needs to access, and let me tell you its a pretty long and personal list of «things»

  • #28

Domingo

Joined
Jul 30, 2004
Messages
21,603


If you kill off the modern apps — is there any way to ever get them back?

  • #29

Joined
Jul 30, 2012
Messages
197


Windows Defender

Windows Defender can also be manualy turned off in Control panel however the Windows Defender service will continue to run in the background and the option to disable it with in the services is grayed out, so I found a simple exe tool which easily dose this for you. «NoDefender.exe» Disable Windows Defender manualy first and Run the Tool to disable the service all together.

Link to Download

Sounds like the best idea ever, download a tool from internet that promises to disable the defender. What else does it do? :D

Not saying I don’t like your list of things.

Alternatively if you want to disable Windows Defender and you don’t trust the internet, you can launch regedit and browse to HKLMSYSTEMCurrentControlSetServicesWinDefend, find the ‘Start’ property and set the value to 4 (disabled), reboot your computer and the Windows Defender Service will now be set to disabled.

  • #30

Joined
Jan 6, 2003
Messages
5,146


If you kill off the modern apps — is there any way to ever get them back?

It depends on which method you choose. If you do the steps in the OP, then yes. Just re-install from the store for most of them. If you use my method, then no, because it kills the store too.

  • #31

Joined
Dec 20, 2014
Messages
86


I made sever edits now to the original post, I also added a list of windows features that I personal remove / keep with some basic explanation as to what they are for. So hopefully that would help.

Alternatively if you want to disable Windows Defender and you don’t trust the internet, you can launch regedit and browse to HKLMSYSTEMCurrentControlSetServicesWinDefend, find the ‘Start’ property and set the value to 4 (disabled), reboot your computer and the Windows Defender Service will now be set to disabled.

Thanks alot for this, will add it to the first post right now! :)

  • #32

Joined
Jul 30, 2012
Messages
197


There’s probably a way to restore them from the install disk if you absolutely needed to, otherwise you can just modify that second powershell command to:

Get-AppXPackage | Where Name -NotLike "*WindowsStore*" | Remove-AppXPackage
Get-AppXProvisionedPackage -online | Where DisplayName -NotLike "*WindowsStore*" | Remove-AppxProvisionedPackage –online

That will remove everything except the Windows Store app.

  • #33

Joined
Dec 20, 2014
Messages
86


There’s probably a way to restore them from the install disk if you absolutely needed to, otherwise you can just modify that second powershell command to:

Get-AppXPackage | Where Name -NotLike "*WindowsStore*" | Remove-AppXPackage
Get-AppXProvisionedPackage -online | Where DisplayName -NotLike "*WindowsStore*" | Remove-AppxProvisionedPackage –online

That will remove everything except the Windows Store app.

Yes I would also recommend to keep the Windows Store app if you plan on removing everything

  • #34

Joined
Nov 21, 2000
Messages
3,780


Even before you can start to use «Cortana» she asks that you agree to a list of things Cortana needs to access, and let me tell you its a pretty long and personal list of «things»

http://www.microsoft.com/en-us/privacystatement/default.aspx

Location services.
Speech and Input Personalization.
Text messages and email
Apps and services.
Browsing history. If you choose to send your full browsing history to Microsoft in Microsoft Edge
Search history.

Personal indeed! o.o; She needs to know the things necessary for her to do the things she was designed to do. Crazy!

  • #35

Joined
Dec 20, 2014
Messages
86


http://www.microsoft.com/en-us/privacystatement/default.aspx

Personal indeed! o.o; She needs to know the things necessary for her to do the things she was designed to do. Crazy!

I do understand that she needs access to the following personal info in order for her to function properly however this information is also cached and stored on Microsoft servers and that’s what I’m not a fan of. So I rather have cortana disabled all together including the background process and just use the local explorer search function like I always have so to each his own.

  • #36

Deleted member 273615

Guest


Check out this guide I copied from a forum (NOT my guide) — https://dl.dropboxusercontent.com/u/93831976/The Guide.pdf It removes even more bloatware and needless settings, performance loggers, etc!

I do not want to provide a link to the actual guide (on a forum) because I do not want to violate HardForum rules, which are strict regarding certain aspects.

Last edited by a moderator: Jul 31, 2015

  • #37

klank

klank

Killer of Killer NIC Threadz

Joined
Aug 22, 2011
Messages
2,177


  • #38

Deleted member 273615

Guest


  • #39

Joined
Dec 20, 2014
Messages
86


Thanks I will include this in the first post however this is a ton of optional registry edits which I advice people to use carefully

  • #40

klank

klank

Killer of Killer NIC Threadz

Joined
Aug 22, 2011
Messages
2,177


That doc has a ton of extra junk that I wouldn’t bother with. What a mess.

  • Bits & Bytes

  • Operating Systems

Like this post? Please share to your friends:
  • Windows 10 version 21h2 для систем на базе процессоров x64
  • Windows 10 tlsc скачать с официального сайта
  • Windows 10 version 21h2 для основанных на x64
  • Windows 10 tlsc 64 bit скачать торрент
  • Windows 10 tiwoker exe грузит систему