About 2,380,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 …

  2. Gaining administrator privileges in PowerShell - Server Fault

    Dec 5, 2015 · The Powershell v2 way, according to Microsoft, is to right click on the shortcut and choose Run as Administrator. And to elevate within a Powershell window: start-process …

  3. How can I run a command with administrator rights with Visual …

    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 …

  4. administrator - Windows Powershell always launches as admin

    Aug 18, 2022 · Launching Powershell from any source, although I usually use the Win + X or even when Shift clicking to open powershell in explorer. I checked the shortcut for Group3 in WinX, …

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

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

    Nov 3, 2012 · If your domain administrator hasn't forbidden it, you can do this: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser This changes the default …

  7. Cannot delete a file even when logged in as an Administrator

    Sep 12, 2014 · Please could some tell me what I am doing wrong. I am trying to delete hidden folder through command line. I am running the command line as administrator but still getting …

  8. working directory - How do I run a PowerShell script as …

    Feb 25, 2021 · I also tried this "powershell.exe -ExecutionPolicy Bypass -NoExit -File "C:\project\test.ps1" " I can run in normal way but cannot run as administrator, because when I …

  9. Detect if PowerShell is running as administrator - Super User

    Nov 14, 2017 · 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 …

  10. powershell - command line - switch to administrator mode

    Sep 14, 2012 · Is it possible to switch from normal mode to administrator mode in command line? I don't want to open command line by right clicking and selecting "run as administrator".