service will not start when i specify a username and pwd

i have a tiny app that installs a service. it works fine when i install it and dont specify a username and password. it therefore installs and starts under the local system account.

my goal is to get it to start using a particular account \\europa\sysRB. when i specify the account and the password i get the following error when i try to install:-

Error 1920.Service TestService failed to start. Verify that you have sufficient privileges to start system services.

Can anyone explain what i need to do get this to work?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: jmcfadyen 13 years ago
5th Degree Black Belt
drop the \\ at the start that is a unc path not what you want in this case.
Posted by: misk 13 years ago
Orange Senior Belt
thx for the heads up. as it turns out that is not the issue, the issue is that i need to have the user setup on the box as one that can install and start services. this needs to be done via a custom action.

Does anyone have any vbs code or cmd line to permission a username to be able to sort out my issue above?

really appreciate any help on this one.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ