Added configuration directory location under windows service method as this differs to other methods.