MSI Installer error: No mapping between account names and security ID's was done

Posted on 2008-11-08
Last Modified: 2013-12-12
I have created a windows service that I am trying to install on a target machine for testing.

When I tried to install the service by double-clicking the msi file, the installer issued this message:

Set Service Login
Password Confirmation:

After I entered my windows username and password, the installation failed with this message:

"No mapping between account names and security ID's was done."

The installer saved just two files in the target directory.

SforcePrototypeService.InstallState and TDB4BB.tmp

This is my first attempt at creating a windows service and setup/deployment project that installs the service.

I'm not sure what or where I am going wrong?

Any help is appreciated.

Question by:-Dman100-
    LVL 40

    Accepted Solution

    This message means that Windows did not recognize the username and password that you specified. Are you sure they exist on the target machine?

    Author Comment

    Hi vadimrapp1,

    yes, absolutely, the username and password are valid on the target machine.

    Should the installer be asking for a username and password when installing a windows service?  When I added the installer, should I have specified LocalService or LocalSystem for the Account in the properties for ServiceProcessInstaller1?  It was set as User, which might be causing the problem.

    This is my first windows service, so I'm somewhat novice at this.
    LVL 40

    Expert Comment

    by:Vadim Rapp
    Yes, usually all services run under one of those predefined accounts. In the past, everything was localsystem, then less privileged localservice and networkservice were added - the best practice is to use the account with the minimum required privileges. See this technet article for details.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
    A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
    This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
    Viewers will learn how to use the Hootsuite Dashboard.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now