Cleaning the bloat from Windows 10

OutlawXGP

Weaksauce
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


Code:
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.

Code:
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

Code:
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:

Code:
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 HKLM\SYSTEM\CurrentControlSet\Services\WinDefend, 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
Code:
@echo off
cls

set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.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%\Microsoft\OneDrive" /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_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{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_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection

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

Code:
@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 "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\utilman.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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /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 "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v "DownloadMode" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /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_ROOT\exefile\shellex\ContextMenuHandlers\PintoStartScreen" /f > NUL 2>&1
reg delete "HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\PintoStartScreen" /f > NUL 2>&1
reg delete "HKEY_CLASSES_ROOT\mscfile\shellex\ContextMenuHandlers\PintoStartScreen" /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 "HKCU\Control Panel\Desktop\WindowMetrics" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLM\COMPONENTS\DerivedData\Components\amd64_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 "HKLM\COMPONENTS\DerivedData\Components\amd64_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 "HKLM\COMPONENTS\DerivedData\Components\amd64_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 "HKLM\COMPONENTS\DerivedData\Components\amd64_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 "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DoNotTrack" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "Search Page" /t REG_SZ /d "http://www.google.de" /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "Start Page Redirect Cache" /t REG_SZ /d "http://www.google.de" /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceComplete" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceComplete" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f > NUL 2>&1
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "CortanaEnabled" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows 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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto 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 "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /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:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.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 "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d 1 /f > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Verification" /Disable > NUL 2>&1
del "C:\ProgramData\Microsoft\Windows Defender\Scans\mpcache*" /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 "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /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 "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /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%\system32\drivers\etc\hosts" "%WINDIR%\system32\drivers\etc\hosts.bak" > NUL 2>&1
attrib -r "%WINDIR%\system32\drivers\etc\hosts" > NUL 2>&1
FIND /C /I "vortex.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex.data.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "vortex-win.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex-win.data.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "telecommand.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telecommand.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "telecommand.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "oca.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 oca.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "oca.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 oca.telemetry.microsoft.com.nsatc.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "sqm.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "sqm.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "watson.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "watson.telemetry.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.telemetry.microsoft.com.nsatc.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "redir.metaservices.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 redir.metaservices.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "choice.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 choice.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "choice.microsoft.com.nsatc.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 choice.microsoft.com.nsatc.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 df.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "reports.wes.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 reports.wes.df.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "services.wes.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 services.wes.df.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "sqm.df.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 sqm.df.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "watson.ppe.telemetry.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 watson.ppe.telemetry.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "telemetry.appex.bing.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.appex.bing.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "telemetry.urs.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.urs.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "telemetry.appex.bing.net:443" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 telemetry.appex.bing.net:443>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "settings-sandbox.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 settings-sandbox.data.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "vortex-sandbox.data.microsoft.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^0.0.0.0 vortex-sandbox.data.microsoft.com>>%WINDIR%\system32\drivers\etc\hosts
attrib +r "%WINDIR%\system32\drivers\etc\hosts" > 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

Code:
@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 "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\utilman.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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /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 "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v "DownloadMode" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /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_ROOT\exefile\shellex\ContextMenuHandlers\PintoStartScreen" /t REG_SZ /d "{470C0EBD-5D73-4d58-9CED-E91E22E23282}" /f > NUL 2>&1
reg add "HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\PintoStartScreen" /t REG_SZ /d "{470C0EBD-5D73-4d58-9CED-E91E22E23282}" /f > NUL 2>&1
reg add "HKEY_CLASSES_ROOT\mscfile\shellex\ContextMenuHandlers\PintoStartScreen" /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 "HKCU\Control Panel\Desktop\WindowMetrics" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 0 /f > NUL 2>&1
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 3 /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Policies\Microsoft\MRT" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /f > NUL 2>&1
reg delete "HKLM\COMPONENTS\DerivedData\Components\amd64_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 "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DoNotTrack" /f > NUL 2>&1
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "Search Page" /t REG_SZ /d "http://go.microsoft.com/fwlink/?LinkId=54896" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "Start Page Redirect Cache" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceComplete" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /f > NUL 2>&1
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main" /v "RunOnceComplete" /f > NUL 2>&1
reg delete "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /f > NUL 2>&1
reg delete "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /f > NUL 2>&1
reg delete "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "CortanaEnabled" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /f > NUL 2>&1
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows 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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto 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 "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /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 "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /f > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows 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 "Microsoft\Windows\AppID\SmartScreenSpecific" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Enable > NUL 2>&1
schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /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 "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /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%\system32\drivers\etc\hosts" > NUL 2>&1
ren "%WINDIR%\system32\drivers\etc\hosts.bak" "hosts" > NUL 2>&1
attrib +r "%WINDIR%\system32\drivers\etc\hosts" > 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

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations]
".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:

B00nie

[H]F Junkie
Joined
Nov 1, 2012
Messages
9,287
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.
 

MrGuvernment

Fully [H]
Joined
Aug 3, 2004
Messages
20,300
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.
 

demingo

Trump is My President!
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. :)
 

MrGuvernment

Fully [H]
Joined
Aug 3, 2004
Messages
20,300
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?
 
D

Deleted member 245375

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

HeavensCloud

Oswego, not shitty as Buffalo
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?
 
  • Like
Reactions: AK0tA
like this

HeavensCloud

Oswego, not shitty as Buffalo
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.
 
  • Like
Reactions: AK0tA
like this

YeuEmMaiMai

Fully [H]
Joined
Jun 11, 2004
Messages
28,456
I would like to know how to remove the Windows 8.1 backup that was created when Windows 10 was installed...
 

YeuEmMaiMai

Fully [H]
Joined
Jun 11, 2004
Messages
28,456
OK I got it, thanks, totally breeze right over that. freed up 23GB of my 128GB SSD
 

PCMusicGuy

[H]ard|Gawd
Joined
Feb 9, 2006
Messages
1,212
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:

OutlawXGP

Weaksauce
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.
 
  • Like
Reactions: AK0tA
like this

svet-am

Supreme [H]ardness
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.
 

OutlawXGP

Weaksauce
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:

svet-am

Supreme [H]ardness
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

Code:
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.
 

OutlawXGP

Weaksauce
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

Code:
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,
 

SuperSubZero

2[H]4U
Joined
Nov 21, 2000
Messages
3,756
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".
 

OutlawXGP

Weaksauce
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"
 

Domingo

Fully [H]
Joined
Jul 30, 2004
Messages
20,104
If you kill off the modern apps - is there any way to ever get them back?
 

Jaymzkerten

Limp Gawd
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 HKLM\SYSTEM\CurrentControlSet\Services\WinDefend, 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.
 

svet-am

Supreme [H]ardness
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.
 

OutlawXGP

Weaksauce
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 HKLM\SYSTEM\CurrentControlSet\Services\WinDefend, 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! :)
 

Jaymzkerten

Limp Gawd
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:

Code:
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.
 

OutlawXGP

Weaksauce
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:

Code:
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
 

SuperSubZero

2[H]4U
Joined
Nov 21, 2000
Messages
3,756
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!
 

OutlawXGP

Weaksauce
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.
 
D

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:

OutlawXGP

Weaksauce
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
 

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.
 
Top