How to Run Any Program Including PowerShell with Elevated Privileges (aka Administrator Permissions)
To run any application with elevated privileges (as Administrator) simply right-click on that program from the menu and select Run as Administrator. An example of this would be if you wanted to run a PowerShell window with elevated permissions just click Start then type PowerShell then Right-Click on PowerShell icon and select Run as Administrator. This is also known as Administrative Permissions. If you just want an administrative command prompt, you would type in cmd instead of PowerShell. This tip will work on just about any other program too
Shortcut to Run A Program as an Administrator:
- Start
- Type PowerShell
- Press Shift-Control-Enter
Comments
- Anonymous
September 27, 2013
I need to run the script below as a local machine admin, how do I create a script so I can run it? It is first uninstalling a software, waiting, and then installing an upgraded version of the software. thank you, Get-WmiObject -Class Win32_Product | Where-Object {$.Name -eq "On-Screen Takeoff"} | foreach-object -process {$.Uninstall()} Start-Sleep -Seconds 25 $arguments="/quiet" Start-Process "\pathost3906.msi" $arguments