Sorry, you cannot whitelist programs with UAC.
It seems that you don't fully understand the purpose of UAC. UAC is not
about blocking or allowing certain programs and/or activities based on some
criteria stored on computer in form of white/blacklist database (that's
basically what Windows Defender and other anti-malware as well as firewalls
Main idea behind UAC is simple: If a program requires elevated privileges
(that is, if it wants to make some system-wide changes), it must be
confirmed by human before it gets those privileges. This ensures that (1)
this is a legitimate program known by user and (2) activity it is about to
perform is expected by user (that is, it is not infected, hijacked or
initiated by unknown source).
What should be apparent from description above is that whitelist would
simply defeat whole idea since it would allow such attack vectors as
hijacking whitelisted application or whitelist itself.
And secondly, if I was you, I'd ask myself: "Wait a minute... Why my POS
program requires elevated privileges which has triggered UAC prompt in the