The genuine LogonUI.exe file should be located in the path C:\Windows\System32.
It is a critical process for the Windows operating system, as you will be unable to log in without it. LogonUI.exe is a core component of Windows, and it is responsible for building up the logon user interface where you log in to your system.