Sergey B. gave this link which I think you may find very useful.
If you mean NT service than see mskb#
Q137890.
>>I have a sync utility that my clients would prefer not require to run on the desktop of the server, i.e., require the server to login and then run as a regular app, but instead as a service.
>>
>>Thanks in advance.
ramil
~~ learning to stand still