Update Microwin-NewFirstRun.ps1 (#3938)

This commit is contained in:
Gabi
2026-01-28 19:26:44 +02:00
committed by GitHub
parent 6d9ed9026d
commit 832af914e9

View File

@@ -66,6 +66,11 @@ function Microwin-NewFirstRun {
} }
if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On') {
Write-Host "Disabling BitLocker..."
Disable-BitLocker -MountPoint $Env:SystemDrive
}
# Get BCD entries and set bootmgr timeout accordingly # Get BCD entries and set bootmgr timeout accordingly
try try
{ {