+ Reply to Thread
Results 1 to 3 of 3

Thread: Install Service for Domain User Account

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Install Service for Domain User Account

    Hi,

    We've had a customer request that our product (which is installed as a service) run under one of their domain accounts. They can do this themselves right now, but they also need to set various registry and file permissions. I'd like a dialog that allows them to select a domain user, supply the password and check the username/password are valid. Is this something you can consider for a future version?

    Right now I think I'll just have to use a 'Custom Dialog' with entry controls for the username/password. I can then use these in 'Create Service'. Can you confirm 'Create Service' will fail if they enter invalid credentials? (I'd rather check earlier, but this will do for now.)

    Thanks,
    Jon.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Install Service for Domain User Account

    Hi Jon,

    The Windows CreateService API fails if the specified logon account is invalid. However, CreateService does not check the validity of the password. It also does not verify that the account has the logon as a service right on the local computer.

    I'll see what can be done to display domain users in a dialog.

    Friedrich

  3. #3

    Default Re: Install Service for Domain User Account

    Ok, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •