Skip to content

Commit

Permalink
New features & additions
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Raphire committed Jun 29, 2024
1 parent 625a7b3 commit c8e65b4
Show file tree
Hide file tree
Showing 13 changed files with 89 additions and 53 deletions.
1 change: 1 addition & 0 deletions Get.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
28 changes: 16 additions & 12 deletions Menus/Info
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
Expand All @@ -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)

56 changes: 37 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,54 @@ You can pick and choose exactly which modifications you want the script to make,

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](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)
- Disable the widgets service & hide icon from the taskbar.
- 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
Expand All @@ -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.
</blockquote>
Expand Down Expand Up @@ -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
```
Expand All @@ -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
```
Expand All @@ -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. |
| <pre>-DisableLockscreenTips</pre> | 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) |
Expand All @@ -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) |
Binary file modified Regfiles/Disable_Telemetry.reg
Binary file not shown.
Binary file modified Regfiles/Disable_Windows_Suggestions.reg
Binary file not shown.
Binary file added Regfiles/Hide_Gallery_from_Explorer.reg
Binary file not shown.
Binary file modified Regfiles/Sysprep/Disable_Telemetry.reg
Binary file not shown.
Binary file modified Regfiles/Sysprep/Disable_Windows_Suggestions.reg
Binary file not shown.
Binary file added Regfiles/Sysprep/Hide_Gallery_from_Explorer.reg
Binary file not shown.
Binary file modified Regfiles/Undo/Enable_Telemetry.reg
Binary file not shown.
Binary file modified Regfiles/Undo/Enable_Windows_Suggestions.reg
Binary file not shown.
Binary file added Regfiles/Undo/Show_Gallery_in_Explorer.reg
Binary file not shown.
Loading

0 comments on commit c8e65b4

Please sign in to comment.