INTRODUCTION

One of the most frustrating scenarios is when you start a Powershell prompt and you remembered that you should have started it elevated using Run as Administrator.

Fortunately, there is a way of solving this with a simple command from the non-elevated Powershell window. This blog post will show how to elevate to administrator within a Powershell window.

SOLUTION

Run the following command from a non-elevated Powershell prompt:

This will start a new, elevated Powershell window:

Elevate Powershell window

RELATED POSTS