How to make a fake UAC Promt?

  c++, python-3.x

How do I make a fake UAC prompt that looks just like the real thing and saves the typed password to a .txt file ? Because keylogger cant log the passwords typed in the original UAC Prompt …
1: Task manager run as administrator prompt for non admin users.

Source: Windows Questions C++