7zFM has problems with \\.\PhysicalDriverX on lastest W11

Aperta
#260 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C++
Stelle
4.6k
Fork
519
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ip7z/7zip

Tutte le issue di ip7z/7zip

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.