mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50:09 +00:00
Update Microwin-NewFirstRun.ps1 (#3938)
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user