You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

261 lines
15 KiB
Markdown

<!--
Self reminder: If i'm willing to change the repository name (again...why???)
I need to change these files:
- src\lib\start-logging.psm1
- src\lib\title-templates.psm1 (LOGO)
- CONTRIBUTING.md
- README.md
- WinDebloatTools.ps1 (Window Title)
-->
2 years ago
<h2 align="center">
<img src="src/assets/script-logo.png" style="vertical-align: bottom" width="90%">
[![PSScriptAnalyzer](https://github.com/LeDragoX/Win-Debloat-Tools/actions/workflows/powershell-linter.yml/badge.svg?style=flat)](https://github.com/LeDragoX/Win-Debloat-Tools/actions/workflows/powershell-linter.yml)
![GitHub issues](https://img.shields.io/github/issues/LeDragoX/Win-Debloat-Tools?label=Issues)
![GitHub license](https://img.shields.io/github/license/LeDragoX/Win-Debloat-Tools?color=blue&label=License)
[![Commit rate](https://img.shields.io/github/commit-activity/m/LeDragoX/Win-Debloat-Tools?label=Commit%20rate)](https://github.com/LeDragoX/Win-Debloat-Tools/commits/master)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/LeDragoX/Win-Debloat-Tools/main?label=Last%20commit)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/LeDragoX/Win-Debloat-Tools?label=Code%20size)
<i>
This Project was adapted from <a href="https://github.com/W4RH4WK/Debloat-Windows-10">W4RH4WK's Project</a>
</i>
2 years ago
</h2>
_These scripts will Customize, Debloat and Improve Privacy/Performance and System Responsiveness on Windows 10+._
This has a collection of scripts to tweak the system per category, using different functions to adjust the system settings and make Windows great again! You can also install your favorite softwares through the GUI with just one click after being selected.
> _Use on a fresh Windows install to notice the differences. Using an admin account is recommended to avoid any compatibility issues._
⚠️ **DISCLAIMER:** _You're doing this at your own risk, I am not responsible for any data loss or damage that may occur. It's not guaranteed that every feature removed from the system can be easily restored._
## 🚀 Download Latest Version
Code located in the `main` branch is considered stable, the `develop` branch contains the most recent features.
<div align="center">
<table>
<thead align="center">
<tr>
<th>Branch to Download</th>
<th>Version(s) Supported</th>
<th>Edition(s)</th>
<th>PowerShell Version</th>
</tr>
</thead>
<tbody align="center">
<tr>
<td>
<h4><a href="https://github.com/LeDragoX/Win-Debloat-Tools/archive/main.zip">⬇️ Main</a></h4>(Stable)
</td>
<td rowspan="2">22H2 or Older</td>
<td rowspan="2">Home / Pro</td>
<td rowspan="2"><img width=20px src="src/assets/powershell-icon.png" style="vertical-align: bottom" /> v5.1+</td>
</tr>
<tr>
<td>
<h4><a href="https://github.com/LeDragoX/Win-Debloat-Tools/archive/develop.zip">⬇️ Develop</a></h4>(Newer)
</td>
</tr>
</tbody>
</table>
</div>
## ✨ Usage
**To run a variant of the script, follow these steps:**
- Extract the **entire** `.zip` file to another folder.
- Run `OpenTerminalHere.cmd` (try to `run as admin` if nothing happens at all).
- Copy and Paste one of the lines below on your **Terminal** to unblock the scripts and execute it:
### GUI Version
```ps1
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"WinDebloatTools.ps1"
```
<div align="center">
![Script GUI](./src/assets/script-gui.png)
_The `Apply Tweaks` button is the main one for debloating._
</div>
### **CLI Version** (Minimal, good for automation)
```ps1
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"WinDebloatTools.ps1" 'CLI'
```
**[Scripts](./src/scripts) can be run individually, pick what you need.**
## 🔄️ Roll-Back
**If something breaks you can rely on:**
1. If you want **(almost)** everything to it's original state, use the `Undo Tweaks` button on [`WinDebloatTools.ps1`](./WinDebloatTools.ps1).
2. A restoration point done by the script itself;
3. The `Repair Windows` button on [`WinDebloatTools.ps1`](./WinDebloatTools.ps1);
## ☑️ Common Script Features
<details>
<summary>Click to expand</summary>
**This part is also valid to the _Apply Tweaks_ button on the GUI.**
- [Import all necessary _modules_ before executing everything](./src/lib/);
- Logs both script runs on `C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs`;
- [Make a Restore Point and Backup the Hosts file](./src/scripts/Backup-System.ps1);
- [Download AdwCleaner and Run the latest version for _Virus/Adware_ scan and from OOShutUp10 and import all Recommended settings from a file](./src/scripts/silent-debloat-softwares.ps1);
- [Disable _non-essential_ Telemetry from Scheduled Tasks and Optimize it](./src/scripts/Optimize-TaskScheduler.ps1);
- [Disable _heavy_ Services, but enable some on SSDs for optimum performance](./src/scripts/Optimize-ServicesRunning.ps1);
- [Remove some of the legacy system components called "_capabilities_", except the most popular ones](./src/scripts/Remove-CapabilitiesList.ps1);
- [Remove _Bloatware_ UWP Apps that comes with Windows 10+, except from my choice](./src/scripts/Remove-BloatwareAppsList.ps1);
- [Optimize Privacy by disabling more telemetry parts and changing GPOs, all through changing registry keys](./src/scripts/Optimize-Privacy.ps1);
- [Optimize Performance by changing away from default settings that slowdowns the system, utilizing _PowerShell_ commands and changing registries to disable features](./src/scripts/Optimize-Performance.ps1);
- [Apply General Personalization tweaks via Registry and _PowerShell_ commands](./src/scripts/Register-PersonalTweaksList.ps1);
- [Help improve the Security of Windows while maintaining performance](./src/scripts/Optimize-Security.ps1);
- [Disable _obsolete_ Windows optional features and enable some that might help](./src/scripts/Optimize-WindowsFeaturesList.ps1);
</details>
## ✅ GUI Script Features
<details>
<summary>Click to expand</summary>
### System Tweaks
#### Customize System Features ([Can be found here](src/utils/Individual-Tweaks.psm1))
- `Enable/Disable Dark Theme`: Apply _Dark Theme_ or _Light Theme_ on Windows;
- `Enable/Disable Activity History`: Manages the **Activity History** setting;
- `Enable/Disable Background Apps`: Manages _ALL_ the **Background Apps** settings;
- `Enable/Disable Clipboard History`: Manages the **Clipboard History** setting, that keeps a history from your clipboard pressing `Windows + V` key;
- `Enable/Disable Clipboard Sync Across Devices`: Manages the **Clipboard Sync Across Devices** setting, which allows to use the same clipboard for multiple devices (must be using a MS account);
- `Enable/Disable Cortana`: Manages the **Cortana** setting;
- `Enable/Disable Hibernate`: Manages the **Hibernate** setting;
Core changes, additions and refactor (#127) * fix: console background color changing - Add new background colors which works greatly with Powershell and Windows Terminal * docs: update ISSUE_TEMPLATEs - Log folder location - change label to only Feature Request * Fix: Tab 1 Panel 2 app order * refactor: change script tmp folder to actually be on User Temp - Get the Script Temp folder using a new function * Delete remaining from old tmp\ folder * arch: rename all powershell scripts to match PS naming - Even if it isn't approved * chore: remove unused code - Install-HEVCSupport function which doesn't work anymore * arch: rename remaining scripts - Also fix an name warning from PSScriptAnalyzer - Remove Main() functions * style: change debloat script order - Remove useless code from Remove-CapabilitiesList * feat: remove old quick assist if the new one is already installed * feat: Install Quick Assist by GUI - Remove some console output which wasn't important * BREAKING CHANGE: Attempt to correctly rename the remaining files (part 1) * fix: Attempt to correctly rename the remaining files (part 2) * Change CONTRIBUTING to a less strict policy * Fix path not being found while downloading (#95) - This is not a complete fix * Fix adwcleaner not working (#95) - Organize imports (yes, again) * Fix adwcleaner not working (yikes!) (#95) * Don't set NVIDIA services to Manual anymore (#98) - Solves issues with GeForce Experience and Control Panel * Remove more Apps: (#102) - WhatsApp - Amazon Prime Video - TikTok - Facebook - Instagram Spotify will not be removed, as i don't want to :v * Remove useless files and code - The lib Grant-RegistryPermission isn't working at all - Removing all references from this handmade lib * Prefer using "legacy" Windows 10 context menu on Windows 11 - If you dislike it you can click twice on "Enable Legacy Context Menu" to restore the default - Less laggy * Stop triggering github actions everyday * Rename powershell-linter CI * Refactor Issue templates - Need less info - Fixed punctuation. * Logs should be divided monthly * Modify Windows Explorer Navigation Pane behaviors - Hide Duplicated Removable Devices - Disable Expand to folder on navigation pane (Seems to solve: Explorer opening as the primary window without any reason) * Making disable expand to folder on navigation pane irreversible - The default is already disabled * Load PSScheduledJob Module before using it's calls (#119) * Add DELL bloatware to remove - Add Alienware apps, but keep them commented . . . I've been thinking about this for a long time... * Use less colors on terminal > This is not Cyberpunk 2077 - Change credits location * Enable Run Dialog History back (#102) - Press Win + R, then type something, you should see more stuff now. * Add Hyper-V to Optional Features (#102) * Add Windows Sandbox to Optional Features (#102) * Add new MS Edge Apps to Remove * Organize Bloatware list in each category - Add Dev Home to MSApps * Don't remove Dev Home yet, it can't be reinstalled * Winget and Chocolatey won't install while initializing the script (#110) - Every Winget/Chocolatey operation was moved to Software Install Tab. - To be able to install apps again, you need to install individually Winget and Chocolatey. - Also, you can Add or Remove Daily Upgrade for Winget and Chocolatey. - Chocolatey can now be Uninstalled! *(Be aware to uninstall everything before)* infra: Manage-Software and every code related to package managers were moved to /src/lib/package-managers/ * Update the message when a package manager was already found before enabling daily upgrade * Switch Xbox app order on list - Replace comments No code changes. * Update CONTRIBUTING - I thought i made this change before, sorry for the inconvenience. * Purge Cortana from reinstallable system apps. (#124) * When removing Microsoft Edge, keep EdgeWebView (#125) * Keep EdgeCore folder - Testing to Remove Edge but keep EdgeWebView working * Fix Remove-ItemVerified hardcode * Revert EdgeCore commit (#125) - Refactor what folders are removed (The Exclude param was broken) * Move the last package manager related file to /src/lib/package-managers/ * Allow WinDebloatTools to run asking for admin perms + + Run Windows Terminal or PowerShell depending on winget. - If script is in the wrong folder, it'll be able to detect and correct it. * Install Winget, Chocolatey and WSL on DEMAND (#110 #112) - If the user wants to install something, instead of going directly to an error, install the missing package manager. - The 1st time installing will prompt a bigger message (I don't know how this happened) * Fix PSScriptAnalyzer note. - The cmdlet 'Install-Software' returns an object of type 'System.Management.Automation.ScriptBlock' but this type is not declared in the OutputType attribute. * Add option to switch Mouse Acceleration (#102) * Add option to turn on/off Family Safety Features from Task Schedules (#104) * Improve Windows Search info (#112) - Use lib to disable/enable service for WSearch service - Isolate WSearch tweak on Services category * Fix Mouse Acceleration persistance after reboot (#102) - Changed Type to String. * Add Messenger app and Spotify (#102) - Spotify line was uncommented * Fix missing .URL file association :D (#113) - Took a long time to find out, I'm not doing this again - All .reg files should wait until finished - Add "None" type to Set-ItemPropertyVerified - Used to a specific case where REG_NONE was needed - Check if system is Windows 10, then only apply on it - Added other comment to Windows Photos App, because it's the same as Video Editor (2 apps in 1) - Create new reg file to bypass perms, solving the .url file disassociation - In Enable-LegacyContextMenu suppress the New-Item command output * Use -Encoding UTF8 parameter (#118?) * Load PSScheduledJob Module in Manage-DailyUpgradeJob (#119) - For some reason the import was missing again. * Disable Edge Tasks and Services after uninstalling (#123/#125) - Add a disclaimer to the message before Removing Edge - Fixed wildcard usage '*' in Set-ScheduledTaskState function
12 months ago
- `Enable/Disable Legacy Context Menu`: Bring back the Windows 10 **context menu** from right-clicking or default on Windows 11;
- `Enable/Disable Old Volume Control`: Manages the **Old Volume Control (Win 7/8.1)** setting;
- `Enable/Disable Online Speech Recognition`: Manages the **Online Speech Recognition** setting, by pressing the keys `Windows + H` you can speak through your mic, then use it to type text using your voice;
- `Enable/Disable Phone Link`: Manages the **Phone Link** setting, which can link your Android/iPhone devices notifications to Windows;
- `Enable/Disable Photo Viewer`: [_Enables_](./src/utils/enable-photo-viewer.reg) or [_Disables_](src/utils/disable-photo-viewer.reg) the old **Photo Viewer (Win 7/8.1)**;
- `Enable/Disable Search App for Unknown Ext.`: When running a unknown extension file, be able to search through **MS Store** for an App that can open it.
- `Enable/Disable Telemetry`: Manages the **Windows Telemetry Level** setting;
- `Enable/Disable WSearch Service`: Manages the **Windows Search Service** setting;
- `Enable/Disable Xbox Game Bar/DVR/Mode`: Manages the **Xbox Game Bar/DVR/Mode** setting, that can open Game Bar anywhere, record clips from games and change Game Mode;
#### System Debloat Tools
- `Apply Tweaks`: Run every Common Tweak scripts ([Go To **☑️ Common Script Features** section](#%EF%B8%8F-common-script-features));
- `Undo Tweaks`: Re-apply some tweaks and _Revert_ all possible ones, covering the, `ShutUp10 settings`, `Scheduled Tasks`, `Services`, `Privacy and Performance`, `Personal` and `Optional Features` tweaks, then try to `Reinstall Pre-Installed Apps`;
Core changes, additions and refactor (#127) * fix: console background color changing - Add new background colors which works greatly with Powershell and Windows Terminal * docs: update ISSUE_TEMPLATEs - Log folder location - change label to only Feature Request * Fix: Tab 1 Panel 2 app order * refactor: change script tmp folder to actually be on User Temp - Get the Script Temp folder using a new function * Delete remaining from old tmp\ folder * arch: rename all powershell scripts to match PS naming - Even if it isn't approved * chore: remove unused code - Install-HEVCSupport function which doesn't work anymore * arch: rename remaining scripts - Also fix an name warning from PSScriptAnalyzer - Remove Main() functions * style: change debloat script order - Remove useless code from Remove-CapabilitiesList * feat: remove old quick assist if the new one is already installed * feat: Install Quick Assist by GUI - Remove some console output which wasn't important * BREAKING CHANGE: Attempt to correctly rename the remaining files (part 1) * fix: Attempt to correctly rename the remaining files (part 2) * Change CONTRIBUTING to a less strict policy * Fix path not being found while downloading (#95) - This is not a complete fix * Fix adwcleaner not working (#95) - Organize imports (yes, again) * Fix adwcleaner not working (yikes!) (#95) * Don't set NVIDIA services to Manual anymore (#98) - Solves issues with GeForce Experience and Control Panel * Remove more Apps: (#102) - WhatsApp - Amazon Prime Video - TikTok - Facebook - Instagram Spotify will not be removed, as i don't want to :v * Remove useless files and code - The lib Grant-RegistryPermission isn't working at all - Removing all references from this handmade lib * Prefer using "legacy" Windows 10 context menu on Windows 11 - If you dislike it you can click twice on "Enable Legacy Context Menu" to restore the default - Less laggy * Stop triggering github actions everyday * Rename powershell-linter CI * Refactor Issue templates - Need less info - Fixed punctuation. * Logs should be divided monthly * Modify Windows Explorer Navigation Pane behaviors - Hide Duplicated Removable Devices - Disable Expand to folder on navigation pane (Seems to solve: Explorer opening as the primary window without any reason) * Making disable expand to folder on navigation pane irreversible - The default is already disabled * Load PSScheduledJob Module before using it's calls (#119) * Add DELL bloatware to remove - Add Alienware apps, but keep them commented . . . I've been thinking about this for a long time... * Use less colors on terminal > This is not Cyberpunk 2077 - Change credits location * Enable Run Dialog History back (#102) - Press Win + R, then type something, you should see more stuff now. * Add Hyper-V to Optional Features (#102) * Add Windows Sandbox to Optional Features (#102) * Add new MS Edge Apps to Remove * Organize Bloatware list in each category - Add Dev Home to MSApps * Don't remove Dev Home yet, it can't be reinstalled * Winget and Chocolatey won't install while initializing the script (#110) - Every Winget/Chocolatey operation was moved to Software Install Tab. - To be able to install apps again, you need to install individually Winget and Chocolatey. - Also, you can Add or Remove Daily Upgrade for Winget and Chocolatey. - Chocolatey can now be Uninstalled! *(Be aware to uninstall everything before)* infra: Manage-Software and every code related to package managers were moved to /src/lib/package-managers/ * Update the message when a package manager was already found before enabling daily upgrade * Switch Xbox app order on list - Replace comments No code changes. * Update CONTRIBUTING - I thought i made this change before, sorry for the inconvenience. * Purge Cortana from reinstallable system apps. (#124) * When removing Microsoft Edge, keep EdgeWebView (#125) * Keep EdgeCore folder - Testing to Remove Edge but keep EdgeWebView working * Fix Remove-ItemVerified hardcode * Revert EdgeCore commit (#125) - Refactor what folders are removed (The Exclude param was broken) * Move the last package manager related file to /src/lib/package-managers/ * Allow WinDebloatTools to run asking for admin perms + + Run Windows Terminal or PowerShell depending on winget. - If script is in the wrong folder, it'll be able to detect and correct it. * Install Winget, Chocolatey and WSL on DEMAND (#110 #112) - If the user wants to install something, instead of going directly to an error, install the missing package manager. - The 1st time installing will prompt a bigger message (I don't know how this happened) * Fix PSScriptAnalyzer note. - The cmdlet 'Install-Software' returns an object of type 'System.Management.Automation.ScriptBlock' but this type is not declared in the OutputType attribute. * Add option to switch Mouse Acceleration (#102) * Add option to turn on/off Family Safety Features from Task Schedules (#104) * Improve Windows Search info (#112) - Use lib to disable/enable service for WSearch service - Isolate WSearch tweak on Services category * Fix Mouse Acceleration persistance after reboot (#102) - Changed Type to String. * Add Messenger app and Spotify (#102) - Spotify line was uncommented * Fix missing .URL file association :D (#113) - Took a long time to find out, I'm not doing this again - All .reg files should wait until finished - Add "None" type to Set-ItemPropertyVerified - Used to a specific case where REG_NONE was needed - Check if system is Windows 10, then only apply on it - Added other comment to Windows Photos App, because it's the same as Video Editor (2 apps in 1) - Create new reg file to bypass perms, solving the .url file disassociation - In Enable-LegacyContextMenu suppress the New-Item command output * Use -Encoding UTF8 parameter (#118?) * Load PSScheduledJob Module in Manage-DailyUpgradeJob (#119) - For some reason the import was missing again. * Disable Edge Tasks and Services after uninstalling (#123/#125) - Add a disclaimer to the message before Removing Edge - Fixed wildcard usage '*' in Set-ScheduledTaskState function
12 months ago
- [`Remove Microsoft Edge`](./src/scripts/Remove-MSEdge.ps1): uninstalls **Microsoft Edge**, then remove the remaining files, **Edge Web View** files will remain untouched;
- [`Remove OneDrive`](./src/scripts/Remove-OneDrive.ps1): completely removes OneDrive from the System, re-install is possible via Win Store;
- [`Remove Xbox`](./src/scripts/Remove-Xbox.ps1): wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR;
#### Install System Apps ([Can be found here](src/utils/Install-Individual-System-Apps.psm1))
_This section contains options to restore the system apps, by downloading them from the **MS Store** (mostly) and doing **Stock configurations** (for some Apps)._
- `Dolby Audio`;
- `Microsoft Edge`;
- `OneDrive`;
- `Paint + Paint 3D`;
- `Phone Link`;
- `Sound Recorder`;
- `Taskbar Widgets`;
- `Windows Media Player (UWP)`;
- `Xbox`: Re-enable Xbox related functionalities and reinstall the Xbox Apps available on MS Store.
#### Other Tools
_This section contains tools to solve some Windows problems and get info about how much debloated the system is._
- [`Randomize System Color`](./src/scripts/other-scripts/New-SystemColor.ps1): Changes the Windows color pallette to a random generated hex color;
- [`Reinstall Pre-Installed Apps`](./src/scripts/Install-DefaultAppsList.ps1): Rebloat Windows with all the Pre-Installed Apps;
- [`Repair Windows`](./src/scripts/Repair-WindowsSystem.ps1): Try to Completely fix the Windows worst problems via Command Line;
- [`Show Debloat Info`](./src/scripts/other-scripts/Show-DebloatInfo.ps1): Make an overall check-up from disabled and enabled Windows Components (Compare before and after applying tweaks, it's a great difference);
#### Windows Update ([Can be found here](src/utils/Individual-Tweaks.psm1))
- `Enable/Disable Automatic Windows Update`: Set Windows updates to automatic or manual;
#### Optional Features ([Can be found here](src/utils/Individual-Tweaks.psm1))
_This section can manually adjust `Optional Features` from the system, working as a ON/OFF toggle._
#### Miscellaneous Features ([Can be found here](src/utils/Individual-Tweaks.psm1))
- `Enable/Disable Encrypted DNS`: Sets the DNS Client Servers to **Cloudflare's** and **Google's** (ipv4 and ipv6), and enables **DNS Over HTTPS** on _Windows 11_.
- `Enable/Disable God Mode`: Manages the hidden Desktop folder called "**God Mode**";
- `Enable/Disable Mouse Natural Scroll`: Sets the mac-like mouse scrolling behavior, basically reverts mouse scroll direction;
- `Enable/Disable Take Ownership menu`: [_Enables_](./src/utils/enable-take-ownership-context-menu.reg) or [_Disables_](src/utils/disable-take-ownership-context-menu.reg) the **Take Ownership context menu**;
- `Enable/Disable Shutdown PC shortcut`: Manages the **Shutdown Computer desktop shortcut**;
### Software Install
Core changes, additions and refactor (#127) * fix: console background color changing - Add new background colors which works greatly with Powershell and Windows Terminal * docs: update ISSUE_TEMPLATEs - Log folder location - change label to only Feature Request * Fix: Tab 1 Panel 2 app order * refactor: change script tmp folder to actually be on User Temp - Get the Script Temp folder using a new function * Delete remaining from old tmp\ folder * arch: rename all powershell scripts to match PS naming - Even if it isn't approved * chore: remove unused code - Install-HEVCSupport function which doesn't work anymore * arch: rename remaining scripts - Also fix an name warning from PSScriptAnalyzer - Remove Main() functions * style: change debloat script order - Remove useless code from Remove-CapabilitiesList * feat: remove old quick assist if the new one is already installed * feat: Install Quick Assist by GUI - Remove some console output which wasn't important * BREAKING CHANGE: Attempt to correctly rename the remaining files (part 1) * fix: Attempt to correctly rename the remaining files (part 2) * Change CONTRIBUTING to a less strict policy * Fix path not being found while downloading (#95) - This is not a complete fix * Fix adwcleaner not working (#95) - Organize imports (yes, again) * Fix adwcleaner not working (yikes!) (#95) * Don't set NVIDIA services to Manual anymore (#98) - Solves issues with GeForce Experience and Control Panel * Remove more Apps: (#102) - WhatsApp - Amazon Prime Video - TikTok - Facebook - Instagram Spotify will not be removed, as i don't want to :v * Remove useless files and code - The lib Grant-RegistryPermission isn't working at all - Removing all references from this handmade lib * Prefer using "legacy" Windows 10 context menu on Windows 11 - If you dislike it you can click twice on "Enable Legacy Context Menu" to restore the default - Less laggy * Stop triggering github actions everyday * Rename powershell-linter CI * Refactor Issue templates - Need less info - Fixed punctuation. * Logs should be divided monthly * Modify Windows Explorer Navigation Pane behaviors - Hide Duplicated Removable Devices - Disable Expand to folder on navigation pane (Seems to solve: Explorer opening as the primary window without any reason) * Making disable expand to folder on navigation pane irreversible - The default is already disabled * Load PSScheduledJob Module before using it's calls (#119) * Add DELL bloatware to remove - Add Alienware apps, but keep them commented . . . I've been thinking about this for a long time... * Use less colors on terminal > This is not Cyberpunk 2077 - Change credits location * Enable Run Dialog History back (#102) - Press Win + R, then type something, you should see more stuff now. * Add Hyper-V to Optional Features (#102) * Add Windows Sandbox to Optional Features (#102) * Add new MS Edge Apps to Remove * Organize Bloatware list in each category - Add Dev Home to MSApps * Don't remove Dev Home yet, it can't be reinstalled * Winget and Chocolatey won't install while initializing the script (#110) - Every Winget/Chocolatey operation was moved to Software Install Tab. - To be able to install apps again, you need to install individually Winget and Chocolatey. - Also, you can Add or Remove Daily Upgrade for Winget and Chocolatey. - Chocolatey can now be Uninstalled! *(Be aware to uninstall everything before)* infra: Manage-Software and every code related to package managers were moved to /src/lib/package-managers/ * Update the message when a package manager was already found before enabling daily upgrade * Switch Xbox app order on list - Replace comments No code changes. * Update CONTRIBUTING - I thought i made this change before, sorry for the inconvenience. * Purge Cortana from reinstallable system apps. (#124) * When removing Microsoft Edge, keep EdgeWebView (#125) * Keep EdgeCore folder - Testing to Remove Edge but keep EdgeWebView working * Fix Remove-ItemVerified hardcode * Revert EdgeCore commit (#125) - Refactor what folders are removed (The Exclude param was broken) * Move the last package manager related file to /src/lib/package-managers/ * Allow WinDebloatTools to run asking for admin perms + + Run Windows Terminal or PowerShell depending on winget. - If script is in the wrong folder, it'll be able to detect and correct it. * Install Winget, Chocolatey and WSL on DEMAND (#110 #112) - If the user wants to install something, instead of going directly to an error, install the missing package manager. - The 1st time installing will prompt a bigger message (I don't know how this happened) * Fix PSScriptAnalyzer note. - The cmdlet 'Install-Software' returns an object of type 'System.Management.Automation.ScriptBlock' but this type is not declared in the OutputType attribute. * Add option to switch Mouse Acceleration (#102) * Add option to turn on/off Family Safety Features from Task Schedules (#104) * Improve Windows Search info (#112) - Use lib to disable/enable service for WSearch service - Isolate WSearch tweak on Services category * Fix Mouse Acceleration persistance after reboot (#102) - Changed Type to String. * Add Messenger app and Spotify (#102) - Spotify line was uncommented * Fix missing .URL file association :D (#113) - Took a long time to find out, I'm not doing this again - All .reg files should wait until finished - Add "None" type to Set-ItemPropertyVerified - Used to a specific case where REG_NONE was needed - Check if system is Windows 10, then only apply on it - Added other comment to Windows Photos App, because it's the same as Video Editor (2 apps in 1) - Create new reg file to bypass perms, solving the .url file disassociation - In Enable-LegacyContextMenu suppress the New-Item command output * Use -Encoding UTF8 parameter (#118?) * Load PSScheduledJob Module in Manage-DailyUpgradeJob (#119) - For some reason the import was missing again. * Disable Edge Tasks and Services after uninstalling (#123/#125) - Add a disclaimer to the message before Removing Edge - Fixed wildcard usage '*' in Set-ScheduledTaskState function
12 months ago
- [Install _Winget/Chocolatey_ package managers](./src/lib/package-managers/);
- Be able to install the listed software in this script! Even from System apps.
- [**Create** or **Remove** a Daily Upgrade Task for _Winget/Chocolatey_ packages](./src/lib/package-managers/);
- Creates a new Scheduled Job to daily upgrade all available softwares via _Winget_ at **12:00** and _Chocolatey_ at **13:00**;
- Register daily upgrade logs on `C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs` and remove old log files;
- `Remove All Chocolatey Packages`: List all packages from Chocolatey which are installed and remove everything at once;
- `Upgrade All Softwares`: Upgrades all Softwares installed on your machine installed through _Winget_ and _Chocolatey_.
- WSL will only update itself, not the distros installed.
- `Install Selected`: Install the selected apps by marking the checkbox(es);
- `Uninstall Mode`: Default as OFF, clicking this will switch the `Install Selected` button to `Uninstall Selected` and uninstall every selected apps (**Advice:** differently colored buttons may not be able to uninstall completely and WSL UWP Apps, but WSL Distros will be unregistered);
</details>
## 🏅 More Debloat Scripts (Community)
<details>
<summary>Click to expand</summary>
<p>The scripts are designed to run With/Without (GUI/CLI) any user interaction. Modify them beforehand. If you want a more interactive approach then check out:</p>
- [win10script](https://github.com/ChrisTitusTech/win10script) and [winutil](https://github.com/ChrisTitusTech/winutil) (Recommended) from [ChrisTitusTech](https://github.com/ChrisTitusTech);
- [Windows10Debloater](https://github.com/Sycnex/Windows10Debloater) from [Sycnex](https://github.com/Sycnex);
- [Sophia-Script-for-Windows](https://github.com/farag2/Sophia-Script-for-Windows) from [farag2](https://github.com/farag2);
- [Windows-Optimize-Harden-Debloat](https://github.com/simeononsecurity/Windows-Optimize-Harden-Debloat) and [Windows-Optimize-Debloat](https://github.com/simeononsecurity/Windows-Optimize-Debloat) from [SimeonOnSecurity](https://github.com/simeononsecurity);
3 years ago
</details>
## 🔧 Tweak Testers
- All of _my friends and people_ who trusted on me to run the script;
- [yCr-shiddy](https://github.com/yCr-shiddy) - Helped giving more ideas and fixes;
## 🤍 Credits
- Special thanks to [LowSpecGamer](https://youtu.be/IU5F01oOzQQ?t=324), he is the reason i've adapted this script.
- Special thanks to [Fabio Akita](https://youtu.be/sjrW74Hx5Po?t=318), for believing in this project and making this script famous 🤍.
- [W4RH4WK](https://github.com/W4RH4WK) - For his project ^^
4 years ago
## 📚 Used code references
4 years ago
- [Adamx's](https://www.youtube.com/channel/UCjidjWX76LR1g5yx18NSrLA) - by [_this video_](https://youtu.be/hQSkPmZRCjc) (and script);
- [Baboo's](https://www.youtube.com/user/baboo) - by [_this video_](https://youtu.be/qWESrvP_uU8) (and commands);
- [ChrisTitusTech](https://www.youtube.com/channel/UCg6gPGh8HU2U01vaFCAsvmQ) - by having taught how to mess with _PowerShell_ in [this Stream](https://youtu.be/ER27pGt5wH0) (and his _open-source_ debloat script);
- [Daniel Persson](https://www.youtube.com/channel/UCnG-TN23lswO6QbvWhMtxpA) - by [_this video_](https://youtu.be/EfrT_Bvgles) (and script explanation);
- [matthewjberger](https://gist.github.com/matthewjberger) - by [_this script_](https://gist.github.com/matthewjberger/2f4295887d6cb5738fa34e597f457b7f).
4 years ago
## Contributing
Found a _bug_ or want a _new feature_? You can open a new `Issue` [here](https://github.com/LeDragoX/Win-Debloat-Tools/issues/new/choose).
Wanting to add improvements or fixes? Please check out the [CONTRIBUTING.md](CONTRIBUTING.md) file.
## 📝 License
Licensed under the [MIT](LICENSE.txt) license.
**MalwareBytes AdwCleaner** and **O&O ShutUp10++** have their own licenses.