Run powershell as different user

broken image
broken image

Press Windows + X keys together on the keyboard to open the WinX menu. Since Windows 10 Creators Update, you can also access PowerShell from the WinX menu. Open the Command Prompt as administrator, type powershell and press Enter. Method 3: Run PowerShell as Administrator from Command Prompt or WinX Menu If you want to switch from normal mode to administrator mode, type the following PowerShell command and press Enter.

broken image

Windows PowerShell will launch with the rights of the current user. Press Windows + R keys together on the keyboard to open the Run box. Method 2: Run PowerShell as Administrator Using the Run Window Click Yes, and the elevated PowerShell prompt will open. The UAC prompt will ask you for your consent. Right click on Windows PowerShell on the results and select Run as administrator. Windows 10 comes with a Cortana search box in the taskbar. Method 1: Run PowerShell as Administrator Using Cortana Search Bar Is there a way to run a PowerShell Prompt with elevated privileges from a command line? In this tutorial we’ll show you 5 simple ways to open PowerShell as Administrator in Windows 10.