This will disable a number of different apps/services/features that are either useless or slow down the OS considerably.
The following script is even nicer as it comes with an UI:
https://github.com/Sycnex/Windows10Debloater
Both are written in powershell.