Set PowerShell icon launch to default to run as Administrator

2013/01/30 | By | 2 Replies More

Many commands in PowerShell will not run unless they are run as an administrator.  You can of coarse right click on the taskbar icon and choose the ‘Run as Administrator’ option. But if you prefer to have the icon or shortcut default to run PowerShell as Administrator then you can right click on it once, and choose the ‘Properties’ item.


In the window that pops up, near the bottom right of the window click  the ‘Advanced’ button.


On the next (and last) screen, you will see a checkbox with ‘Run as administrator’. make sure that checkbox is selected, click ‘OK’, then ‘OK’ on the main Properties window to exit .


From now on out, when you click the PowerShell icon, it will run as administrator and you should see the Administrator prefix displayed in the PowerShell title bar.



Category: Uncategorized

Comments (2)

Trackback URL | Comments RSS Feed

Sites That Link to this Post

  1. 让PowerShell控制台默认以管理员启动 | PowerShell 中文博客 | 2014/06/27
  1. Danilo says:

    I am always looking online for posts that can help me.

Leave a Reply

You must be logged in to post a comment.