About 78 results
Open links in new tab
  1. Running a command as Administrator using PowerShell?

    Sep 12, 2016 · The current Windows PowerShell session is not running as Administrator. Start Windows PowerShell by using the Run as Administrator option, and then try running the script again.

  2. how to run a powershell script as administrator - Super User

    Feb 12, 2010 · I use it to start the powershell console as administrator. A similar result is to create a ps1 file with Start-Process powershell.exe -Verb RunAs.

  3. How open PowerShell as administrator from the run window

    Is possible open a new PowerShell console as administrator through the run window, in Windows? I know that just typing 'powershell' in the run window is enough to start a new console, but is there a

  4. How to enable execution of PowerShell scripts? - Super User

    Start Windows PowerShell with the "Run as Administrator" option. Only members of the Administrators group on the computer can change the execution policy. Enable running unsigned scripts by entering:

  5. How do run a powershell script as an admin? - Stack Overflow

    Sep 25, 2013 · Also, do I have to put the administrator script in twice? (i.e. in the first line of the uninstall script then before the line of the 2nd install script) or just once when I run it?

  6. powershell - I want to run Power Shell script with admin privileges ...

    Some way to run PowerShell with admin privileges: Search Powershell from the Windows search icon OR click the Windows button from the keyboard --> write Powershell --> You will see the Windows …

  7. windows - Login as admin into powershell - Super User

    Aug 10, 2023 · Is there a way to get admin permissions in PowerShell while being logged in to the terminal? Linux has "sudo" or "login as root" to get those priviledges but I couldn't find anything …

  8. What's the purpose of 'run as administrator' when using cmd or …

    Oct 25, 2022 · Why should I run as administrator every time when I use cmd or powershell? What does it do? Does it just give you more permission than the normal cmd that does not run as administrator?

  9. Run PowerShell script as a different user and elevated

    Jan 21, 2021 · Execute the Start-Process Powershell a little differently than you were executing it for it to take the action of the script logic while running elevated too. Add the ExecutionPolicy Bypass …

  10. How to detect if PowerShell is running as administrator?

    How can I tell in my scripts if PowerShell is running with administrator privileges? I need to know because I'm trying to run a program that requires the ability to open protected ports.