Run with administrative permission issue

后端 未结 1 1770
梦如初夏
梦如初夏 2021-01-07 13:35

I am using Windows Vista and I find something strange,

  1. I programatically invoke IE to open IE to access some local html page, the current user belongs to a

相关标签:
1条回答
  • 2021-01-07 14:35

    Even when the user is in the Administators group, they won't be able to undertake privileged operations without an application requesting elevation via a UAC prompt.

    Hence the availability of the right-click, "run as administrator" context menu item.

    Here is some documentation on UAC from Microsoft. It contains the following:

    After an administrator logs on, the full administrator access token is not invoked until the user attempts to perform an administrative task.

    An administrative task is defined as a task that requires elevation (indicated by a Vista "shield" over the icon for the application).

    However, I am not sure how you might programatically invoke Internet Explorer "pre"-elevated, nor if this is the proper solution to your problem.

    0 讨论(0)
提交回复
热议问题