Windows 10: Command Prompt not working for user or Administrator Solved


  1. Posts : 6
    Windows 7 Professional
       09 Jul 2016 #1

    Command Prompt not working for user or Administrator


    When selecting the command prompt from the right click on startup options I get the following message:



    'This file does not have a program associated with it for performing this action. Please install a program, or if one is already installed, create an association in the Default Programs control panel'



    Please assist with what has gone wrong and how to fix it. It was working but now not

    Thanks
      My ComputerSystem Spec

  2.    09 Jul 2016 #2

    If you press Win Key + R to open a run dialog and then run:
    cmd

    what happens?
      My ComputerSystem Spec


  3. Posts : 6
    Windows 7 Professional
    Thread Starter
       09 Jul 2016 #3

    NavyLCDR said: View Post
    If you press Win Key + R to open a run dialog and then run:
    cmd

    what happens?
    Get a message saying: ' Windows cannot find 'cmd'. Make sure you typed the word correctly then try again'
      My ComputerSystem Spec

  4.    09 Jul 2016 #4

    Some malware infections will delete or rename that file so you can't use it to undo the infection.
      My ComputerSystem Spec


  5. Posts : 2,278
    Windows 10.3 Home 1703 x64 (Home per choice)
       09 Jul 2016 #5
      My ComputerSystem Spec

  6.    09 Jul 2016 #6

    Noeleeng said: View Post
    Get a message saying: ' Windows cannot find 'cmd'. Make sure you typed the word correctly then try again'
    I would start by doing a repair install:
    Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums

    That should restore cmd.exe and take care of any other problems. Then I would do a complete disc cleanup using option 2:
    Disk Cleanup - Open and Use in Windows 10 - Windows 10 Forums
      My ComputerSystem Spec


  7. Posts : 3,194
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint
       09 Jul 2016 #7

    In such a situation I've had success fixing the problem using this:
    FixExec Download
      My ComputerSystem Spec


  8. Posts : 6
    Windows 7 Professional
    Thread Starter
       12 Jul 2016 #8

    NavyLCDR said: View Post
    I would start by doing a repair install:
    Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums

    That should restore cmd.exe and take care of any other problems. Then I would do a complete disc cleanup using option 2:
    Disk Cleanup - Open and Use in Windows 10 - Windows 10 Forums
    Thank you NavyLCDR!!!! It worked Much appreciated.
      My ComputerSystem Spec

  9.    1 Week Ago #9

    I had this same problem with a particular folder, except it was not a folder. I had created a "shortcut" by using "add network location". The right-click - "open command prompt here" did not work with this shortcut but does work with the original folder
      My ComputerSystem Spec


 

Related Threads
When I launch a recent folder or any folder linked on the pinned taskbar icon for File Explorer it launches what appears to cmd.exe with "Administrator" and the folder path in the top bar. the folder is also displayed in the command prompt itself....
I changed Command Prompt on my Taskbar so when I click on it, it opens as Administrator. That sets the default directory as C:\WINDOWS\system32 which I don't like, since any files I create that do not have a path specified will be created there. ...
Solved Command Prompt in General Support
How to call up "command Prompt (Admin) from the "run" dialog box win 10 Home?
I pinned Command Prompt to the Taskbar then changed the properties to always Run as Administrator. Setting took but is not obeyed: 20287 When I click on the icon in the Taskbar I get: 20288 What I should get is this:
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:44.
Find Us