Posts not working on windows after changing permalinks

I recently started learning wordpress. Out to curiosity of changing settings, I changed permalinks to Month and Name. After that all my posts and pages have stopped working and show me a 404 Error. I am not being able to figure out why is it happening.
I even tried posting new posts and even they doesnt work.
Please suggest any solution. I am using WP 3.7 on windows machine with wamp.

Solutions Collecting From Web of "Posts not working on windows after changing permalinks"

In wamp you have to manually click/unclick an option to change the .htaccess(and allow permalinks with that).

To do this , click the wamp icon on your (windows) task bar, choose apache > apache modules and check ‘rewrite module’

This is a problem with your .htaccess file. Try going into the permalink settings and saving them again just to be sure. If it warns you that the .htaccess file has not been updated, you will need to either change the permissions, or update it manually.