Windows – CMD Prompt is blank, no text

batch fileblank-screencmd.exewindows

When i open .cmd, .bat files or cmd, it shows as A blank window, with no text.

My questions :

  • What causes this problem?

  • How can I fix it?

Some screenshots to give more info about my problem :

When I try to open CMD :enter image description here

When I try to open a batch file :enter image description here

Best Answer

Step by step solution that I used :

  1. Open regedit.exe

  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor.

  3. If the Autorun string value exists, delete it.

  4. Right Click > New > String value.

  5. Name it Autorun.

  6. Right Click > Modify

  7. Replace the Value data with color 0f & color 0f.

  8. Press OK.

You can replace color 0f with color (any color).

Some helpful articles :

Hope this helps :)