[Bug] System Encryption Pretest fails with "Invalid parameter" / Elevator::ReadWriteFile:415 on Windows 11 25H2 (Dell Precision PW716260)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by locating Elevator::ReadWriteFile and the call path that opens \\.\PhysicalDrive0 for the system-encryption pretest; the report identifies the failure at line 415. Reproduce on the stated Windows 11 25H2 Dell/NVMe setup and inspect the relevant handle and write operation. Done means the pretest succeeds on the reported setup without the invalid-parameter error, while preserving existing system-encryption behavior.
索引モデルが issue の本文から書いたものです。
説明
When attempting to set up System Encryption on the primary NVMe storage drive, the VeraCrypt Volume Creation Wizard proceeds normally until the pretest (test boot process). At this point, the wizard fails persistently with these two sequential error popups:
This might be a bug related to this specific model of mobile workstation, Dell Pro Precision 7 16 PW716260.
- First error message: "Invalid parameter. Source: VeraCrypt::Elevator::ReadWriteFile:415"
- Second error message: "Cannot initiate the system encryption pretest."
Expected behavior
The pretest should successfully write the required boot loader parameters / volume headers to the physical drive.
Actual behavior
Elevator::ReadWriteFile fails at line 415, likely due to strict volume lock requirements, missing I/O share flags, or handle creation parameters required by the Windows 11 25H2 stornvme.sys driver stack when opening physical disk handles.
Diagnostic & isolation results
- Sector Alignment: Verified native 512-byte logical sector size on both system partition C: and ESP via fsutil fsinfo sectorinfo
- VBS/HVCI: Hypervisor launch explicitly turned off (bcdedit /set hypervisorlaunchtype off), VBS disabled in registry & local group policy, confirmed as "Not active" in msinfo32
- BitLocker: Fully disabled via autounattend.xml (windows iso install media) and confirmed unencrypted via manage-bde -status
- ESP Partition Status: 350 MB FAT32 EFI System Partition, healthy, correct GPT Type GUID (c12a7328-f81f-11d2-ba4b-00a0c93ec93b), plenty of free space
- Manual ESP file injection: Manually created \EFI\VeraCrypt\ on the ESP and copied DcsBoot.efi, DcsProp, and DcsBcd.efi from the rescue disk. The error at Elevator::ReadWriteFile:415 still occurs identically. This confirms that the failure is not related to writing files onto the FAT32 filesystem of the ESP, but rather happens during direct raw sector write / volume header initialization on \.\PhysicalDrive0
- Hardware locks: Disabled Secure Boot, Dell Firmware Protection, Microsoft Pluton Processor and SED Block SID Authentication in UEFI
Steps to reproduce
- Run system volume creation wizard / encrypt system drive
- Complete wizard to the end where pretest boot is asked
- Errors will be displayed
Screenshots
Your Environment
- VeraCrypt Version: 1.26.29 (tested both .exe and .msi installers)
- OS: Windows 11 25H2 (v2 ISO build from Microsoft, clean install)
- Hardware: Dell Pro Precision 7 16 (PW716260)
- Storage: 1TB NVMe SSD (Physical Logical Sector Size: 512 bytes confirmed via fsutil fsinfo sectorinfo)
- Storage Controller Mode: Native AHCI/NVMe (Intel VMD/RAID explicitly disabled in UEFI)
- Firmware: UEFI mode, TPM 2.0 active, Secure Boot disabled for testing, Microsoft Pluton Security Processor disabled, SED Block SID Authentication disabled
- 主要言語
- C
- スター
- 11.7k
- フォーク
- 1.4k
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 28
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
veracrypt/VeraCrypt のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
veracrypt/VeraCrypt#1995 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
veracrypt/VeraCrypt#1993 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
veracrypt/VeraCrypt#1991 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
veracrypt/VeraCrypt の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug game: 01008BA02525A000 ios
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area/ysql kind/bug priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#37523 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
ly05010419/MacNativeGames#2079 ·
メンテナーはふだん 1 日以内に返信