UAC is a windows feature implented for security reasons.
In any case it could be bypassed to this reasons on Windows 11 you should enable Administrator Protection
- Open Settings > Privacy & security > Windows Security > Account protection
- Activate Administrator Protection
- Restart Windows.
More details can be found here:
https://4sysops.com/archives/enable-administrator-protection-in-windows-11/