Windows 10: Command Prompt and Powershell will ONLY Run as Admin

Discus and support Command Prompt and Powershell will ONLY Run as Admin in Windows 10 Software and Apps to solve the problem; I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to... Discussion in 'Windows 10 Software and Apps' started by Sean Hull, Jun 17, 2024.

  1. Sean Hull Win User

    Command Prompt and Powershell will ONLY Run as Admin


    I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to run them the box comes up for about 2 seconds and then closes. Nothing is ever displayed in the box.The problem is that I have things that do not work if run as Admin.This is the second time this has happened in the past two weeks. The first time I ran sfc /scannow and it fixed something. I rebooted and I was good to go. This time sfc isn't finding anything and nothing seems to be working. The only thing that changed was that my PC was fo

    :)
     
    Sean Hull, Jun 17, 2024
    #1

  2. How to run Command Prompt (Admin)?

    I've been trying to get a fix for Windows Update for a while now, and I received a recommendation that requires the use of the administrative form of Command Prompt. Right-clicking the Windows key does not have bring up either Command Prompt or Command Prompt
    (Admin) as an option, though Powershell and PowerShell (Admin) are. Searching my computer for the Command Prompt function brings it up just fine, however I cannot enter the command without being told access is denied.

    I have confirmed I am using a profile with administrative permissions, so if anyone knows of additional steps I need to take, I would appreciate some input.
     
    BenOechsli, Jun 17, 2024
    #2
  3. DaveM121 Win User
    Commands do not run in command prompt Admin.

    Hi Kina,

    When you run a command in Command Prompt, do you get an error, does the command just sit there, or does the command start to run but never complete?

    Try running the same command in Powershell and see if it completes:

    Right click your Start Button, choose Powershell (admin)

    Run the same command in Powershell, but precede it with cmd.exe

    For example:

    ipconfig /flushdns

    becomes

    cmd.exe ipconfig /flushdns
     
    DaveM121, Jun 17, 2024
    #3
  4. Kursah Win User

    Command Prompt and Powershell will ONLY Run as Admin

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Jun 17, 2024
    #4
Thema:

Command Prompt and Powershell will ONLY Run as Admin

Loading...
  1. Command Prompt and Powershell will ONLY Run as Admin - Similar Threads - Command Prompt Powershell

  2. Command Prompt and Powershell will ONLY Run as Admin. Both lock PC if started, CPU fan...

    in Windows 10 Gaming
    Command Prompt and Powershell will ONLY Run as Admin. Both lock PC if started, CPU fan...: Similar to post - Command Prompt and Powershell will ONLY Run as Admin - Microsoft CommunityCMD and PowerShell have always worked fine. Not used it for a while but noticed today that when trying to start either, their respective window tile opens, but it's black, nothing...
  3. Command Prompt and Powershell will ONLY Run as Admin. Both lock PC if started, CPU fan...

    in Windows 10 Software and Apps
    Command Prompt and Powershell will ONLY Run as Admin. Both lock PC if started, CPU fan...: Similar to post - Command Prompt and Powershell will ONLY Run as Admin - Microsoft CommunityCMD and PowerShell have always worked fine. Not used it for a while but noticed today that when trying to start either, their respective window tile opens, but it's black, nothing...
  4. Command Prompt and Powershell will ONLY Run as Admin

    in Windows 10 Gaming
    Command Prompt and Powershell will ONLY Run as Admin: I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to run them the box comes up for about 2 seconds and then closes. Nothing is ever displayed in the box.The problem is that I...
  5. Command Prompt And PowerShell Run Automatically On Reboot

    in Windows 10 Gaming
    Command Prompt And PowerShell Run Automatically On Reboot: The last 3 times I've rebooted, I notice that the first thing to run is CMD.exe open window and if I do not immediately stop it, it launches I suspect command prompt lauches it PowerShell which runs a script open window and they both will close.I also suspect this is a virus...
  6. Command Prompt And PowerShell Run Automatically On Reboot

    in Windows 10 Software and Apps
    Command Prompt And PowerShell Run Automatically On Reboot: The last 3 times I've rebooted, I notice that the first thing to run is CMD.exe open window and if I do not immediately stop it, it launches I suspect command prompt lauches it PowerShell which runs a script open window and they both will close.I also suspect this is a virus...
  7. Command Prompt And PowerShell Run Automatically On Reboot

    in AntiVirus, Firewalls and System Security
    Command Prompt And PowerShell Run Automatically On Reboot: The last 3 times I've rebooted, I notice that the first thing to run is CMD.exe open window and if I do not immediately stop it, it launches I suspect command prompt lauches it PowerShell which runs a script open window and they both will close.I also suspect this is a virus...
  8. Powershell or Command prompt !

    in Windows 10 Software and Apps
    Powershell or Command prompt !: Good morning, I use SCANNOW occassionally going into Command prompt etc. I have just been reading that using it with Powershell is better because it is a more powerful tool would you agree ? Is there anything else you would suggest using with Powershell to keep my laptop...
  9. Powershell or Command prompt !

    in Windows 10 Customization
    Powershell or Command prompt !: Good morning, I use SCANNOW occassionally going into Command prompt etc. I have just been reading that using it with Powershell is better because it is a more powerful tool would you agree ? Is there anything else you would suggest using with Powershell to keep my laptop...
  10. Powershell or Command prompt !

    in Windows 10 Gaming
    Powershell or Command prompt !: Good morning, I use SCANNOW occassionally going into Command prompt etc. I have just been reading that using it with Powershell is better because it is a more powerful tool would you agree ? Is there anything else you would suggest using with Powershell to keep my laptop...