This tool tricks the Windows NT low‑level Portable Executable (.exe) loader. It starts a valid executable and then replaces its in‑memory image with another PE of your choice, even if Windows refuses to load the target executable.
Downloads appropriate platform artifact from latest workflow:
- PE Launcher starts
stub.exe(any valid executable; user configurable) in a suspended state. - Windows NT creates the
stub.exeprocess and loads its image into memory. - PE Launcher reads
target.exefrom disk. - It replaces the in‑memory image of
stub.exewith sections/resources fromtarget.exe. - Although Windows NT validated and loaded
stub.exe, the image in memory is nowtarget.exe. - PE Launcher resumes the process.
- Windows NT begins executing the app.
No particular reason - this was made for fun.
- Start Windows CE applications (with WCECL) without modifying the executable.
- Attempt to start the Windows kernel in user space (likely won't work; it tends to fail DLL resolution).
- Windows 10 refuses to launch the Windows XP setup (
winnt32.exe). PELauncher can trick the system and start this soft‑locked setup on modern Windows. However, it currently fails to resolvewinnt32u.dll(investigation is needed) - Run native NT executables in Win32 user space. Fun fact: probably a Windows issue, but running the 32‑bit
smss.exe(e.g., the Windows XP version) on Windows 11 can crash the system completely, even without administrator privileges. - May bypass some antivirus checks.
- Shitcode. This was shitcoded by me a few years ago, so be aware that there may be code issues and memory leaks.
- Compatibility: Works well on Windows 10.
It also ran on XP(2025 update: the Windows XP build no longer works due tov141_xptoolset deprecation). The program does not work on Vista or 7, for some reason. (Actually, I'm not sure if the modern toolset targets Win 6.x)
Open pelauncher.sln in Visual Studio 2022 and build with the latest MSVC toolset.
Visual Studio 2017 was used to create this project. (ported to VS2022 due to deprecations)
- This question on Stackoverflow
- ChatGPT - vibecoded x64 version without any extra effort, lol


