Skip to content

Boot ISO on iVentoy over PXE #179

Closed
Closed

Description

@kevinwijnb

Does anyone use iVentoy to boot the ISO over the network?
I can't get it to work, and getting this error on boot.

Image

Activity

  1. homes32 commented on Jan 30, 2026

    @homes32
    Contributor

    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.

  2. kevinwijnb commented on Jan 30, 2026

    @kevinwijnb
    Author

    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?

  3. homes32 commented on Jan 31, 2026

    @homes32
    Contributor

    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.

  4. kevinwijnb commented on Jan 31, 2026

    @kevinwijnb
    Author

    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.

  5. homes32 commented on Jan 31, 2026

    @homes32
    Contributor

    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.

    
    /* WARNING: Function: __alloca_probe replaced with injection: alloca_probe */
    
    void __cdecl FUN_00404650(int param_1,int *param_2)
    
    {
      byte bVar1;
      undefined (*pauVar2) [16];
      char *pcVar3;
      int iVar4;
      HANDLE pvVar5;
      DWORD DVar6;
      ulong dwMilliseconds;
      int iVar7;
      int *piVar8;
      char *pcVar9;
      byte *pbVar10;
      uint uVar11;
      byte *pbVar12;
      byte *pbVar13;
      code *pcVar14;
      bool bVar15;
      undefined *puVar16;
      undefined auStack_1e08 [15];
      byte bStack_1df9;
      int *local_1df8;
      int *local_1df4;
      FILE *local_1df0;
      _SECURITY_ATTRIBUTES _Stack_1dec;
      _PROCESS_INFORMATION _Stack_1de0;
      _PROCESS_INFORMATION _Stack_1dc8;
      _STARTUPINFOA _Stack_1db8;
      DWORD DStack_1d6c;
      _STARTUPINFOA _Stack_1d68;
      CHAR aCStack_1d20 [1024];
      CHAR local_1920 [264];
      char acStack_1818 [2048];
      char acStack_1018 [4100];
      uint local_14;
      
      local_14 = DAT_00426004 ^ (uint)auStack_1e08;
      local_1df4 = param_2;
      local_1df8 = (int *)0x0;
      local_1df0 = (FILE *)0x0;
      DAT_00427364 = CreateMutexA((LPSECURITY_ATTRIBUTES)0x0,0,"VTOYLOG_LOCK");
      DAT_004276d4 = CreateMutexA((LPSECURITY_ATTRIBUTES)0x0,0,"VTOYINS_LOCK");
      FUN_00403360("######## VentoyJump %dbit ##########");
      GetCurrentDirectoryA(0x104,local_1920);
      FUN_00403360("Current directory is <%s>");
      GetModuleFileNameA((HMODULE)0x0,&DAT_004275d0,0x104);
      pauVar2 = FUN_00408c00((undefined (*) [16])&DAT_004275d0,(undefined (*) [16])&DAT_00423c74);
      if (pauVar2 != (undefined (*) [16])0x0) {
        pcVar9 = &DAT_004275d0;
        do {
          pcVar3 = pcVar9;
          pcVar9 = pcVar3 + 1;
        } while (*pcVar3 != '\0');
        for (pcVar9 = pcVar3 + -0x4275d0; 0 < (int)pcVar9; pcVar9 = pcVar9 + -1) {
          pcVar3 = pcVar3 + -1;
          if ((*pcVar3 == '/') || (*pcVar3 == '\\')) {
            pcVar9 = pcVar9 + 0x4275d0;
            goto LAB_0040474f;
          }
        }
      }
      pcVar9 = &DAT_004275d0;
    LAB_0040474f:
      _strcpy_s(&DAT_00427368,0x104,pcVar9);
      bStack_1df9 = pcVar9[-1];
      pcVar9[-1] = '\0';
      _strcpy_s(&DAT_00427470,0x104,&DAT_004275d0);
      pcVar9[-1] = bStack_1df9;
      FUN_00403360("EXE path: <%s> dir:<%s> name:<%s>");
      iVar4 = __stricmp(&DAT_00427368,"VTOYPE.EXE");
      if ((iVar4 == 0) && (param_2[1] != 0)) {
        FUN_00405680("ventoy\\VENTOYPARAM",&local_1df0,(int *)&local_1df8);
        if (local_1df8 != (int *)0x400) {
          FUN_00403360("PARAM read FAILED");
          FUN_004080c0(local_14 ^ (uint)auStack_1e08);
          return;
        }
        FUN_00403360("PARAM read OK");
        pbVar10 = (byte *)param_2[1];
        pbVar13 = &DAT_00423a94;
        do {
          bStack_1df9 = *pbVar10;
          bVar15 = bStack_1df9 < *pbVar13;
          pbVar12 = (byte *)param_2[1];
          if (bStack_1df9 != *pbVar13) {
    LAB_0040483f:
            uVar11 = -(uint)bVar15 | 1;
            goto LAB_00404844;
          }
          if (bStack_1df9 == 0) break;
          bStack_1df9 = pbVar10[1];
          bVar15 = bStack_1df9 < pbVar13[1];
          pbVar12 = (byte *)param_2[1];
          if (bStack_1df9 != pbVar13[1]) goto LAB_0040483f;
          pbVar10 = pbVar10 + 2;
          pbVar13 = pbVar13 + 2;
        } while (bStack_1df9 != 0);
        uVar11 = 0;
    LAB_00404844:
        if (uVar11 == 0) {
          FUN_00403360("Run mount BAT ...");
          _Stack_1dec.nLength = 0xc;
          _Stack_1dec.lpSecurityDescriptor = (LPVOID)0x0;
          _Stack_1dec.bInheritHandle = 1;
          GetCurrentDirectoryA(0x104,aCStack_1d20);
          FUN_00401040(acStack_1818,0x800,
                       "%s\\ventoy\\VTOYPE.BAT %C http://%u.%u.%u.%u:%u/riso/id/%u.iso %u.%u.%u.%u %02X- %02X-%02X-%02X-%02X-%02X"
                      );
          FUN_00403360("Cmdline is (%s)");
          GetStartupInfoA(&_Stack_1db8);
          pvVar5 = CreateFileA("ventoy\\vtoype.log",4,3,&_Stack_1dec,4,0x80,(HANDLE)0x0);
          _Stack_1db8.dwFlags = _Stack_1db8.dwFlags | 0x100;
          if (pvVar5 != (HANDLE)0xffffffff) {
            _Stack_1db8.hStdOutput = pvVar5;
            _Stack_1db8.hStdError = pvVar5;
          }
          CreateProcessA((LPCSTR)0x0,acStack_1818,(LPSECURITY_ATTRIBUTES)0x0,(LPSECURITY_ATTRIBUTES)0x0,
                         1,0x8000000,(LPVOID)0x0,(LPCSTR)0x0,&_Stack_1db8,&_Stack_1dc8);
          DVar6 = WaitForSingleObject(_Stack_1dc8.hProcess,60000);
          FUN_00403360("WaitForSingleObject finished %x");
          if (DVar6 == 0x102) {
            FUN_00403360("VTOYPE.BAT run timeout!");
          }
          if ((*(char *)&local_1df0[0x15]._charbuf == '\x01') ||
             (*(char *)((int)&local_1df0[0x15]._charbuf + 1) == '\x01')) {
            FUN_004060a0(*(char *)&local_1df0[0x15]._charbuf,
                         *(char *)((int)&local_1df0[0x15]._charbuf + 1));
          }
          FUN_0040c426(local_1df0);
          FUN_004080c0(local_14 ^ (uint)auStack_1e08);
          return;
        }
        pbVar10 = &DAT_00423aac;
        do {
          bStack_1df9 = *pbVar12;
          bVar15 = bStack_1df9 < *pbVar10;
          pbVar13 = (byte *)param_2[1];
          if (bStack_1df9 != *pbVar10) {
    LAB_00404a69:
            uVar11 = -(uint)bVar15 | 1;
            goto LAB_00404a6e;
          }
          if (bStack_1df9 == 0) break;
          bStack_1df9 = pbVar12[1];
          bVar15 = bStack_1df9 < pbVar10[1];
          pbVar13 = (byte *)param_2[1];
          if (bStack_1df9 != pbVar10[1]) goto LAB_00404a69;
          pbVar12 = pbVar12 + 2;
          pbVar10 = pbVar10 + 2;
        } while (bStack_1df9 != 0);
        uVar11 = 0;
    LAB_00404a6e:
        if (uVar11 == 0) {
          FUN_00403360("Run sleep %s");
          dwMilliseconds = _strtoul((char *)param_2[2],(char **)0x0,10);
          Sleep(dwMilliseconds);
          FUN_0040c426(local_1df0);
          FUN_004080c0(local_14 ^ (uint)auStack_1e08);
          return;
        }
        pcVar9 = "WAITNIC";
        do {
          bStack_1df9 = *pbVar13;
          bVar15 = bStack_1df9 < (byte)*pcVar9;
          pbVar10 = (byte *)param_2[1];
          if (bStack_1df9 != *pcVar9) {
    LAB_00404af4:
            uVar11 = -(uint)bVar15 | 1;
            goto LAB_00404af9;
          }
          if (bStack_1df9 == 0) break;
          bStack_1df9 = pbVar13[1];
          bVar15 = bStack_1df9 < ((byte *)pcVar9)[1];
          pbVar10 = (byte *)param_2[1];
          if (bStack_1df9 != ((byte *)pcVar9)[1]) goto LAB_00404af4;
          pbVar13 = pbVar13 + 2;
          pcVar9 = (char *)((byte *)pcVar9 + 2);
        } while (bStack_1df9 != 0);
        uVar11 = 0;
    LAB_00404af9:
        if (uVar11 == 0) {
          local_1df8 = (int *)_strtoul((char *)local_1df4[2],(char **)0x0,10);
          local_1df4 = (int *)((int)&local_1df0[0x13]._charbuf + 3);
          FUN_00403320(0x423acc);
          iVar4 = 0;
          if (0 < (int)local_1df8) {
            do {
              iVar7 = FUN_00405c30(local_1df4);
              if (-1 < iVar7) {
                FUN_00403320(0x423b0c);
                FUN_0040c426(local_1df0);
                FUN_004080c0(local_14 ^ (uint)auStack_1e08);
                return;
              }
              FUN_00403320(0x423b24);
              Sleep(1000);
              iVar4 = iVar4 + 1;
            } while (iVar4 < (int)local_1df8);
            FUN_0040c426(local_1df0);
            FUN_004080c0(local_14 ^ (uint)auStack_1e08);
            return;
          }
        }
        else {
          pcVar9 = "SETIP";
          do {
            bVar1 = *pbVar10;
            bVar15 = bVar1 < (byte)*pcVar9;
            if (bVar1 != *pcVar9) {
    LAB_00404c15:
              uVar11 = -(uint)bVar15 | 1;
              goto LAB_00404c1a;
            }
            if (bVar1 == 0) break;
            bVar1 = pbVar10[1];
            bVar15 = bVar1 < ((byte *)pcVar9)[1];
            if (bVar1 != ((byte *)pcVar9)[1]) goto LAB_00404c15;
            pbVar10 = pbVar10 + 2;
            pcVar9 = (char *)((byte *)pcVar9 + 2);
          } while (bVar1 != 0);
          uVar11 = 0;
    LAB_00404c1a:
          if (uVar11 == 0) {
            FUN_00403320(0x423b54);
            FUN_004044d0((int)local_1df0);
            FUN_0040c426(local_1df0);
            FUN_004080c0(local_14 ^ (uint)auStack_1e08);
            return;
          }
        }
        FUN_0040c426(local_1df0);
        FUN_004080c0(local_14 ^ (uint)auStack_1e08);
        return;
      }
      piVar8 = local_1df4;
      if (DAT_004276d4 != (HANDLE)0x0) {
        piVar8 = (int *)WaitForSingleObject(DAT_004276d4,0xffffffff);
      }
      local_1df8 = piVar8;
      iVar4 = FUN_004057b0("ventoy");
      if (iVar4 != 0) goto LAB_0040529c;
      iVar4 = FUN_00403990();
      if (iVar4 == 3) {
        FUN_004080c0(local_14 ^ (uint)auStack_1e08);
        return;
      }
      FUN_00403d30(0x4276d8);
      GetCurrentDirectoryA(0x104,aCStack_1d20);
      _strcat_s(aCStack_1d20,0x104,"\\ventoy\\httpdisk.sys");
      iVar4 = FUN_00405440(aCStack_1d20);
      if (iVar4 == 0) {
        FUN_00403360("Load httpdisk success");
      }
      else {
        GetLastError();
        FUN_00403360("Failed to load httpdisk %u");
      }
      _Stack_1dec.nLength = 0xc;
      _Stack_1dec.lpSecurityDescriptor = (LPVOID)0x0;
      _Stack_1dec.bInheritHandle = 1;
      FUN_00403360("ProcessInjection start ...");
      pcVar9 = "ventoy\\injection.7z";
      pcVar3 = (char *)0x0;
      iVar4 = 0;
      do {
        iVar7 = FUN_004058a0(0,pcVar9);
        if (iVar7 != 0) {
          pcVar3 = (&PTR_s_ventoy\injection.7z_00422828)[iVar4];
          if (pcVar3 != (char *)0x0) {
            FUN_00403360("Find injection file <%s>");
            goto LAB_00404dcc;
          }
          break;
        }
        pcVar9 = (&PTR_s_ventoy\injection.zip_0042282c)[iVar4];
        iVar4 = iVar4 + 1;
      } while (pcVar9 != (char *)0x0);
      FUN_00403360("injection file not found.");
      pcVar14 = CreateFileA_exref;
      if (pcVar3 != (char *)0x0) {
    LAB_00404dcc:
        FUN_004025b0(pcVar3);
        iVar4 = FUN_004058a0(1,"%s");
        if (iVar4 == 0) {
          FUN_00403360("%s not exist...");
          pcVar14 = CreateFileA_exref;
        }
        else {
          FUN_00403360("%s exist, now run it...");
          GetStartupInfoA(&_Stack_1db8);
          pcVar14 = CreateFileA_exref;
          pvVar5 = CreateFileA("X:\\VentoyAutoRun.log",4,3,&_Stack_1dec,4,0x80,(HANDLE)0x0);
          _Stack_1db8.dwFlags = _Stack_1db8.dwFlags | 0x100;
          if (pvVar5 != (HANDLE)0xffffffff) {
            _Stack_1db8.hStdOutput = pvVar5;
            _Stack_1db8.hStdError = pvVar5;
          }
          FUN_00401040(aCStack_1d20,0x400,"cmd.exe /c %s");
          CreateProcessA((LPCSTR)0x0,aCStack_1d20,(LPSECURITY_ATTRIBUTES)0x0,(LPSECURITY_ATTRIBUTES)0x0,
                         1,0x8000000,(LPVOID)0x0,(LPCSTR)0x0,&_Stack_1db8,&_Stack_1dc8);
          WaitForSingleObject(_Stack_1dc8.hProcess,0xffffffff);
          if (pvVar5 != (HANDLE)0xffffffff) {
            CloseHandle(pvVar5);
            FUN_00403360("ProcessInjection finish ...");
            goto LAB_00404f04;
          }
        }
        FUN_00403360("ProcessInjection finish ...");
      }
    LAB_00404f04:
      FUN_00403360("ProcessAutoIntall start ...");
      if (DAT_00427955 == 0) {
        pcVar9 = "auto install no need";
    LAB_00404f60:
        FUN_00403360(pcVar9);
      }
      else {
        iVar4 = FUN_004058a0(1,"ventoy\\autoinstall_%u");
        if (iVar4 == 0) {
          pcVar9 = "auto install script not exist";
          goto LAB_00404f60;
        }
        FUN_00403360("use auto install script ventoy\\autoinstall_%u ...");
        FUN_00402340(0x4276d8);
      }
      if (DAT_0042798b == '\0') {
        FUN_00403360("This is WinPE or unofficial Windows ISO.");
        CopyFileA("ventoy\\httpdisk.exe","X:\\httpdisk.exe",0);
        local_1df0 = (FILE *)0x0;
        FUN_00401040(aCStack_1d20,0x104,"%C:\\VTOYMNT.BAT");
        _fopen_s(&local_1df0,aCStack_1d20,"w+");
        if (local_1df0 != (FILE *)0x0) {
          FUN_00401010((int)local_1df0,0x4233e4);
          FUN_00401010((int)local_1df0,0x4233f0);
          FUN_00401010((int)local_1df0,0x4233f8);
          FUN_00401010((int)local_1df0,0x423430);
          FUN_00401010((int)local_1df0,0x423438);
          FUN_00401010((int)local_1df0,0x423448);
          FUN_00401010((int)local_1df0,0x422de8);
          FUN_00401010((int)local_1df0,0x423478);
          FUN_00401010((int)local_1df0,0x422de8);
          FUN_00401010((int)local_1df0,0x4234b8);
          FUN_00401010((int)local_1df0,0x4234d0);
          FUN_00401010((int)local_1df0,0x4234f4);
          FUN_00401010((int)local_1df0,0x423500);
          FUN_00401010((int)local_1df0,0x423528);
          FUN_00401010((int)local_1df0,0x42352c);
          _fflush(local_1df0);
          _fclose(local_1df0);
        }
        iVar4 = 0;
        pcVar14 = (code *)PTR_FUN_004268b0;
        while (pcVar14 != (code *)0x0) {
          iVar7 = (*pcVar14)();
          if (iVar7 != 0) {
            puVar16 = (&PTR_s_Sergei_Strelec_WinPE_004268b8)[iVar4 * 3];
            pcVar9 = "This is %s";
            FUN_00403360("This is %s");
            (*(code *)(&PTR_FUN_004268b4)[iVar4 * 3])(&DAT_004276d8,pcVar9,puVar16);
            goto LAB_0040529c;
          }
          iVar4 = iVar4 + 1;
          pcVar14 = (code *)(&PTR_FUN_004268b0)[iVar4 * 3];
        }
        FUN_00403360("Unsupported WinPE.");
        goto LAB_0040529c;
      }
      FUN_00403360("Do hook for official Windows ISO %u.");
      local_1df0 = (FILE *)0x0;
      FUN_00403360("SaveBuffer2File <%s> len:%u");
      pvVar5 = (HANDLE)(*pcVar14)("ventoy\\VENTOYPARAM",0xc0000000,3,0,1,0,0);
      if (pvVar5 == (HANDLE)0xffffffff) {
        GetLastError();
        FUN_00403360("Could not create new file, error:%u");
      }
      else {
        WriteFile(pvVar5,&DAT_004276d8,0x400,&DStack_1d6c,(LPOVERLAPPED)0x0);
        CloseHandle(pvVar5);
      }
      iVar4 = FUN_004058a0(1,"winpeshl.ini");
      if (iVar4 == 0) {
        FUN_00403360("Create new to winpeshl.ini ...");
        _fopen_s(&local_1df0,"winpeshl.ini","w+");
        if (local_1df0 != (FILE *)0x0) {
          FUN_00401010((int)local_1df0,0x422e98);
          FUN_00401010((int)local_1df0,0x422ea8);
          FUN_00401010((int)local_1df0,0x422e5c);
          _fflush(local_1df0);
          goto LAB_004050c4;
        }
      }
      else {
        FUN_00403360("Append to winpeshl.ini ...");
        _fopen_s(&local_1df0,"winpeshl.ini","a");
        if (local_1df0 != (FILE *)0x0) {
          FUN_00401010((int)local_1df0,0x422e30);
          FUN_00401010((int)local_1df0,0x422e5c);
          _fflush(local_1df0);
    LAB_004050c4:
          _fclose(local_1df0);
        }
      }
      if (DAT_004279a5 != '\0') {
        FUN_00404130();
      }
    LAB_0040529c:
      if ((DAT_004276d4 != (HANDLE)0x0) && (local_1df8 == (int *)0x0)) {
        ReleaseMutex(DAT_004276d4);
      }
      FUN_00401040(acStack_1018,0x1000,"ventoy\\%s");
      iVar4 = 1;
      if (1 < param_1) {
        do {
          _strcat_s(acStack_1018,0x1000," ");
          _strcat_s(acStack_1018,0x1000,(char *)local_1df4[iVar4]);
          iVar4 = iVar4 + 1;
        } while (iVar4 < param_1);
      }
      FUN_00403360("CmdLine:<%s>");
      if (DAT_0042799f == -2) {
        FUN_00403360("Recall cmd.exe due to debug");
        FUN_00401040(acStack_1018,0x1000,"cmd.exe");
      }
      _Stack_1de0.hProcess = (HANDLE)0x0;
      _Stack_1de0.hThread = (HANDLE)0x0;
      _Stack_1de0.dwProcessId = 0;
      _Stack_1de0.dwThreadId = 0;
      GetStartupInfoA(&_Stack_1d68);
      _Stack_1d68.dwFlags = _Stack_1d68.dwFlags | 1;
      _Stack_1d68.wShowWindow = (WORD)(DAT_0042799f == -2);
      FUN_00403360("Rejump to %s");
      CreateProcessA((LPCSTR)0x0,acStack_1018,(LPSECURITY_ATTRIBUTES)0x0,(LPSECURITY_ATTRIBUTES)0x0,0,0,
                     (LPVOID)0x0,(LPCSTR)0x0,&_Stack_1d68,&_Stack_1de0);
      FUN_00403360("Wait process... %d");
      WaitForSingleObject(_Stack_1de0.hProcess,0xffffffff);
      if (_Stack_1de0.hProcess != (HANDLE)0xffffffff) {
        CloseHandle(_Stack_1de0.hProcess);
      }
      FUN_004080c0(local_14 ^ (uint)auStack_1e08);
      return;
    }
    
    
    
  6. kevinwijnb commented on Jan 31, 2026

    @kevinwijnb
    Author

    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.

  7. homes32 commented on Feb 1, 2026

    @homes32
    Contributor

    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.

  8. kevinwijnb commented on Feb 1, 2026

    @kevinwijnb
    Author

    I will give TinyPXEServer a try.
    Let's give up on iVentoy. 😉

  9. kevinwijnb commented on Feb 2, 2026

    @kevinwijnb
    Author

    I tested with TinyPXEServer and it's indeed working fine.
    Have you tested Netboot XYZ?
    It seems like a nice network boot solution.

  10. added
    external
    on Feb 13, 2026
  11. monster1991 commented on Mar 17, 2026

    @monster1991
    Image

    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.

    1. Change all #include to absolute path.
    2. 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.

  12. kevinwijnb commented on Mar 17, 2026

    @kevinwijnb
    Author
    Image

    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.

    1. Change all #include to absolute path.
    2. 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.

    Looks great!
    Currently I'm testing Netboot XYZ

  13. monster1991 commented on Mar 18, 2026

    @monster1991

    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.

    1. Change all #include to absolute path.
    2. 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)
    Image

    The third method is recommended because you can select the desired path and set it up easily

  14. homes32 commented on May 2, 2026

    @homes32
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    external

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions