[Bug] System Encryption Pretest fails with "Invalid parameter" / Elevator::ReadWriteFile:415 on Windows 11 25H2 (Dell Precision PW716260)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 11.7k
- Fork
- 1.4k
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của veracrypt/VeraCrypt
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 32/100
veracrypt/VeraCrypt#1995 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
veracrypt/VeraCrypt#1993 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cache password no longer worksĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
veracrypt/VeraCrypt#1991 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của veracrypt/VeraCrypt
Issue tương tự
-
Signed/unsigned mix in the EOCD backward scan rejects valid archives with a 65535-byte commentĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug game: 01008BA02525A000 ios
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/ysql kind/bug priority/medium status/awaiting-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
yugabyte/yugabyte-db#37523 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
ly05010419/MacNativeGames#2079 ·
Maintainer thường phản hồi trong vòng 1 ngày