Version 9.5 of PostgreSQL service in these article is an example. Check which version of this service is installed on your server and use this name in the commands listed above. For example, if you have installed Postgresql 9.4 the command 2b will be net stop postgresql-x64-9.4