I tried to use this command to see the content of my EFI partition

Underscore77 21 Reputation points
2021-09-20T06:19:08.827+00:00

I found this result online and the writer said to use this command in Powershell:
start ((Get-Partition | ? IsSystem).AccessPaths[0])
It opened up a windows explorer window supposedly showing what was inside the efi partition but there is a dialog saying "you do not have permission to access this folder, click Continue to permanently get access."
I clicked COntinue and after a few seconds there was a new dialog that said it failed and I need to go to the security tab to gain read access. So I went to the properties window but there was'nt even a security tab, so How do I gain access now?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,611 questions
{count} votes

Accepted answer
  1. Limitless Technology 39,351 Reputation points
    2021-09-20T14:27:22.653+00:00

    Hello @Underscore77

    First, do you have admin rights on the system ?

    If Yes, First open an elevated command prompt and give the EFI partition a drive letter, you can do it with mountvol or with diskpart.

    I am doing with diskpart,

    In the following example the EFI partition is on disk 0, partition 1 and will be assigned to letter b:

    diskpart
    list disk
    select disk 0
    list partition
    select partition 1
    assign letter=b
    exit

    Now kill the File Explorer process and start it with administrative privileges:

    taskkill /im explorer.exe /f
    explorer.exe

    Now you can access the EFI partition with File Explorer.

    Note that the EFI partition is a FAT32 file system partition. FAT partitions don't have the Security tab, this is a NTFS feature only.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Docs 15,141 Reputation points
    2021-09-20T06:48:28.263+00:00

    What problems are you having that you need to view the contents of the EFI partition?

    To view the contents of a partition it is usually easiest with free third party software with a right click.

    For example: Minitool Partition Wizard, Disk Genius, etc.

    If you need to use Windows commands then see if these steps work.

    Open administrative command prompt and type or copy and paste: (comments are in parenthesis)

    mountvol W: /s

    (this should label the EFI partition with the letter W)

    W:

    dir

    .
    .
    .
    .
    .
    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post: Vote = a helpful post
    .
    .
    .
    .
    .