fixed execution of windows service on server 2012 r2