From c8e65b460f6f603df625d3a73bb63b40be8ecc82 Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Sat, 29 Jun 2024 16:18:23 +0200 Subject: [PATCH] New features & additions * Added option to hide gallery section from File Explorer * Disabling telemetry now also disables activity history * Disabling suggestions now also disables 'Show me notifications in the Settings app' * Updated info page & README --- Get.ps1 | 1 + Menus/Info | 28 +++++---- README.md | 56 +++++++++++------ Regfiles/Disable_Telemetry.reg | Bin 3214 -> 3484 bytes Regfiles/Disable_Windows_Suggestions.reg | Bin 4734 -> 5132 bytes Regfiles/Hide_Gallery_from_Explorer.reg | Bin 0 -> 342 bytes Regfiles/Sysprep/Disable_Telemetry.reg | Bin 3232 -> 3502 bytes .../Sysprep/Disable_Windows_Suggestions.reg | Bin 4756 -> 5156 bytes .../Sysprep/Hide_Gallery_from_Explorer.reg | Bin 0 -> 344 bytes Regfiles/Undo/Enable_Telemetry.reg | Bin 3450 -> 3690 bytes Regfiles/Undo/Enable_Windows_Suggestions.reg | Bin 4728 -> 5124 bytes Regfiles/Undo/Show_Gallery_in_Explorer.reg | Bin 0 -> 342 bytes Win11Debloat.ps1 | 57 +++++++++++------- 13 files changed, 89 insertions(+), 53 deletions(-) create mode 100644 Regfiles/Hide_Gallery_from_Explorer.reg create mode 100644 Regfiles/Sysprep/Hide_Gallery_from_Explorer.reg create mode 100644 Regfiles/Undo/Show_Gallery_in_Explorer.reg diff --git a/Get.ps1 b/Get.ps1 index 6b11223..3a022f9 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -29,6 +29,7 @@ param ( [switch]$ClearStart, [switch]$ClearStartAllUsers, [switch]$RevertContextMenu, + [switch]$HideGallery, [switch]$DisableOnedrive, [switch]$HideOnedrive, [switch]$Disable3dObjects, [switch]$Hide3dObjects, [switch]$DisableMusic, [switch]$HideMusic, diff --git a/Menus/Info b/Menus/Info index b013ed6..39d2d8d 100644 --- a/Menus/Info +++ b/Menus/Info @@ -10,22 +10,24 @@ through all the settings yourself, or removing apps one by one! All Features ------------------------------------------------------------------------------------------- App Removal -- Remove a wide variety of bloatware apps +- Remove a wide variety of bloatware apps. - Remove all pinned apps from start for the current user, or for all new & existing users. (Windows 11 only) -Telemetry & Suggested Content -- Disable telemetry, diagnostic data, app-launch tracking & targeted ads. +Telemetry, Tracking & Suggested Content +- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions & ads across Windows. Bing, Copilot & More -- Disable & remove bing search & cortana in Windows search. +- Disable & remove bing web search & cortana from Windows search. - Disable Windows Copilot. (Windows 11 only) - Disable Windows Recall snapshots. (Windows 11 only) -Windows Explorer +File Explorer - Show hidden files, folders & drives. - Show file extensions for known file types. -- Hide duplicate removable drive entries from the Windows explorer navigation pane. +- Hide the gallery section from the File Explorer sidepanel. (Windows 11 only) +- Hide the 3D objects, music or onedrive folder from the File Explorer sidepanel. (Windows 10 only) +- Hide duplicate removable drive entries from the File Explorer sidepanel. Taskbar - Align taskbar icons to the left. (Windows 11 only) @@ -36,8 +38,10 @@ Taskbar Context menu - Restore the old Windows 10 style context menu. (Windows 11 only) -- Hide the 3D objects, music or onedrive folder in the Windows explorer sidepanel. (Windows 10 only) -- Hide the 'Include in library', 'Give access to' & 'Share' options in the context menu. (Windows 10 only) +- Hide the 'Include in library', 'Give access to' & 'Share' options from the context menu. (Windows 10 only) + +Other +- Disable Xbox game/screen recording (Also stops gaming overlay popups) Advanced Features - Sysprep mode to apply changes to the Windows Default user profile. @@ -47,13 +51,13 @@ Advanced Features ------------------------------------------------------------------------------------------- The default mode applies the changes that are recommended for most users, this includes: - Remove the default selection of apps, the list can be found in the 'Appslist.txt' file. -- Disable telemetry, diagnostic data, app-launch tracking & targeted ads. -- Disable & remove bing search & cortana in Windows search. +- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. +- Disable & remove bing web search & cortana from Windows search. - Disable tips, tricks, suggestions & ads across Windows. - Disable Windows Copilot. (Windows 11 only) - Show file extensions for known file types. - Disable the widget service & hide the icon from the taskbar. - Hide the Chat (meet now) icon from the taskbar. -- Hide the 3D objects folder under 'This pc' in windows explorer. (Windows 10 only) -- Hide the 'Include in library', 'Give access to' and 'Share' options in the context menu. (Windows 10 only) +- Hide the 3D objects folder under 'This pc' from File Explorer. (Windows 10 only) +- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (Windows 10 only) diff --git a/README.md b/README.md index 18942fb..521fc0b 100644 --- a/README.md +++ b/README.md @@ -10,30 +10,37 @@ You can pick and choose exactly which modifications you want the script to make, [](https://ko-fi.com/M4M5C6UPC) -## Features +## Features > [!Tip] > Select the custom mode to customize the script to your needs or select the [default mode](#default-mode) to apply the recommended changes. #### App Removal -- Remove a wide variety of bloatware apps + +- Remove a wide variety of bloatware apps. - Remove all pinned apps from start for the current user, or for all existing & new users. (Windows 11 only) -#### Telemetry & Suggested Content -- Disable telemetry, diagnostic data, app-launch tracking & targeted ads. -- Disable tips, tricks, suggestions and ads in start, settings, notifications, Windows explorer, and on the lockscreen. +#### Telemetry, Tracking & Suggested Content + +- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. +- Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. #### Bing Web Search, Copilot & More -- Disable & remove bing search & cortana in Windows search. + +- Disable & remove bing web search & cortana from Windows search. - Disable Windows Copilot. (Windows 11 only) - Disable Windows Recall snapshots. (Windows 11 only) -#### Windows Explorer +#### File Explorer + - Show hidden files, folders and drives. - Show file extensions for known file types. -- Hide duplicate removable drive entries from the Windows explorer navigation pane, so only the entry under 'This PC' remains. +- Hide the gallery section from the File Explorer sidepanel. (Windows 11 only) +- Hide the 3D objects, music or onedrive folder from the File Explorer sidepanel. (Windows 10 only) +- Hide duplicate removable drive entries from the File Explorer sidepanel, so only the entry under 'This PC' remains. #### Taskbar + - Align taskbar icons to the left. (Windows 11 only) - Hide or change the search icon/box on the taskbar. (Windows 11 only) - Hide the taskview button from the taskbar. (Windows 11 only) @@ -41,14 +48,16 @@ You can pick and choose exactly which modifications you want the script to make, - Hide the chat (meet now) icon from the taskbar. #### Context Menu + - Restore the old Windows 10 style context menu. (Windows 11 only) -- Hide the 3D objects, music or onedrive folder in the Windows explorer sidepanel. (Windows 10 only) -- Hide the 'Include in library', 'Give access to' and 'Share' options in the context menu. (Windows 10 only) +- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (Windows 10 only) #### Other + - Disable Xbox game/screen recording (Also stops gaming overlay popups) #### Advanced Features + - Sysprep mode to apply changes to the Windows Default user profile. ## Default Mode @@ -61,12 +70,12 @@ The default mode applies the changes that are recommended for most users, expand Default mode applies the following changes: - Remove the default selection of bloatware apps. (See below for full list) - - Disable telemetry, diagnostic data, app-launch tracking & targeted ads. - - Disable tips, tricks, suggestions and ads in start, settings, notifications, Windows explorer, and on the lockscreen. - - Disable & remove bing search & cortana in Windows search. + - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. + - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. + - Disable & remove bing web search & cortana from Windows search. - Disable Windows Copilot. (Windows 11 only) - Show file extensions for known file types. - - Hide the 3D objects folder under 'This pc' in Windows explorer. (Windows 10 only) + - Hide the 3D objects folder under 'This pc' from File Explorer. (Windows 10 only) - Disable the widget service & hide the icon from the taskbar. - Hide the Chat (meet now) icon from the taskbar. @@ -227,14 +236,17 @@ Download & run the script automatically via powershell. 1. Open powershell as an administrator. 2. Copy and paste the code below into powershell, press enter to run the script: + ```powershell & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Raphire/Win11Debloat/master/Get.ps1"))) ``` + 3. Wait for the script to automatically download Win11Debloat. 4. A new powershell window will open showing the Win11Debloat menu. Select either the default or custom mode to continue. 5. Carefully read through and follow the on-screen instructions. This method supports [parameters](#parameters). To use parameters simply run the script as explained above, but add the parameters at the end with spaces in between. Example: + ```powershell & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Raphire/Win11Debloat/master/Get.ps1"))) -RunDefaults -Silent ``` @@ -257,18 +269,23 @@ Manually download the script & run the script via powershell. Only recommended f 1. [Download the latest version of the script](https://github.com/Raphire/Win11Debloat/archive/master.zip), and extract the .ZIP file to your desired location. 2. Open powershell as an administrator. 3. Enable powershell execution by entering the following command: + ```powershell Set-ExecutionPolicy Unrestricted -Scope Process ``` + 4. In powershell, navigate to the directory where the files were extracted. Example: `cd c:\Win11Debloat` 5. Now run the script by entering the following command: + ```powershell .\Win11Debloat.ps1 ``` + 6. The Win11Debloat menu will now open. Select either the default or custom setup to continue. 7. Carefully read through and follow the on-screen instructions. This method supports [parameters](#parameters). To use parameters simply run the script as explained above, but add the parameters at the end with spaces in between. Example: + ```powershell .\Win11Debloat.ps1 -RemoveApps -DisableBing -Silent ``` @@ -294,12 +311,12 @@ The quick and advanced method support parameters to tailor the behaviour of the | -ClearStartAllUsers | Remove all pinned apps from start for all existing and new users. (Windows 11 update 22H2 or later only) | | -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. | | -DisableBing | Disable & remove bing web search, bing AI & cortana in Windows search. | -| -DisableSuggestions | Disable tips, tricks, suggestions and ads in start, settings, notifications and Windows explorer. | +| -DisableSuggestions | Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer. | |
-DisableLockscreenTips| Disable tips & tricks on the lockscreen. | | -RevertContextMenu | Restore the old Windows 10 style context menu. (Windows 11 only) | | -ShowHiddenFolders | Show hidden files, folders and drives. | | -ShowKnownFileExt | Show file extensions for known file types. | -| -HideDupliDrive | Hide duplicate removable drive entries from the Windows explorer navigation pane, so only the entry under 'This PC' remains. | +| -HideDupliDrive | Hide duplicate removable drive entries from the File Explorer sidepanel, so only the entry under 'This PC' remains. | | -TaskbarAlignLeft | Align taskbar icons to the left. (Windows 11 only) | | -HideSearchTb | Hide search icon from the taskbar. (Windows 11 only) | | -ShowSearchIconTb | Show search icon on the taskbar. (Windows 11 only) | @@ -310,9 +327,10 @@ The quick and advanced method support parameters to tailor the behaviour of the | -DisableWidgets | Disable the widget service & hide the widget (news and interests) icon from the taskbar. | | -DisableCopilot | Disable Windows copilot. (Windows 11 only) | | -DisableRecall | Disable Windows Recall snapshots. (Windows 11 only) | -| -HideOnedrive | Hide the onedrive folder in the Windows explorer sidepanel. (Windows 10 only) | -| -Hide3dObjects | Hide the 3D objects folder under 'This pc' in Windows explorer. (Windows 10 only) | -| -HideMusic | Hide the music folder under 'This pc' in Windows explorer. (Windows 10 only) | +| -HideGallery | Hide the gallery section from the File Explorer sidepanel. (Windows 11 only) | +| -HideOnedrive | Hide the onedrive folder from the File Explorer sidepanel. (Windows 10 only) | +| -Hide3dObjects | Hide the 3D objects folder under 'This pc' in File Explorer. (Windows 10 only) | +| -HideMusic | Hide the music folder under 'This pc' in File Explorer. (Windows 10 only) | | -HideIncludeInLibrary | Hide the 'Include in library' option in the context menu. (Windows 10 only) | | -HideGiveAccessTo | Hide the 'Give access to' option in the context menu. (Windows 10 only) | | -HideShare | Hide the 'Share' option in the context menu. (Windows 10 only) | diff --git a/Regfiles/Disable_Telemetry.reg b/Regfiles/Disable_Telemetry.reg index 308099e4a9bf7f5a2870a2bf5bc3fd0921f49f75..3ec544cd13b487a03ff99f7bbbf247fbd3ce8b8f 100644 GIT binary patch delta 144 zcmeB^oFly