The properties for the .lnk file are stored within the .lnk file (Ref: "LinkFlags structure" documentation at Microsoft Lean). Not sure how to read the setting programmatically, but this GitHub link has some useful info, especially the comment from "tresf"
<quote>
- On Windows 10, I can confirm that
byte[21]changes from0x03to0x23when the Run As Administrator flag is checked.
</quote>