Command Prompt Doesn’t Open

cmd.execommand line

Hi I have just stumbled upon a weird problem and spent an hour trying to find the same problem on the internet but it's nowhere to be found.I am using windows 10.Here is the problem.

When I start my machine the command prompt opens for a split second and closes after that my computer opens up(The folder).When I try to open the command prompt myself it does the same thing.I have a plugin that I am using on atom which embeds the command prompt in it.I tried to use the command prompt from there and again I can't use it but this time I can see the error its presenting.Here is the error which is the only clue I can provide about this problem.

The screen cannot be set to the number of lines and columns specified.

Any ideas on how to fix this ?

Best Answer

I had the same issue and it was related to mining malware installed on my machine. To resolve:

  1. Delete the SoundMixer file and folder in your app data: %appdata%\Microsoft\Microsoft\SoundMixer\SoundMixer.exe
  2. Go to windows registry and go to HKCU\Software\Microsoft\Command Processor and remove key AutoRun.

source: https://forums.windowscentral.com/windows-10/466299-unable-launch-command-prompt.html

Related Question