Installing Magento2 stuck at 0% in windows

I'm trying to install Magento 2.2.8 in my windows 10 using xampp, but the installation is blocked at 0% and no error is displayed in the console. Can any one guide me how can I install it