When I remember correctly, Magento is picky with domains that don’t contain a dot, like “localhost”.
Easiest solution: add a hostname with a dot, e.g. “local.host” to your hosts-file (in D:/WINDOWS/system32/drivers/etc/hosts add “127.0.0.1 local.host” without quotes) and your Apache config (e.g. as ServerAlias to your currently configured “localhost” vHost).