From 7a08363cba271fd7eec598f6b00fc3025e5a6fe6 Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Wed, 4 Nov 2020 01:48:42 +0100 Subject: [PATCH] Added new option to disable bing in windows search --- README.md | 7 ++++--- Regfiles/Disable_Bing_Searches.reg | Bin 0 -> 302 bytes Regfiles/Enable_Bing_Searches.reg | Bin 0 -> 302 bytes Win10Debloat.ps1 | 32 ++++++++++++++++++++--------- 4 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 Regfiles/Disable_Bing_Searches.reg create mode 100644 Regfiles/Enable_Bing_Searches.reg 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 0000000000000000000000000000000000000000..92b856cd6b8a3f0eff1609fd04874cd3b01122a3 GIT binary patch literal 302 zcmY+9&1wQc5QM+8;5_aJ=1KrV>^K_X!jBjSeO&qNo38+Md6FCYDO^de0&Q`Ozo zUB~|k1zT2>)I>UD1lDqq9Tk5v&sGajDemxLy|P+}x8gf)xHa0eQqCAKbY{vIPmI;e zL?hnCW8VB{GGi0I;pL=Pre#&=jd?)U%NJo literal 0 HcmV?d00001 diff --git a/Regfiles/Enable_Bing_Searches.reg b/Regfiles/Enable_Bing_Searches.reg new file mode 100644 index 0000000000000000000000000000000000000000..09c7f19dce136fb67b1a5f9cb794536564f893f2 GIT binary patch literal 302 zcmY+9QA+|*5QV?zp#LELfat{+!51qCLXlMqaU)8vx*)FXUD@r=SKnUhA%@}Jb7tnu zobRs}3QlY(X^8a52<+t|H5H#S4^|6NDem!Xy|P+}PvQYL+#1(hrCjsKlQS#cxMQha zCYrJkFPZz#$bCz8YBs#97G!2JM^!gwP(NpqP$eIKyL0|uo2%AxcCNdvyX!UG(C6OS psP>1o;I@$VY&bBsx0Si*a-TNU_I6$(eMWk1lG>JG^3{3!iyvRPHi`fM literal 0 HcmV?d00001 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