diff --git a/Assets/Features.json b/Assets/Features.json index c8268fe..63b632d 100644 --- a/Assets/Features.json +++ b/Assets/Features.json @@ -609,6 +609,18 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "DisableBitlockerAutoEncryption", + "Label": "BitLocker automatic device encryption", + "Category": "System", + "Action": "Disable", + "RegistryKey": "Disable_Bitlocker_Auto_Encryption.reg", + "ApplyText": "> Disabling BitLocker automatic device encryption...", + "UndoAction": "Enable", + "RegistryUndoKey": "Enable_Bitlocker_Auto_Encryption.reg", + "MinVersion": 22000, + "MaxVersion": null + }, { "FeatureId": "DisableModernStandbyNetworking", "Label": "Modern Standby network connectivity", diff --git a/Get.ps1 b/Get.ps1 index 745e79b..dc6897d 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -23,6 +23,7 @@ param ( [switch]$DisableGameBarIntegration, [switch]$DisableTelemetry, [switch]$DisableFastStartup, + [switch]$DisableBitlockerAutoEncryption, [switch]$DisableModernStandbyNetworking, [switch]$DisableBing, [switch]$DisableDesktopSpotlight, diff --git a/README.md b/README.md index 64d25f0..d63d604 100755 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Turn off Enhance Pointer Precision, also known as mouse acceleration. - Disable the Sticky Keys keyboard shortcut. (W11 only) - Disable fast start-up to ensure a full shutdown. +- Disable BitLocker automatic device encryption. - Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) #### Windows Update diff --git a/Regfiles/Disable_Bitlocker_Auto_Encryption.reg b/Regfiles/Disable_Bitlocker_Auto_Encryption.reg new file mode 100644 index 0000000..b678819 --- /dev/null +++ b/Regfiles/Disable_Bitlocker_Auto_Encryption.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker] +"PreventDeviceEncryption"=dword:00000001 diff --git a/Regfiles/Sysprep/Disable_Bitlocker_Auto_Encryption.reg b/Regfiles/Sysprep/Disable_Bitlocker_Auto_Encryption.reg new file mode 100644 index 0000000..b678819 --- /dev/null +++ b/Regfiles/Sysprep/Disable_Bitlocker_Auto_Encryption.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker] +"PreventDeviceEncryption"=dword:00000001 diff --git a/Regfiles/Undo/Enable_Bitlocker_Auto_Encryption.reg b/Regfiles/Undo/Enable_Bitlocker_Auto_Encryption.reg new file mode 100644 index 0000000..e14def2 --- /dev/null +++ b/Regfiles/Undo/Enable_Bitlocker_Auto_Encryption.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker] +"PreventDeviceEncryption"=- diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 2b325d0..c2fa285 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -25,6 +25,7 @@ param ( [switch]$DisableGameBarIntegration, [switch]$DisableTelemetry, [switch]$DisableFastStartup, + [switch]$DisableBitlockerAutoEncryption, [switch]$DisableModernStandbyNetworking, [switch]$DisableBing, [switch]$DisableDesktopSpotlight,