rapid7/metasploit-framework — pull request #2203 by sagishahar (2013-08-09 02:07:05+00:00)
Title: Fixed architecture detection in bypassuac modules

The module did not detect properly x64 operating systems if the meterpreter session process was a native x64 and not an x86 (WOW64 emulated). As a result, bypassuac-x86.exe was deployed on the target machine instead of the bypassuac-x64.exe. As such, an elevated meterpreter session was not gained.