You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did check the run from RAM box and also tried with the Ventoy compatible enabled option.
Seems it can't find the path to the Include folder, even it's in System32.
I can confirm it's working in another PXE environment while booting the boot.wim file.
Didn't test it now, but used it in the past with Serva on older builds.
I'm wondering if iVentoy is taking over the shell and not passing on the environment correctly. it does weird stuff like that in order to inject itself into the startup with the regular Ventoy and then runs the normal shell after the fact if you don't have the compatibility option turned on.
one thing you can test is try turning on ProtectPE. you don't have to set a password, just set an expiration date and see if it boots up ok. That will basically put ProtectPE in between iVentory and the PhoenixPE loader if thats the case.
I'm curious now, so I'll try and give iVentory a test over the weekend.
It's pretty much what I thought. iventoy is taking over the boot process and injects vtoype.exe that it unpacks from an encrypted archive into the boot bypassing HKLM\SYSTEM\Setup > Cmdline . when it finally gets around to launching Cmdline to finish the boot process it passes its own enviornment block as the startin folder. this breaks the PhoenixPE loader because Autoit looks for an Includes folder in the same directory as Autoit3.exe says its calling from. When we run ourseleves we are running Autoit3.exe directly from the system context so it fineds the includes in X:\Windows\System32\Includes. when ventoy calls Autoit3.exe it doesn' pass the full start path so it calls from vtoype.exe path. something like X:\iventoy\ so its looking for includes in X:\iventoy\Includes. Pretty sloppy/hacky work on iVentoy's part.
unlike ventoy, the iventoy source isn't aviailabe so I have to debug.
I use TinyPXEServer. from erwan back in the old bootland/reboot days. It's not as pretty or "easy" to configure as iVentoy but it works for me. Both use iPXE on the back end, but with TinyPXE i can use grub4dos or isolinux and get a nicer menu system besides.
I many try opening an issue with longpanda and see if he is willing to fix the issue, but outside that there isn't much else to do from this end since iVentoy is patching memory at before boot there is nothing we can launch before iVentoy already has it's hooks in the system.
I've had the same problem with this issue.
I also read this issue and tried X:\include, X:\ventoy\include, X:\iventoy\include, but failed, and I changed #include to the absolute path to complete the boot. I then checked where the autoit3.exe file runs: "X:\Windows\System32\ventoy\AutoIt3.exe"
There's a way to use the tinyPXEServer.
But, if you want to use iVentoy, it seems that action can be done in two ways.
Change all #include to absolute path.
Copy X:\Windows\System32\include folder to X:\Windows\System32\ventoy\include folder.
I'll test the 2nd method tomorrow.
I hope this issue will help you a lot.
I am Korean and I am sorry that I am not good at English.
I've had the same problem with this issue.
I also read this issue and tried X:\include, X:\ventoy\include, X:\ventoy\include, X:\iventoy\include, but failed, and I changed #include to the absolute path to complete the boot. I then checked where the autoit3.exe file runs: "X:\Windows\System32\ventoy\AutoIt3.exe"
There's a way to use the tinyPXEServer.
But, if you want to use iVentoy, it seems that action can be done in two ways.
Change all #include to absolute path.
Copy X:\Windows\System32\include folder to X:\Windows\System32\ventoy\include folder.
I'll test the 2nd method tomorrow.
I hope this issue will help you a lot.
I am Korean and I am sorry that I am not good at English.
I've had the same problem with this issue. I also read this issue and tried X:\include, X:\ventoy\include, X:\iventoy\include, but failed, and I changed #include to the absolute path to complete the boot. I then checked where the autoit3.exe file runs: "X:\Windows\System32\ventoy\AutoIt3.exe" There's a way to use the tinyPXEServer. But, if you want to use iVentoy, it seems that action can be done in two ways.
Change all #include to absolute path.
Copy X:\Windows\System32\include folder to X:\Windows\System32\ventoy\include folder.
I'll test the 2nd method tomorrow. I hope this issue will help you a lot. I am Korean and I am sorry that I am not good at English.
I tried the second method, but it failed
It was rebooted without any error message, so it was impossible to determine the cause
But I found an additional way
3. Load Windows\System32\config\DEFAULT in wim to add the registry key below
[\Software\AutoIt v3\AutoIt]
"Include"="X:\Windows\System32\include;"
(PE_DEFAULTS is hive load DEFAULT)
The third method is recommended because you can select the desired path and set it up easily
Does not look like the author has been active on this project in some time, so my hopes are not high that this will be resolved anytime soon.
I added the explicit Include path for Autoit3, which should help in the meantime, but isn't a complete solution as there is still the potential for path resolution issues.
Activity
homes32 commentedon Jan 30, 2026
For PXE booting you must enable
Run all programs from RAM (Boot.wim)on the Source Config script.I use iPXE with TinyPXE server to boot PhoenixPE on a regular basis, but have not tried iVentoy.
kevinwijnb commentedon Jan 30, 2026
I did check the run from RAM box and also tried with the Ventoy compatible enabled option.
Seems it can't find the path to the Include folder, even it's in System32.
I can confirm it's working in another PXE environment while booting the boot.wim file.
Didn't test it now, but used it in the past with Serva on older builds.
Is there a chance you can try yours with iVentoy?
homes32 commentedon Jan 31, 2026
I'm wondering if iVentoy is taking over the shell and not passing on the environment correctly. it does weird stuff like that in order to inject itself into the startup with the regular Ventoy and then runs the normal shell after the fact if you don't have the compatibility option turned on.
one thing you can test is try turning on ProtectPE. you don't have to set a password, just set an expiration date and see if it boots up ok. That will basically put ProtectPE in between iVentory and the PhoenixPE loader if thats the case.
I'm curious now, so I'll try and give iVentory a test over the weekend.
kevinwijnb commentedon Jan 31, 2026
Thanks for all your hard work!
I'm also testing it this weekend.
This time I start from scratch, I wonder if my project or PhoenixPE code is somehow corrupted.
homes32 commentedon Jan 31, 2026
It's pretty much what I thought. iventoy is taking over the boot process and injects vtoype.exe that it unpacks from an encrypted archive into the boot bypassing
HKLM\SYSTEM\Setup > Cmdline. when it finally gets around to launchingCmdlineto finish the boot process it passes its own enviornment block as thestartinfolder. this breaks the PhoenixPE loader because Autoit looks for anIncludesfolder in the same directory as Autoit3.exe says its calling from. When we run ourseleves we are running Autoit3.exe directly from the system context so it fineds the includes inX:\Windows\System32\Includes. when ventoy calls Autoit3.exe it doesn' pass the full start path so it calls from vtoype.exe path. something likeX:\iventoy\so its looking for includes inX:\iventoy\Includes. Pretty sloppy/hacky work on iVentoy's part.unlike ventoy, the iventoy source isn't aviailabe so I have to debug.
kevinwijnb commentedon Jan 31, 2026
Whoa, that's indeed a very long debug!
Maybe an idea to create your own open source PXE HTTP boot? 😄
If it's to much to ask in terms of iVentoy, I should perhaps use another program for my PXE boot.
homes32 commentedon Feb 1, 2026
I use TinyPXEServer. from erwan back in the old bootland/reboot days. It's not as pretty or "easy" to configure as iVentoy but it works for me. Both use iPXE on the back end, but with TinyPXE i can use grub4dos or isolinux and get a nicer menu system besides.
I many try opening an issue with longpanda and see if he is willing to fix the issue, but outside that there isn't much else to do from this end since iVentoy is patching memory at before boot there is nothing we can launch before iVentoy already has it's hooks in the system.
kevinwijnb commentedon Feb 1, 2026
I will give TinyPXEServer a try.
Let's give up on iVentoy. 😉
kevinwijnb commentedon Feb 2, 2026
I tested with TinyPXEServer and it's indeed working fine.
Have you tested Netboot XYZ?
It seems like a nice network boot solution.
monster1991 commentedon Mar 17, 2026
I've had the same problem with this issue.
I also read this issue and tried X:\include, X:\ventoy\include, X:\iventoy\include, but failed, and I changed #include to the absolute path to complete the boot. I then checked where the autoit3.exe file runs: "X:\Windows\System32\ventoy\AutoIt3.exe"
There's a way to use the tinyPXEServer.
But, if you want to use iVentoy, it seems that action can be done in two ways.
I'll test the 2nd method tomorrow.
I hope this issue will help you a lot.
I am Korean and I am sorry that I am not good at English.
kevinwijnb commentedon Mar 17, 2026
Looks great!
Currently I'm testing Netboot XYZ
monster1991 commentedon Mar 18, 2026
I tried the second method, but it failed

It was rebooted without any error message, so it was impossible to determine the cause
But I found an additional way
3. Load Windows\System32\config\DEFAULT in wim to add the registry key below
[\Software\AutoIt v3\AutoIt]
"Include"="X:\Windows\System32\include;"
(PE_DEFAULTS is hive load DEFAULT)
The third method is recommended because you can select the desired path and set it up easily
homes32 commentedon May 2, 2026
iVentoy issue for reference/tracking:
ventoy/PXE#123
Does not look like the author has been active on this project in some time, so my hopes are not high that this will be resolved anytime soon.
I added the explicit Include path for Autoit3, which should help in the meantime, but isn't a complete solution as there is still the potential for path resolution issues.