This project provides a robust framework for managing a bootable Ventoy environment within a Virtual Hard Disk (VHD) on Windows.
| Category | Path | Purpose |
|---|---|---|
| Project Root | C:\ventoy |
Base container for all assets. |
| VHD File | C:\ventoy\ventoy.vhd |
1GiB fixed-size bootable virtual disk. |
| Backup Dir | C:\ventoy\boot |
Storage for BCD backups. |
| Logs Dir | C:\ventoy\logs |
Output for log-ventoy-vhd-sync.ps1 and automation audits. |
| Scripts Dir | C:\ventoy\scripts |
Storage for PS1 scripts and XML task templates. |
The synchronization scripts expect the Ventoy Link tool to be present inside the VHD at:
[VHD_ROOT]\ventoy\VentoyVlnk.exe
setup-directories.ps1: Run first to initializeboot,scripts, andlogs.create-ventoy-vhd.ps1: Provisions the required VHD boot container.unmount-ventoy-vhd.ps1: Run after Ventoy installation to allow safe Microsoft BCDEdit operations.ventoy-vhd-sync.ps1: The core logic for generating and moving.vlnk.isofiles (triggered by tasks).log-ventoy-vhd-sync.ps1: Wraps the sync process to generateC:\ventoy\logs\sync_[Weekday].logfor auditing.ventoy-watcher.ps1: Optional real-time monitor via FileSystemWatcher.
- Microsoft BCDEdit Guide — Official documentation for BCD management.
- Ventoy Official Documentation — Technical details on VHD boot requirements.
- Task Scheduler Schema — XML standards for the Windows Task Scheduler.