1

When right-clicking on the pinned Powershell item on my taskbar, it pop up with tasks. such as run as administrator.

Is there a way to add run as accounts to this, looking to add the domain administrator accounts so it will then pop up and ask for the password to be entered.

Any ideas?

Thanks

1
  • 1
    I don't know how to add specific accounts, but I just SHIFT-Right Click then select "Run As Different User"
    – EBGreen
    Apr 15, 2013 at 18:33

1 Answer 1

1

If you hold down [Shift] and then right-click on the pinned taskbar icon, you are presented with a more classic right-click menu, which includes a "Run as different user" option. As stated already, but note, this only works for me if PowerShell in not already running. It has to just be the pinned icon, not an active window.

2
  • If you pin it to the start menu instead of the task bar then you can shift right click even if powershell is running.
    – EBGreen
    Apr 16, 2013 at 14:50
  • Its the shift click that I do at the moment, was looking to bypass the need to do this with a shorcut,
    – Idgoo
    Apr 21, 2013 at 16:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .