REMOTEXEC.EXE from the Resource Kit should cover what you need. If you want to create your own service, you may also need - SRVANY.EXE, and INSTSRV.EXE. Now, for the code.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's