Skip to main content

Add 'Open PowerShell Window Here As Admin'

The Windows PowerShell, Is a very powerful command-line tool that allows users to automate and troubleshoot an array of administration tasks, such as terminating non-responding processes, working with Active Directory, filtering computer network Information and a lot more. Wouldn't It be great If you could execute It with admin privileges via the right-click of the mouse? Well, In this tutorial, I will show you how to add the Open PowerShell window here as administrator to the right-click context menu.

Before I begin, here's what I'm referring to. When the tweak has been applied as per my tutorial further down this article and you right-click on a folder, drive or a blank area on your computer's desktop as well as a directory In File Explorer, you will see the Open PowerShell window here as administrator option. It's precisely as viewed In the Image above.

Essentially, PowerShell will execute with elevated privileges In the said locations, thereby you can perform tasks with full admin rights. To achieve this, I will use a neat little Registry file that will automatically add the entries to the Windows Registry, and apply the option thereafter.

I have provided the download links to the Registry file, at the end of this article. The process Is extremely simple, so without further delay, let's get this started.

Step One:

Once you've downloaded the file, extract Its contents to a folder of your choice, and double-click the Add Open PowerShell.reg file. It will prompt whether to add the entries to the Windows Registry, so hit Yes.

Step Two:

A message will be returned, confirming that the entries have been successfully added to the Registry, so click OK to finalize the process.

Step Three:

The Open PowerShell window here as administrator option, has now been added to the right-click context menu. Here's what happened when I right-clicked my Local C Drive, before the above tweak was applied. The option Is obviously not available.

Step Four:

And here's the result after I've applied the tweak. Again, I've right-clicked my Local Disk C Drive and as you can see, Open PowerShell window here as administrator, has been successfully applied. A perfect result! Let's make sure It's functional, by clicking It.

Step Five:

As expected, PowerShell has Immediately executed as administrator (as seen at the top of the window), hence It's readily available awaiting my tasks.

Last Step:

In the event you've changed your mind and wish to reverse all changes to It's original state, simply double-click the Remove PowerShell.reg file, and hit Yes.

Final Thoughts:

As mentioned toward the beginning of this article, the Open PowerShell window here as administrator option, Is available In just about any directory In File Explorer, apart from This PC. Moreover, right-clicking any folder or drive, will have the same result. Nothing beats the simplicity of access via a right-click of the mouse, so there's every reason to apply this tweak.

Use any of the links below, to download the aforementioned Registry files.

Direct Link Solidfiles:
Download Now
Direct Link Mega:
Download Now
Direct Link Mediafire:
Download Now
Direct Link 4shared:
Download Now
Direct Link AnonFiles:
Download Now


Popular posts from this blog

How To Create A Virtual Machine Using VMware

A virtual machine, often abbreviated as a VM, Is a software program containing an operating system that's Installed on the physical machine (PC), and operates In It's own Isolated environment. Every task performed In the VM, remains there, without affecting the main computer. Every user should have a virtual machine up and running, so In this tutorial, I will demonstrate a detailed guide on how to create & Install a virtual machine on your computer, namely VMware Workstation.

Check The Health Of Your Laptop's Battery

When you first purchase your laptop and fully charge the battery thereafter, It runs at It's optimal state for quite a while. However, over time, It Inevitably decreases In performance, and does not hold It's charge capacity as per It's brand new state. This Is due to wear & tear, and a few other factors. It's very Important to know the condition of your battery, so In this tutorial, I will show you how to view the current status and health of your laptop's battery.

How To Troubleshoot Your PC's Power Settings

Upon purchasing your computer with the Windows OS Installed, by default, It's power plan setting Is set to Balanced. Depending on the manufacturer, the hibernate and sleep modes are also configured to turn off at certain Intervals. You can also create a plan of your own, based on your computing usability. Power plan settings can corrupt at the best of times, hence In this tutorial, I will show you how to troubleshoot your PC's power settings natively within Windows.