Question: why cmd appears at startup?
Answer: I believe CMD opens to execute startup files on the computer, sometimes for programs which try to start on bootup. ... All you need to do to stop it should be to go to Task Manager -> More Details -> Startup Tab and then you can see/disable the programs that try to run on system boot.