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

    Sep 12, 2016 · Is there a way of supressing windows If you want to run powershell as administrator? For applications in which you need to run this silently having your user asked can be bothering.

  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. 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 …

  4. Run PowerShell script as a different user and elevated

    Jan 21, 2021 · Then execute the script elevated from that local copy instead. Execute the Start-Process Powershell a little differently than you were executing it for it to take the action of the script logic …

  5. How open PowerShell as administrator from the run window

    Here's one way to open powershell (or run any command) as admin: press the Windows key (or control-escape) to bring up the Start Menu. Type the command you want to run.

  6. windows - How to run a PowerShell script - Stack Overflow

    1111 Prerequisites: You need to be able to run PowerShell as an administrator You need to set your PowerShell execution policy to a permissive value or be able to bypass it Steps: Launch Windows …

  7. How can I run a command with administrator rights with Visual Studio ...

    Also it's quite possible that you have never set the password on the Administrator account, as it will ask you for the password when trying to run the command. You can always use an account without the …

  8. batch file - Run Bat As Admin in PowerShell - Stack Overflow

    May 30, 2023 · I'm running the following from an elevated PowerShell session: Start-Process .\\file.bat -Verb RunAs -Wait It's opening the bat file, but it's not doing it as administrator. Is there a better way t...

  9. Check if powerhshell was started using "run as administrator"

    Feb 9, 2022 · Is there any other way to check, if the script was run using "run as administrator" option that shows up if u right click on powershell (doesn't matter, whether you are logged in as admin or not) ?

  10. How do I run powershell scripts without admin rights?

    Nov 3, 2012 · If PowerShell is enabled, you can always "run" a script by simply typing it into the command line. The goal of execution policy isn't really to stop a determined user, it's to prevent an …