How to Always Open Windows PowerShell as an Administrator on Windows

Are you tired of constantly clicking through dialogue boxes asking for permission to access PowerShell as an administrator? Wouldn’t it be nice if you could just run this command line tool with a single click? Well, now you can.

This guide will show you how to always run Windows PowerShell as an administrator without taking any additional steps. However, before we dive into the solution, let’s take a moment to describe this powerful tool to those who are unfamiliar with it.

4

Windows PowerShell: What Does It Do?

Windows PowerShell is a powerful command-line tool designed for system administrators to help automate tasks and configure systems. It provides an array of commands that can be used to perform various operations, such as managing files and folders, creating scripts and applications, and much more. However, in order for the full potential of Windows PowerShell to be realized, it must be run as an administrator.

In this guide, we will provide the steps necessary to always open Windows PowerShell as an administrator on Windows. This will enable users to unlock the full range of features and capabilities offered by Windows PowerShell. Additionally, it is important to note that running these commands with administrative permissions can be dangerous, so caution should be exercised at all times.

A man and a woman using a laptop

1. How to Always Open Windows PowerShell as Administrator Using Settings

The most straightforward way to alwaysopen Windows PowerShell as an administratoron Windows involves adjusting the PowerShell settings. To do this, follow these steps:

Once you enable this option, each time you access your profile, it will open in admin mode.

Always Open Windows PowerShell as an Administrator Using Settings

2. How to Always Open Windows PowerShell as Administrator With a Desktop Shortcut

Alternatively, you cancreate a desktop shortcut on Windowsfor Windows PowerShell that will always launch it with administrative privileges. This can be helpful for users who often need elevated permissions to access Windows PowerShell, but don’t want to go through the extra steps of opening it manually.

To create a desktop shortcut, do the following:

Create a Shortcut For PowerShell

The desktop shortcut you created will now open Windows PowerShell when you double-click it. However, there are still a few things you must do to make it work as an administrator. The steps are as follows:

That’s all! Now when you double-click the shortcut icon, it will launch Windows PowerShell with administrative privileges.

Create Desktop Shortcut For Windows PowerShell

PowerShell Now Always Opens With Admin Rights

We have covered two methods in this article for opening PowerShell with administrator rights at all times. The first method involves changing settings in PowerShell, while the second is through a shortcut placed on the desktop. Let’s try them out.

My foolproof plan is to use Windows 10 until 2030, with the latest security updates.

Not Linux, not Windows. Something better.

Love fades, even for the best open-source darling.

Windows is great, but adding this makes it unstoppable.

Lose your laptop without this feature, and you’ll wish you had turned it on.

Don’t let aging hardware force you into buying expensive upgrades.

Technology Explained

PC & Mobile