I had an amazing problem starting and stopping a service on my remote server from my msbuild script.
SC.EXE and the ServiceController MSBuild task do not provide switches that allow username / password to be authenticated, so I use RemoteService.exe from www.intelliadmin.com
-Authentication with \ xx.xx.xx.xxx -Authentication Complete -Installation -Error: Access Denied
The details of the user account that I specify are for the local administrator on the server, so what ?! I tear off my hair!
Update:
OK, a bit more background. I have an XP computer in the office running the CI server. The script line connects the VPN to the data center, where I have a Server 2008 machine. None of them are in the domain.
source
share