Announcement

Collapse
No announcement yet.

SERVICEDOMAIN not consistent

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OvalPiston
    replied
    I think I have the solution.

    Here's what I found in the Registry to use for retrieving the joined domain:

    Click image for larger version

Name:	lastfetch.jpg
Views:	50
Size:	26.0 KB
ID:	309378

    And you set the Default Value to [%USERDOMAIN] in case this value isn't there:
    Click image for larger version

Name:	last2.jpg
Views:	27
Size:	28.7 KB
ID:	309379

    Leave a comment:


  • OvalPiston
    replied
    That's filled in as to what the current user is logged into. If the user is logged in locally, it's the computer's name. It's not the domain the computer is joined to.

    Leave a comment:


  • Ulrich
    replied
    Possibly you can use the solution found by this post's author, as long as the USERDOMAIN‚Äč environment variable is properly set on the target system:
    https://stackoverflow.com/questions/...me-in-property

    Click image for larger version

Name:	SCRN-2022-09-12-01.png
Views:	57
Size:	15.0 KB
ID:	309282

    Ulrich

    Leave a comment:


  • OvalPiston
    replied
    I set property SERVICEDOMAIN = [%USERDOMAIN] under 'Custom Actions'

    Leave a comment:


  • OvalPiston
    replied
    A long, long time ago. What can I use, then, to pre-fill the field with the netbios domain name?

    Leave a comment:


  • Ulrich
    replied
    Where did you retrieve this info from? SERVICEDOMAIN is not a standard MSI Property...
    https://docs.microsoft.com/en-us/win...erty-reference

    Ulrich

    Leave a comment:


  • OvalPiston
    started a topic SERVICEDOMAIN not consistent

    SERVICEDOMAIN not consistent

    Customers are saying that a field in my MSI Factory installation dialog (which has as its "Property name" as SERVICEDOMAIN) sometimes puts in the computer name and NOT the NetBIOS name of the domain.

    How can I fix this?
Working...
X