Payman, there is tutorial here to setup moodle on windows server, make sure you follow as mentioned.
I have installed the moodle smoothly. There is no problem in the installation.
The problem is redirecting to login page. The "force users to login" setting is also set to No.