Running a command as Administrator using PowerShell?

后端 未结 26 3248
粉色の甜心
粉色の甜心 2020-11-22 09:41

You know how if you\'re the administrative user of a system and you can just right click say, a batch script and run it as Administrator without entering the administrator p

26条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 10:01

    You can also force the application to open as administrator, if you have an administrator account, of course.

    Locate the file, right click > properties > Shortcut > Advanced and check Run as Administrator

    Then Click OK.

提交回复
热议问题