Merge pull request #10467 from sbrondel/patch-1

Fix incorrect EFI mount code
This commit is contained in:
Tina Burden
2022-04-06 12:07:08 -07:00
committed by GitHub

View File

@ -85,8 +85,8 @@ In addition to the steps outlined above, the binary policy file must also be cop
1. Mount the EFI volume and make the directory, if it does not exist, in an elevated PowerShell prompt: 1. Mount the EFI volume and make the directory, if it does not exist, in an elevated PowerShell prompt:
```powershell ```powershell
$MountPoint = 'C:\EFI' $MountPoint = 'C:\EFIMount'
$EFIDestinationFolder = "$MountPoint\Microsoft\Boot\CiPolicies\Active" $EFIDestinationFolder = "$MountPoint\EFI\Microsoft\Boot\CiPolicies\Active"
$EFIPartition = (Get-Partition | Where-Object IsSystem).AccessPaths[0] $EFIPartition = (Get-Partition | Where-Object IsSystem).AccessPaths[0]
mountvol $MountPoint $EFIPartition mountvol $MountPoint $EFIPartition
mkdir $EFIDestinationFolder mkdir $EFIDestinationFolder