It seems that I cannot prevent a standard account from installing software. I tried that on windows 10 Pro and on Windows 11 home. I have a problem similar to this here. But the admin popup did not even show up in my case.
Editing the registry or using (Group Policy Editor) as suggested all over the internet (Like this) did not work at all. (The funny part is that Windows 11 home does not even have (Group Policy Editor).
I test it by restarting my computer and installing the Whatsapp application using a standard account, and it installs normally. I expected to see a popup that requires an administrator password.