This page looks best with JavaScript enabled

Starting an Administrative PowerShell

 ·   ·  ☕ 1 min read

You may start an Administrative PowerShell from a separate shell by using the -Verb RunAs parameter like this:

1
Start-Process Powershell -Verb RunAs

Using the UI

If you have access to a UI you may access the Power User Menu on Windows using Windows + X. From here click Windows PowerShell (Admin). Make sure “Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key+X” is enabled in your Windows settings.

Enable Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key+X

References

Other Programs

This works with other programs as well. If you want an admin Command Prompt for example you might run this:

1
Start-Process cmd -verb runas

Sam Wronski
WRITTEN BY
Sam Wronski
Maker of things and professional software engineer. Lets make something awesome together!