[Tex/LaTex] Error: Could not start the command

errors

I just installed MiKTeX 2.9 and Texmaker 4.3. The system is Windows 8.1. Following error appears whenever I run texmaker Quick Build:

Error: Could not start the command. pdflatex -synctex=1
-interaction=nonstopmode %.tex

Same question seems to be asked before but none of the recommended solutions works for me. I tried installing MiKTeX for all users and for one user. I also checked that file is saved as filename.tex. By the way, when I install MiKTeX 2.9 and Texmaker 4.3 on a Windows XP PC and apply exactly the same procedure, it works fine.