Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3984798
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:48:48+00:00 2026-05-20T05:48:48+00:00

So I have an MSI that deploys a service. <ServiceInstall Id=’ServiceInstall’ ErrorControl=’ignore’ Type=’ownProcess’ DisplayName=’MetricsReportingService’

  • 0

So I have an MSI that deploys a service.

        <ServiceInstall Id='ServiceInstall' ErrorControl='ignore' Type='ownProcess' DisplayName='MetricsReportingService' Description='It does metrics reporting' Name='MetricsReportingService' Start='auto' Account='[SERVICEACCOUNT]' Password='[SERVICEACCOUNTPASSWORD]' /> 
        <ServiceControl Id='MetricsReportingService' Remove='uninstall' Name='MetricsReportingService' Start='install' Stop='both' Wait='yes' />

When I deploy this service on my own boxes, deployment works great, but when I deploy on another person’s machine I get Error 1920, service failed to start.

Now, I’m using the exact same service account and password on both machines (the account has admin permissions on both machines). In fact, I’m using all the same parameters on both machines, but on one it passes and on the other I get that failure.

I don’t see any event logging from my service, so it doesn’t seem to be making it to my code.

What could be causing this discrepancy?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:48:49+00:00Added an answer on May 20, 2026 at 5:48 am

    When installing a service for a custom user account you need to make sure that the account has privileges for starting services (it doesn’t have them by default). A solution is to set these privileges by using ntrights.exe as a custom action:
    http://support.microsoft.com/kb/315276

    For example, you can use this command line:

    ntrights.exe -u [SERVICEACCOUNT] +r SeServiceLogonRight
    

    You can also try using a DLL custom action which sets the privileges through custom code. This custom action should run before the service is installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WiX based MSI that installs a service and some shortcuts (and
Problem I have an MSI that creates and starts a Windows service during installation
I have an MSI installer project that installs a windows service. My version numbering
I have a Windows Service packaged to MSI that I would like to deploy
I have an MSI installer that installs a Service and by default it is
I have an MSI installer that fails if it is running over remote desktop.
Suppose I have an MSI, that has .NET Framework as a pre-requisite. I know
I have a windows installer (MSI) project. I want to ensure that when i
We currently have an MSI that is created with WiX 3.5. The application is
Is it possible to build msi file using installshield, so that I have one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.