mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-18 11:53:37 +00:00
Merge pull request #10467 from sbrondel/patch-1
Fix incorrect EFI mount code
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user