7zFM has problems with \\.\PhysicalDriverX on lastest W11
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Start by tracing how 7-Zip opens physical drives for listing, then compare its access and sharing options with the Windows 11 error reported for \.\PhysicalDrive0. Reproduce with the listed 7z l commands, including -ssw, on a system where the drive contains the running Windows installation. Done means 7-Zip can open and browse the disk, or the cause and supported behavior are established.
Written by the indexing model from the issue text.
Description
Cannot open \.\PhysicalDrive0 on recent Windows 11 — sharing violation
On Windows 11, 7-Zip 26.04 can no longer open a physical disk that contains the running Windows installation.
Running 7-Zip as Administrator:
7z l "\.\PhysicalDrive0"
returns:
ERROR: The process cannot access the file because it is being used by another process.
\.\PhysicalDrive0
System ERROR:
The process cannot access the file because it is being used by another process.
7z l -ssw "\.\PhysicalDrive0" gives the same error.
Get-CimInstance Win32_DiskDrive correctly lists \.\PHYSICALDRIVE0, so the device itself is present and accessible to Windows.
In older Windows 11 / Windows 10 versions I could open the physical disk in 7-Zip and browse its GPT partitions, including an ext4 partition. In the current system, entering \.\PhysicalDrive0 in 7zFM just returns to \..
The disk contains the currently running Windows installation, so it is naturally in use.
Is this caused by a recent Windows change, or does 7-Zip need to open the physical disk with a different sharing/access mode?
- Dominant language
- C++
- Stars
- 4.6k
- Forks
- 519
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ip7z/7zip
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
area::installer documentation engine::sd enhancement wg::platform-core
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
lemonade-sdk/lemonade#4349 ·
Maintainers usually reply within 1 day
-
Python example: list a model's scenes and their camerasPossibly taken @rudraparmar76 claimed this today. Opendocumentation good first issue python
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
iamahsanmehmood/openskp#796 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tenstorrent/tt-umd#4183 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
odelaneau/GLIMPSE#353 · 1 comment ·
Maintainers usually reply within 4 days