What are the key differences in using xwizard.exe on 64-bit vs 32-bit systems?
On 64-bit systems, `%windir%\system32\xwizard.exe` is a 64-bit binary and will only load a 64-bit `xwizards.dll`. Conversely, `%windir%\SysWOW64\xwizard.exe` is a 32-bit binary and will only load a 32-bit `xwizards.dll`. You must match the bitness of the DLL to the version of xwizard.exe you use. This is similar to how other Windows components handle DLL loading, as seen in [Windows Shellcode Study Notes - Bypassing DEP with VirtualAlloc](/news/windows-shellcode-study-notes-bypassing-dep-with-virtualalloc).
Related article:
Use xwizard.exe to load dll