I solved the problem. My problem was that the COM Object "Identity" property was setted on "Interactive user", so obviously when i disconnected from the session it ceased to work. My solution was to set a specific user and run the Service under that user. Thanks for your answer.