Fixes #5945: add windows support to services

ha, commiting at night is not a good idea