diff --git a/Get.ps1 b/Get.ps1 index bc13b26..d6f2550 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -31,6 +31,7 @@ param ( [switch]$ClearStart, [switch]$ClearStartAllUsers, [switch]$RevertContextMenu, + [switch]$HideHome, [switch]$HideGallery, [switch]$DisableOnedrive, [switch]$HideOnedrive, [switch]$Disable3dObjects, [switch]$Hide3dObjects, diff --git a/README.md b/README.md index 66795ce..feb1239 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ You can pick and choose exactly which modifications you want the script to make, - Show hidden files, folders and drives. - Show file extensions for known file types. -- 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. +- Hide the Home or Gallery section from the File Explorer navigation pane. (Windows 11 only) +- Hide the 3D objects, music or OneDrive folder from the File Explorer navigation pane. (Windows 10 only) +- Hide duplicate removable drive entries from the File Explorer navigation pane, so only the entry under 'This PC' remains. #### Taskbar @@ -317,7 +317,7 @@ The quick and advanced method support parameters to tailor the behaviour of the | -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 File Explorer sidepanel, so only the entry under 'This PC' remains. | +| -HideDupliDrive | Hide duplicate removable drive entries from the File Explorer navigation pane, 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) | @@ -326,10 +326,11 @@ The quick and advanced method support parameters to tailor the behaviour of the | -HideTaskview | Hide the taskview button from the taskbar. (Windows 11 only) | | -HideChat | Hide the chat (meet now) icon from the taskbar. | | -DisableWidgets | Disable the widget service & hide the widget (news and interests) icon from the taskbar. | -| -DisableCopilot | Disable Windows copilot. (Windows 11 only) | +| -DisableCopilot | Disable and remove Windows Copilot. (Windows 11 only) | | -DisableRecall | Disable Windows Recall snapshots. (Windows 11 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) | +| -HideHome | Hide the home section from the File Explorer navigation pane and adds a toggle in the File Explorer folder options. (Windows 11 only) | +| -HideGallery | Hide the gallery section from the File Explorer navigation pane and adds a toggle in the File Explorer folder options. (Windows 11 only) | +| -HideOnedrive | Hide the OneDrive folder from the File Explorer navigation pane. (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) | diff --git a/Regfiles/Disable_Show_More_Options_Context_Menu.reg b/Regfiles/Disable_Show_More_Options_Context_Menu.reg index 0507468..eb00dc9 100644 Binary files a/Regfiles/Disable_Show_More_Options_Context_Menu.reg and b/Regfiles/Disable_Show_More_Options_Context_Menu.reg differ diff --git a/Regfiles/Hide_Gallery_from_Explorer.reg b/Regfiles/Hide_Gallery_from_Explorer.reg index cc5b2d0..235760a 100644 Binary files a/Regfiles/Hide_Gallery_from_Explorer.reg and b/Regfiles/Hide_Gallery_from_Explorer.reg differ diff --git a/Regfiles/Hide_Home_from_Explorer.reg b/Regfiles/Hide_Home_from_Explorer.reg new file mode 100644 index 0000000..ffb3a91 Binary files /dev/null and b/Regfiles/Hide_Home_from_Explorer.reg differ diff --git a/Regfiles/Sysprep/Disable_Show_More_Options_Context_Menu.reg b/Regfiles/Sysprep/Disable_Show_More_Options_Context_Menu.reg index be8d8bf..eb56745 100644 Binary files a/Regfiles/Sysprep/Disable_Show_More_Options_Context_Menu.reg and b/Regfiles/Sysprep/Disable_Show_More_Options_Context_Menu.reg differ diff --git a/Regfiles/Sysprep/Hide_Gallery_from_Explorer.reg b/Regfiles/Sysprep/Hide_Gallery_from_Explorer.reg index c589de7..8e7c725 100644 Binary files a/Regfiles/Sysprep/Hide_Gallery_from_Explorer.reg and b/Regfiles/Sysprep/Hide_Gallery_from_Explorer.reg differ diff --git a/Regfiles/Sysprep/Hide_Home_from_Explorer.reg b/Regfiles/Sysprep/Hide_Home_from_Explorer.reg new file mode 100644 index 0000000..6da5cfd Binary files /dev/null and b/Regfiles/Sysprep/Hide_Home_from_Explorer.reg differ diff --git a/Regfiles/Sysprep/Hide_Search_Taskbar.reg b/Regfiles/Sysprep/Hide_Search_Taskbar.reg index 9c12d31..94208f0 100644 Binary files a/Regfiles/Sysprep/Hide_Search_Taskbar.reg and b/Regfiles/Sysprep/Hide_Search_Taskbar.reg differ diff --git a/Regfiles/Sysprep/Show_Search_Box.reg b/Regfiles/Sysprep/Show_Search_Box.reg index 84499ee..c91b937 100644 Binary files a/Regfiles/Sysprep/Show_Search_Box.reg and b/Regfiles/Sysprep/Show_Search_Box.reg differ diff --git a/Regfiles/Sysprep/Show_Search_Icon.reg b/Regfiles/Sysprep/Show_Search_Icon.reg index 31f7f37..60a3465 100644 Binary files a/Regfiles/Sysprep/Show_Search_Icon.reg and b/Regfiles/Sysprep/Show_Search_Icon.reg differ diff --git a/Regfiles/Sysprep/Show_Search_Icon_And_Label.reg b/Regfiles/Sysprep/Show_Search_Icon_And_Label.reg index eccca00..d97d077 100644 Binary files a/Regfiles/Sysprep/Show_Search_Icon_And_Label.reg and b/Regfiles/Sysprep/Show_Search_Icon_And_Label.reg differ diff --git a/Regfiles/Undo/Show_Gallery_in_Explorer.reg b/Regfiles/Undo/Show_Gallery_in_Explorer.reg index 6363387..2b3c872 100644 Binary files a/Regfiles/Undo/Show_Gallery_in_Explorer.reg and b/Regfiles/Undo/Show_Gallery_in_Explorer.reg differ diff --git a/Regfiles/Undo/Show_Home_from_Explorer.reg b/Regfiles/Undo/Show_Home_from_Explorer.reg new file mode 100644 index 0000000..cce5aa8 Binary files /dev/null and b/Regfiles/Undo/Show_Home_from_Explorer.reg differ diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 769d4ca..b0c6da9 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -33,6 +33,7 @@ param ( [switch]$ClearStart, [switch]$ClearStartAllUsers, [switch]$RevertContextMenu, + [switch]$HideHome, [switch]$HideGallery, [switch]$DisableOnedrive, [switch]$HideOnedrive, [switch]$Disable3dObjects, [switch]$Hide3dObjects, @@ -927,8 +928,8 @@ if ((-not $global:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or ($SPP if ($WinVersion -ge 22621){ Write-Output "" - if ($( Read-Host -Prompt "Disable Windows Copilot? This applies to all users (y/n)" ) -eq 'y') { - AddParameter 'DisableCopilot' 'Disable Windows Copilot' + if ($( Read-Host -Prompt "Disable and remove Windows Copilot? This applies to all users (y/n)" ) -eq 'y') { + AddParameter 'DisableCopilot' 'Disable and remove Windows Copilot' } Write-Output "" @@ -1029,8 +1030,14 @@ if ((-not $global:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or ($SPP if ($WinVersion -ge 22000){ Write-Output "" - if ($( Read-Host -Prompt " Hide the gallery section from the File Explorer sidepanel? (y/n)" ) -eq 'y') { - AddParameter 'HideGallery' 'Hide the gallery section from the File Explorer sidepanel' + if ($( Read-Host -Prompt " Hide the Home section from the File Explorer sidepanel? (y/n)" ) -eq 'y') { + AddParameter 'HideHome' 'Hide the Home section from the File Explorer sidepanel' + } + + Write-Output "" + + if ($( Read-Host -Prompt " Hide the Gallery section from the File Explorer sidepanel? (y/n)" ) -eq 'y') { + AddParameter 'HideGallery' 'Hide the Gallery section from the File Explorer sidepanel' } } @@ -1047,8 +1054,8 @@ if ((-not $global:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or ($SPP if ($( Read-Host -Prompt "Do you want to hide any folders from the File Explorer sidepanel? (y/n)" ) -eq 'y') { Write-Output "" - if ($( Read-Host -Prompt " Hide the onedrive folder from the File Explorer sidepanel? (y/n)" ) -eq 'y') { - AddParameter 'HideOnedrive' 'Hide the onedrive folder in the File Explorer sidepanel' + if ($( Read-Host -Prompt " Hide the OneDrive folder from the File Explorer sidepanel? (y/n)" ) -eq 'y') { + AddParameter 'HideOnedrive' 'Hide the OneDrive folder in the File Explorer sidepanel' } Write-Output "" @@ -1326,6 +1333,10 @@ else { RegImport "> Enabling file extensions for known file types..." "Show_Extensions_For_Known_File_Types.reg" continue } + 'HideHome' { + RegImport "> Hiding the home section from the File Explorer navigation pane..." "Hide_Home_from_Explorer.reg" + continue + } 'HideGallery' { RegImport "> Hiding the gallery section from the File Explorer navigation pane..." "Hide_Gallery_from_Explorer.reg" continue @@ -1335,7 +1346,7 @@ else { continue } {$_ -in "HideOnedrive", "DisableOnedrive"} { - RegImport "> Hiding the onedrive folder from the File Explorer navigation pane..." "Hide_Onedrive_Folder.reg" + RegImport "> Hiding the OneDrive folder from the File Explorer navigation pane..." "Hide_Onedrive_Folder.reg" continue } {$_ -in "Hide3dObjects", "Disable3dObjects"} {