How to Add ‘Run as administrator’ to PS1 File Context Menu in Windows 10 – Windows Blog by Brink

How to Add ‘Run as administrator’ to PS1 File Context Menu in Windows 10

Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run is giving you a Access Denied or No Permission type error.

When you right click on application files, you can use the Run as administrator context menu item to run the app with elevated rights (full administrator access token).

This tutorial will show you how to add or remove Run as administrator from the context menu of PowerShell .ps1 files for all users in Windows 10.

Read more…