I have solved the problem. It's a Windows registry issue where the path name of the service needed quotations since it contained spaces and/or zdesktop was also a directory name. Please see
Event ID 7000 and "%1 Is Not a Valid Win32 Application" Error Message When You Start a Service
Don't know whether that is a bug in the windows installation routine or not.
Cheers