only set endpoints on windows