Try searching for the program and right clicking on it from the search menu. Then go to "Open file location" > Right click + Properties > Command Prompt Properties > Advanced > Select the tickbox next to "run as administrator" > and select "OK."
https://allthings.how/fix-cant-run-as-administrator-on-windows-10/
I've moved this to the Windows 10 section of the forum since this seems less related to Azure AD.