Windows 10: Any idea why this happens? Some weeks ago, both cmd and PowerShell cmd would do this same...

Discus and support Any idea why this happens? Some weeks ago, both cmd and PowerShell cmd would do this same... in Windows 10 Ask Insider to solve the problem; [ATTACH] submitted by /u/superprokill1 [link] [comments]... Discussion in 'Windows 10 Ask Insider' started by /u/superprokill1, Jun 12, 2020.

  1. Any idea why this happens? Some weeks ago, both cmd and PowerShell cmd would do this same...

    /u/superprokill1, Jun 12, 2020
    #1

  2. CMD and PowerShell

    Hi Andre,

    I did all items you listed.

    After reboot, running CMD and powershell (admin) had the same result ("no app associated"). So I turned the feature off in taskbar settings.

    Regards,

    Danker
     
    dschaareman, Jun 12, 2020
    #2
  3. CMD and PowerShell

    Hi Andre,

    Done. The result: in control panel there's now an administrator account (local). Signing in to that account, and using win key+X I can run PowerShell (as admin) without a problem.

    I signed out of that account and signed in to my own original administrator account: win key + X cannot run PowerShell as administrator, same notification that there's no connected application. I can get to PowerShell ISE, though, and by typing CMD in Start
    I can run the command prompt as administrator.

    The only difference between the 2 accounts is that in the local administrator account I can with Win key+X run PowerShell (as admini) whereas in my own account I cannot.

    [In both account in taskbar settings "replace command prompt with PowerShell:" is on.]
     
    dschaareman, Jun 12, 2020
    #3
  4. Any idea why this happens? Some weeks ago, both cmd and PowerShell cmd would do this same...

    CMD and PowerShell

    Try these first to see if they work:

    Open Start, type: CMD

    Right click CMD

    Click Run as administrator

    Type in at the prompt OR Copy and Paste these one at a time : (Hit enter after each)

    Dism /Online /Cleanup-Image /CheckHealth

    Dism /Online /Cleanup-Image /ScanHealth

    Dism /Online /Cleanup-Image /RestoreHealth

    Also run the System File Checker utility:

    Open Start, type: CMD

    Right click CMD

    Click Run as administrator

    At the Command Prompt, type: sfc/scannow

    This will check for any integrity violations

    Restart your system

    Also, press Windows key + R

    Type: optionalfeatures.exe

    Hit Enter

    Scroll to the bottom

    Uncheck Windows PowerShell

    Click OK

    Restart if prompted

    press Windows key + R

    Type: optionalfeatures.exe

    Hit Enter

    Scroll to the bottom

    Check Windows PowerShell

    Click OK

    Restart if prompted
     
    Andre for Directly, Jun 12, 2020
    #4
Thema:

Any idea why this happens? Some weeks ago, both cmd and PowerShell cmd would do this same...

Loading...
  1. Any idea why this happens? Some weeks ago, both cmd and PowerShell cmd would do this same... - Similar Threads - idea why happens

  2. Why would Powershell or cmd not recognize any commands, I am also not able to reset my...

    in Windows 10 Software and Apps
    Why would Powershell or cmd not recognize any commands, I am also not able to reset my...: I have felt ive been hacked for some time now but dont know what to look for to prove it. I also have suspicion/question...are there files a hacker can upload to my laptop that would restrict me from completing such tasks??...
  3. Are Powershell same as CMD?

    in Windows 10 Gaming
    Are Powershell same as CMD?: seems to do the saAME https://answers.microsoft.com/en-us/windows/forum/all/are-powershell-same-as-cmd/0afdbbb0-6edb-4ef2-9b64-07b63e698c55
  4. Are Powershell same as CMD?

    in Windows 10 Software and Apps
    Are Powershell same as CMD?: seems to do the saAME https://answers.microsoft.com/en-us/windows/forum/all/are-powershell-same-as-cmd/0afdbbb0-6edb-4ef2-9b64-07b63e698c55
  5. Are Powershell same as CMD?

    in Windows 10 BSOD Crashes and Debugging
    Are Powershell same as CMD?: seems to do the saAME https://answers.microsoft.com/en-us/windows/forum/all/are-powershell-same-as-cmd/0afdbbb0-6edb-4ef2-9b64-07b63e698c55
  6. CMD and Powershell RUSH

    in Windows 10 Network and Sharing
    CMD and Powershell RUSH: Hi mods,My Windows 10 is running cmd and power shell automatically even though I didn't open them. Some errors are popping up and browsers are closing automatically. I captured the picture with my phone because it also freezes my pc mouse. Please help....
  7. Powershell and cmd no network

    in Windows 10 Ask Insider
    Powershell and cmd no network: I got my windows from school try to install choco package manager or adding the repo to power shell . non are working as its saying that there is no internet on both cmd and powershell tried ping and curl its the same. But my browser and other apps have great network . Is...
  8. Any ideas? Why is this happening?

    in Windows 10 Ask Insider
    Any ideas? Why is this happening?: https://reddit.com/link/f4168f/video/jlhxds418zg41/player submitted by /u/iCaff [link] [comments] https://www.reddit.com/r/Windows10/comments/f4168f/any_ideas_why_is_this_happening/
  9. CMD and PowerShell

    in Windows 10 BSOD Crashes and Debugging
    CMD and PowerShell: Hi all, I run Windows 10, v 1803. Clicking Start, typing CMD, there is only "Command Prompt (desktop application)". Win key + X shows "Windows PowerShell" and "Windows PowerShell (Admin)". If after Win key+R I choose Windows PowerShell" pops up a message: Same with...
  10. cmd vs powershell

    in Windows 10 Support
    cmd vs powershell: Greetings. As a normal PC-geek I don't know how, when and why I should use Powershell instead of cmd. Or in another way, why has Microsoft changed cmd to Powershell in the right-click menu? What are the benefits? Or has Microsoft just done this to make fun of us, that...