What are the differences between “Run as administrator” and a manifest with requireAdministrator?

前端 未结 4 1038
谎友^
谎友^ 2021-01-06 17:02

I\'ve written a program with a manifest that includes requireAdministrator. On Windows 7 systems with UAC enabled, Windows pops up a dialog asking for permissions, as it sh

4条回答
  •  执笔经年
    2021-01-06 17:13

    One possible difference might be the rarely used/understood/deliberately-chosen uiAccess attribute. Can you create two manifests, one with uiAccess=false and one with uiAccess=true, then tell us whether one of them gives the same behaviour as you see with right-click-run-as-admin?

提交回复
热议问题