mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Add options to enable dark mode, disable transparency & animations
This commit is contained in:
@@ -19,6 +19,14 @@ Bing, Copilot & More
|
|||||||
- Disable & remove Microsoft Copilot. (W11 only)
|
- Disable & remove Microsoft Copilot. (W11 only)
|
||||||
- Disable Windows Recall snapshots. (W11 only)
|
- Disable Windows Recall snapshots. (W11 only)
|
||||||
|
|
||||||
|
Personalisation
|
||||||
|
- Enable Dark Mode.
|
||||||
|
- Disable transparency, animations and visual effects.
|
||||||
|
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
||||||
|
- Disable the Sticky Keys keyboard shortcut. (W11 only)
|
||||||
|
- Restore the old Windows 10 style context menu. (W11 only)
|
||||||
|
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
|
||||||
|
|
||||||
File Explorer
|
File Explorer
|
||||||
- Change the default location that File Explorer opens to.
|
- Change the default location that File Explorer opens to.
|
||||||
- Show hidden files, folders & drives.
|
- Show hidden files, folders & drives.
|
||||||
@@ -39,15 +47,9 @@ Start
|
|||||||
- Disable & hide the recommended section in the start menu. (W11 only)
|
- Disable & hide the recommended section in the start menu. (W11 only)
|
||||||
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
||||||
|
|
||||||
Context menu
|
|
||||||
- Restore the old Windows 10 style context menu. (W11 only)
|
|
||||||
- Hide the 'Include in library', 'Give access to' & 'Share' options from the context menu. (W10 only)
|
|
||||||
|
|
||||||
Other
|
Other
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
||||||
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- Disable Fast Start-up to ensure a full shutdown.
|
||||||
- Disable the Sticky Keys keyboard shortcut. (W11 only)
|
|
||||||
- Option to apply changes to a different user, instead of the currently logged in user.
|
- Option to apply changes to a different user, instead of the currently logged in user.
|
||||||
- Sysprep mode to apply changes to the Windows Default user profile.
|
- Sysprep mode to apply changes to the Windows Default user profile.
|
||||||
|
|
||||||
|
|||||||
3
Get.ps1
3
Get.ps1
@@ -28,6 +28,9 @@ param (
|
|||||||
[switch]$ShowHiddenFolders,
|
[switch]$ShowHiddenFolders,
|
||||||
[switch]$ShowKnownFileExt,
|
[switch]$ShowKnownFileExt,
|
||||||
[switch]$HideDupliDrive,
|
[switch]$HideDupliDrive,
|
||||||
|
[switch]$EnableDarkMode,
|
||||||
|
[switch]$DisableTransparency,
|
||||||
|
[switch]$DisableAnimations,
|
||||||
[switch]$TaskbarAlignLeft,
|
[switch]$TaskbarAlignLeft,
|
||||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||||
[switch]$HideTaskview,
|
[switch]$HideTaskview,
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -110,6 +110,15 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
|||||||
- Disable & remove Microsoft Copilot. (W11 only)
|
- Disable & remove Microsoft Copilot. (W11 only)
|
||||||
- Disable Windows Recall snapshots. (W11 only)
|
- Disable Windows Recall snapshots. (W11 only)
|
||||||
|
|
||||||
|
#### Personalisation
|
||||||
|
|
||||||
|
- Enable Dark Mode.
|
||||||
|
- Disable transparency, animations and visual effects.
|
||||||
|
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
||||||
|
- Disable the Sticky Keys keyboard shortcut. (W11 only)
|
||||||
|
- Restore the old Windows 10 style context menu. (W11 only)
|
||||||
|
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
|
||||||
|
|
||||||
#### File Explorer
|
#### File Explorer
|
||||||
|
|
||||||
- Change the default location that File Explorer opens to.
|
- Change the default location that File Explorer opens to.
|
||||||
@@ -132,17 +141,10 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
|||||||
- Disable & hide the recommended section in the start menu. (W11 only)
|
- Disable & hide the recommended section in the start menu. (W11 only)
|
||||||
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
||||||
|
|
||||||
#### Context Menu
|
|
||||||
|
|
||||||
- Restore the old Windows 10 style context menu. (W11 only)
|
|
||||||
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
|
|
||||||
|
|
||||||
#### Other
|
#### Other
|
||||||
|
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
||||||
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- Disable Fast Start-up to ensure a full shutdown.
|
||||||
- Disable the Sticky Keys keyboard shortcut. (W11 only)
|
|
||||||
- Option to [apply changes to a different user](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#running-as-another-user), instead of the currently logged in user.
|
- Option to [apply changes to a different user](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#running-as-another-user), instead of the currently logged in user.
|
||||||
- [Sysprep mode](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#sysprep-mode) to apply changes to the Windows Default user profile. Afterwards, all new users will have the changes automatically applied to them.
|
- [Sysprep mode](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#sysprep-mode) to apply changes to the Windows Default user profile. Afterwards, all new users will have the changes automatically applied to them.
|
||||||
|
|
||||||
|
|||||||
4
Regfiles/Disable_Animations.reg
Normal file
4
Regfiles/Disable_Animations.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Control Panel\Desktop]
|
||||||
|
"UserPreferencesMask"=hex:90,12,07,80,10,00,00,00
|
||||||
4
Regfiles/Disable_Transparency.reg
Normal file
4
Regfiles/Disable_Transparency.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"EnableTransparency"=dword:00000000
|
||||||
5
Regfiles/Enable_Dark_Mode.reg
Normal file
5
Regfiles/Enable_Dark_Mode.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"AppsUseLightTheme"=dword:00000000
|
||||||
|
"SystemUsesLightTheme"=dword:00000000
|
||||||
4
Regfiles/Sysprep/Disable_Animations.reg
Normal file
4
Regfiles/Sysprep/Disable_Animations.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[hkey_users\default\Control Panel\Desktop]
|
||||||
|
"UserPreferencesMask"=hex:90,12,07,80,10,00,00,00
|
||||||
4
Regfiles/Sysprep/Disable_Transparency.reg
Normal file
4
Regfiles/Sysprep/Disable_Transparency.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"EnableTransparency"=dword:00000000
|
||||||
5
Regfiles/Sysprep/Enable_Dark_Mode.reg
Normal file
5
Regfiles/Sysprep/Enable_Dark_Mode.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"AppsUseLightTheme"=dword:00000000
|
||||||
|
"SystemUsesLightTheme"=dword:00000000
|
||||||
4
Regfiles/Undo/Enable_Animations.reg
Normal file
4
Regfiles/Undo/Enable_Animations.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Control Panel\Desktop]
|
||||||
|
"UserPreferencesMask"=hex:9e,1e,07,80,12,00,00,00
|
||||||
5
Regfiles/Undo/Enable_Light_Mode.reg
Normal file
5
Regfiles/Undo/Enable_Light_Mode.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"AppsUseLightTheme"=dword:00000001
|
||||||
|
"SystemUsesLightTheme"=dword:00000001
|
||||||
4
Regfiles/Undo/Enable_Transparency.reg
Normal file
4
Regfiles/Undo/Enable_Transparency.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"EnableTransparency"=dword:00000001
|
||||||
@@ -30,6 +30,9 @@ param (
|
|||||||
[switch]$ShowHiddenFolders,
|
[switch]$ShowHiddenFolders,
|
||||||
[switch]$ShowKnownFileExt,
|
[switch]$ShowKnownFileExt,
|
||||||
[switch]$HideDupliDrive,
|
[switch]$HideDupliDrive,
|
||||||
|
[switch]$EnableDarkMode,
|
||||||
|
[switch]$DisableTransparency,
|
||||||
|
[switch]$DisableAnimations,
|
||||||
[switch]$TaskbarAlignLeft,
|
[switch]$TaskbarAlignLeft,
|
||||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||||
[switch]$HideTaskview,
|
[switch]$HideTaskview,
|
||||||
@@ -581,6 +584,10 @@ function RestartExplorer {
|
|||||||
Write-Host "Warning: The Sticky Keys setting changes will only take effect after a reboot" -ForegroundColor Yellow
|
Write-Host "Warning: The Sticky Keys setting changes will only take effect after a reboot" -ForegroundColor Yellow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($script:Params.ContainsKey("DisableAnimations")) {
|
||||||
|
Write-Host "Warning: Animations will only be disabled after a reboot" -ForegroundColor Yellow
|
||||||
|
}
|
||||||
|
|
||||||
# Only restart if the powershell process matches the OS architecture.
|
# Only restart if the powershell process matches the OS architecture.
|
||||||
# Restarting explorer from a 32bit PowerShell window will fail on a 64bit OS
|
# Restarting explorer from a 32bit PowerShell window will fail on a 64bit OS
|
||||||
if ([Environment]::Is64BitProcess -eq [Environment]::Is64BitOperatingSystem) {
|
if ([Environment]::Is64BitProcess -eq [Environment]::Is64BitOperatingSystem) {
|
||||||
@@ -903,6 +910,19 @@ function DisplayCustomModeOptions {
|
|||||||
AddParameter 'DisableDesktopSpotlight' 'Disable the Windows Spotlight desktop background option.'
|
AddParameter 'DisableDesktopSpotlight' 'Disable the Windows Spotlight desktop background option.'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-Output ""
|
||||||
|
|
||||||
|
if ($( Read-Host -Prompt "Enable dark mode for system and apps? (y/n)" ) -eq 'y') {
|
||||||
|
AddParameter 'EnableDarkMode' 'Enable dark mode for system and apps'
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Output ""
|
||||||
|
|
||||||
|
if ($( Read-Host -Prompt "Disable transparency, animations and visual effects? (y/n)" ) -eq 'y') {
|
||||||
|
AddParameter 'DisableTransparency' 'Disable transparency effects'
|
||||||
|
AddParameter 'DisableAnimations' 'Disable animations and visual effects'
|
||||||
|
}
|
||||||
|
|
||||||
# Only show this option for Windows 11 users running build 22000 or later
|
# Only show this option for Windows 11 users running build 22000 or later
|
||||||
if ($WinVersion -ge 22000) {
|
if ($WinVersion -ge 22000) {
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
@@ -1605,6 +1625,18 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Disabling the Phone Link mobile devices integration in the start menu..." "Disable_Phone_Link_In_Start.reg"
|
RegImport "> Disabling the Phone Link mobile devices integration in the start menu..." "Disable_Phone_Link_In_Start.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'EnableDarkMode' {
|
||||||
|
RegImport "> Enabling dark mode for system and apps..." "Enable_Dark_Mode.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
'DisableTransparency' {
|
||||||
|
RegImport "> Disabling transparency effects..." "Disable_Transparency.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
'DisableAnimations' {
|
||||||
|
RegImport "> Disabling animations and visual effects..." "Disable_Animations.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
'TaskbarAlignLeft' {
|
'TaskbarAlignLeft' {
|
||||||
RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg"
|
RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg"
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user