Skip to content

[WIP] Attempting to implement Windows 11 TPM/RAM Bypass - Need help with boot loop #147

@Nguyen12345tt

Description

@Nguyen12345tt

Description I am working on a feature to bypass Windows 11 hardware requirements (TPM, Secure Boot, RAM) similar to Rufus.

The Approach I modified core.py to generate an autounattend.xml file using RunSynchronousCommand to inject registry keys into HKLM\SYSTEM\Setup\LabConfig.

The Problem Although the file is created, I am encountering stability issues:

Sometimes the USB filesystem becomes corrupted after writing.

On some machines (HP UEFI), booting from the USB causes an immediate reboot loop or fails to load Windows Setup.

Code Snippet tried: I tried using os.fsync() to ensure data integrity, but the issue persists.

Python

Snippet of what I tried

with open(path, 'w', encoding='utf-8') as f:
f.write(xml_content)
f.flush()
os.fsync(f.fileno())
Request Has anyone implemented a safe way to write to the NTFS partition properly within the WoeUSB flow without causing corruption? Any advice on handling the write-sync process on Linux would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions