1. Joined : Oct 2015
    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 System SpecsSystem Spec


  2. Joined : Jul 2015
    Posts : 6,845
    Windows 10 Pro
       09 Jul 2016 #2

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

    what happens?
      My System SpecsSystem Spec


  3. Joined : Oct 2015
    Posts : 6
    Windows 7 Professional
       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 System SpecsSystem Spec


  4. Joined : Dec 2013
    Sydney, Nova Scotia, Canada
    Posts : 8,194
    Windows 10 IoT
       09 Jul 2016 #4

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


  5. Joined : Oct 2014
    Trnava
    Posts : 1,710
    Windows Home x64
       09 Jul 2016 #5
      My System SpecsSystem Spec


  6. Joined : Jul 2015
    Posts : 6,845
    Windows 10 Pro
       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 System SpecsSystem Spec


  7. Joined : Aug 2014
    Forever West
    Posts : 2,537
    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 System SpecsSystem Spec


  8. Joined : Oct 2015
    Posts : 6
    Windows 7 Professional
       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 System SpecsSystem Spec


 


Similar Threads
Thread Forum
File Explorer launches Administrator command prompt
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....
General Support
Solved Get elevated command prompt to open in my user directory
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. ...
General Support
Solved Command Prompt
How to call up "command Prompt (Admin) from the "run" dialog box win 10 Home?
General Support
10130 - Run as Administrator not working for Command Prompt
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:
General Support
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 10:08.
Find Us
Twitter Facebook Google+



Windows 10 Forums