Permalinks (pretty-urls) may not work straight away if WordPress is installed on a Windows server.
For many years, I thought it was impossible to have permalinks on Windows server based WordPress.
There are many tricks to enable it on Windows. But this particular one has worked very easily for me because my host is providing Plesk control panel to change PHP settings.
Here is what I did. Plesk allows php scripts to to run as CGI application, FastCGI application or ISAPI extension.
To make permalinks work, just choose ISAPI application as shown below. That’s it.