Reply to Thread

Post a reply to the thread: Install Service for Domain User Account

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-05-2017, 09:20 AM
    Jonathan Kay

    Re: Install Service for Domain User Account

    Ok, thanks.
  • 03-30-2017, 02:58 AM
    linder

    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
  • 03-28-2017, 07:58 AM
    Jonathan Kay

    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.

Posting Permissions

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