diff --git a/README.md b/README.md index b2ab4b4..6f3e5e4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Win10Debloat -A simple powershell script that allows you to remove most pre-installed windows 10 apps, hide the 3d objects, onedrive and music folder from 'This pc' in windows explorer and disable the 'Share', 'Give access to' and 'Include in library' options in the context menu. +A simple powershell script that allows you to remove most pre-installed windows 10 apps, hide the 3D objects, onedrive and music folder from 'This pc' in windows explorer, disable bing in windows search and declutter the context menu. ## How to run Step 1. Download the script by clicking the green 'Code' button on the main github page, and extract the .ZIP file to your preferred location. @@ -14,7 +14,7 @@ Step 5. Once the script has executed, restart your pc to ensure all changes are Step 6. Done! -## Apps that can be removed +## Bloatware Apps By default, this script will remove most, but not all of the pre-installed windows 10 applications. You configure which applications are removed by this script by editing the apps list found in the 'Win10Debloat.ps1' file. ### These apps will be deleted by default: @@ -63,10 +63,11 @@ By default, this script will remove most, but not all of the pre-installed windo - Microsoft.XboxGamingOverlay - Microsoft.XboxSpeechToTextOverlay -## Other Optional Changes +## Other (Optional) Changes - Hide the onedrive folder in the windows explorer sidebar. - Hide the 3D objects folder under 'This pc' in windows explorer. - Hide the music folder under 'This pc' in windows explorer. +- Disable bing in windows search. - Disable the 'Include in library' from context menu. - Disable the 'Give access to' from context menu. - Disable the 'Share' from context menu. diff --git a/Regfiles/Disable_Bing_Searches.reg b/Regfiles/Disable_Bing_Searches.reg new file mode 100644 index 0000000..92b856c Binary files /dev/null and b/Regfiles/Disable_Bing_Searches.reg differ diff --git a/Regfiles/Enable_Bing_Searches.reg b/Regfiles/Enable_Bing_Searches.reg new file mode 100644 index 0000000..09c7f19 Binary files /dev/null and b/Regfiles/Enable_Bing_Searches.reg differ diff --git a/Win10Debloat.ps1 b/Win10Debloat.ps1 index f47a9a8..550ebb0 100644 --- a/Win10Debloat.ps1 +++ b/Win10Debloat.ps1 @@ -1,17 +1,23 @@ -$remove_apps = Read-Host "Do you want to remove the pre-installed windows 10 apps? (y/n)" +Write-Output "-------------------------------------------------------------------------------------------" +Write-Output "Win10Debloat Script" +Write-Output "-------------------------------------------------------------------------------------------" -$disable_onedrive = Read-Host "Do you want to hide the onedrive folder in windows explorer? (y/n)" +$remove_apps = Read-Host "Remove the pre-installed windows 10 apps? (y/n)" -$disable_3d_objects = Read-Host "Do you want to hide the 3D objects folder in windows explorer? (y/n)" +$disable_onedrive = Read-Host "Hide the onedrive folder in windows explorer? (y/n)" -$disable_music = Read-Host "Do you want to hide the music folder in windows explorer? (y/n)" +$disable_3d_objects = Read-Host "Hide the 3D objects folder in windows explorer? (y/n)" -$disable_context = Read-Host "Do you want to disable the contextmenu entries for: Share, Give access to and Include in library? (y/n)" +$disable_music = Read-Host "Hide the music folder in windows explorer? (y/n)" + +$disable_bing_searches = Read-Host "Disable bing in windows search? (y/n)" + +$disable_context = Read-Host "Disable the contextmenu entries for: Share, Give access to and Include in library? (y/n)" Write-Output "" if ($remove_apps -eq 'y') { - Write-Output "Uninstalling pre-installed windows 10 applications..." + Write-Output "> Removing pre-installed windows 10 apps..." $apps = @( # These apps will be uninstalled by default: @@ -77,26 +83,32 @@ if ($remove_apps -eq 'y') { } if ($disable_onedrive -eq 'y') { - Write-Output "Disabling the onedrive folder in windows explorer..." + Write-Output "> Hiding the onedrive folder in windows explorer..." regedit /s $PSScriptRoot\Regfiles\Hide_Onedrive_Folder.reg } if ($disable_3d_objects -eq 'y') { - Write-Output "Disabling the 3D objects folder in windows explorer..." + Write-Output "> Hiding the 3D objects folder in windows explorer..." regedit /s $PSScriptRoot\Regfiles\Hide_3D_Objects_Folder.reg } if ($disable_music -eq 'y') { - Write-Output "Disabling the music folder in windows explorer..." + Write-Output "> Hiding the music folder in windows explorer..." regedit /s $PSScriptRoot\Regfiles\Hide_Music_folder.reg } +if ($disable_bing_searches -eq 'y') { + Write-Output "> Disabling bing in windows search..." + + regedit /s $PSScriptRoot\Regfiles\Disable_Bing_Searches.reg +} + if ($disable_context -eq 'y') { - Write-Output "Removing contextmenu entries for: Share, Include in library & Give access..." + Write-Output "> Disabling contextmenu entries for: Share, Include in library & Give access..." regedit /s $PSScriptRoot\Regfiles\Disable_Share_from_context_menu.reg regedit /s $PSScriptRoot\Regfiles\Disable_Include_in_library_from_context_menu.reg