If you get this message while running a command with an administrator account AND in an elevated command prompt try adding “cmd /c” in front of it.
What does cmd /c do?
/C Carries out the command specified by string and then terminates
This will correctly trigger User Account Control (UAC).
For example, the command
mmc.exe
with the extra prefix becomes
cmd /c mmc.exe