Install PostGIS on Windows
Download the PostGIS Windows installer for your PostgreSQL version, or open Stack Builder → Spatial Extensions in your EnterpriseDB PostgreSQL installation.
If you need help using these packages (the installers and buildbot binaries), please ask on the postgis-users mailing list.
If you find a bug with an installer or buildbot package, see Bug Reporting and use the build/upgrade/install component and windows keyword.
The installers are designed to work with EnterpriseDb PostgreSQL distributions.
Watch the video Getting started with PostGIS and QGIS on windows or refer to An Almost Idiot’s Guide Installing PostGIS on Windows