Hi, I am trying to install a Windows Service on Spanish Windows, but I get an error saying the “account name is invalid or does not exist.” I am using the Network Service account in the Octopus Deploy Service account drop down. Do I need to use a different account when installing on non-English Windows installs? Any help you can provide is greatly appreciated.
Thanks, Lawrence. I am using Octopus Deploy 4.0.9 with an Offline Drop package. It seems the Network Service user from the drop down equates to NT Authority\Network Service, which works fine on English Windows versions but not Spanish versions. From my testing it looks like the user should actually be NT Authority\NetworkService (notice the space in Network Service has been removed). I am able to change the user in the Windows Service install step to a Custom User and enter this user manually to get it to work. Has this been changed in a newer version of Octopus Deploy (I didn’t see any mention of Network Service in the release notes)?
I tried updating our Octopus deploy version to 2018.5.3 and the issue still exists. The deployment package is trying to execute the following command when installing:
Thanks for the detailed solution, I’ve raised this issue for tracking purposes and I have a fix in the pipeline that removes the space from the Network Service (and also Local Service) account and it still works on an English version of Windows, so we should be able to ship this fix in the very near future.