Hey Dreamers! This time around, let’s talk about Windows 10 Debloating and Optimization. Microsoft Windows 10 in my opinion is one of the best Windows Operating System the company has to offer, aside from the bloatware and telemetry that comes with it.
Update (22-Aug-2020): Windows 10 Debloating and Optimization procedure seems to fix the issue wherein Windows says “It’s time to update cannot install software..”. If that issue appears, you will not be able to install anything unless you update Windows. You can use the procedure as explained here to remove that message. Just make sure to execute the “optimize-windows-update.ps1” script, as addition to the other steps.
In this article, we will discuss about Windows 10 Debloating and Optimization. The following tools are required in order to be able to proceed with the configuration:
1. W4RH4WK Debloat Windows 10 PowerShell scripts. It can be downloaded here. While in the GitHub page, just click Code > Download ZIP
2. Windows PowerShell command prompt. Its already included and installed in Windows 10 Pro. If Window 10 version is home, it has to be installed and added manually.
3. Command Prompt and Notepad
4. Group Policy Editor (gpedit, included in Windows 10 Pro). Group Policy Editor is required in order to disable automatic updates manually.
** Steps for Windows 10 Debloating and Optimization **
1. Go to Start menu, type PowerShell then right click it and “Run as Administrator”
2. In PowerShell command prompt, type and execute the following command:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
Note: The command above will enable execution of PowerShell scripts for the current use
3. Download W4RH4WK Debloat Windows 10 PowerShell scripts, as shown above this post. Extract the zip file somewhere in your computer (e.g. Desktop or Documents folder). In PowerShell, change the directory to the folder where the debloat script files are located (sample command below)
Warning: The debloater scripts will render some application unusable, so please check each script and comment codes that corresponds to the app that you want to use and excluded with the Debloating process. For example, block-telemetry.ps1 and remove-default-apps.ps1 have lines that will cause issues with Skype. Find and disable those code lines for Skype if you use it so that you will not have problems later on. Also, there is no undo or rollback script, so please proceed at your own risk.
4. In PowerShell type and execute the following command:
ls -Recurse *.ps*1 | Unblock-File
Note: Above command will unblock all powershell script in current directory
5. Next, type and execute the following to run the first Debloater script
The first script, block-telemetry.ps1 will block the Windows 10 telemetry operations. Telemetry is the operation done by Windows in the background that collects information and sends it automatically to Microsoft servers without user permission and consent.
6. Execute .\disable-services.ps1 and wait for it to finish
7. Next, type and execute the following to disable Windows Defender
Note: The script will throw an error at first run, as shown below:
To fix the error, open “disable-windows-defender.ps1” in Notepad or PowerShell ISE and you will see the code comment below:
Just restart the computer and run the script again. You should see the following below (means that it is successful):
8. Run the remaining Debloater script files
- Ran already
ok — block-telemetry.ps1
ok — disable-services.ps1
ok — disable-windows-defender.ps1
- Next scripts to run
- Scripts to skip
Note: I chose to skip both optimize-user-interface.ps1 and optimize-windows-update.ps1 scripts because I prefer to do it manually myself (manual method will be shown later on). Its up to you if you want to use the scripts above.
9. Manually optimize Windows user interface
Windows user interface comes with some flashy effects and visual eye candy. It may look good in the eye however it is an extra overhead for your computer and may render some machine sluggish.
To optimize Windows user interface, First open Windows Explorer then right click This PC or My Computer. Another way to do it is by pressing Windows key on the keyboard plus Pause/Break. In the next dialog box, click Advanced system settings > Advanced tab then Settings button
Next, click Adjust for best performance, then check the following boxes below. After that, click Apply then OK
10. Manually Disable Windows Automatic Update via Group Policy Editor (gpedit)
Do this at your own risk. Window update is important and security maybe compromised without it. In my case, I don’t want any update to happen in the background and hinder me from opening my computer when I have important things to do so I need to disable it and run it manually.
To disable Windows Automatic Update, run command line (CMD) as administrator then type gpedit. It will open the gpedit dialog box. Then navigate to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Update > Find Configure Automatic Updates then double click it
In the next dialog, click disabled then Apply > OK. This setting will disable Windows automatic update and will not download updates without any consent in the background.
So that’s it! We are finally done in Windows 10 Debloating and Optimization. I hope this post managed to help you in the process. There is also an available step by step video tutorial here of the same topic, please check it also. Thanks for reading and let me know your thoughts in the comments section below. Till next time.