Found this and seem to have resolved the issue using USER@DOMAIN for strUser:
UserName [in]
Pointer to a constant null-terminated character string that specifies the account name to use when connecting to the domain controller. Must specify a domain NetBIOS name and user account, for example...
Hello All,
This is my first post here, so please forgive me if I am out of place.
The script I am working on is intended for use at first boot. The script asks the user if he/she would like to join a particular domain, offering yes/no buttons. If the user presses yes, the script should then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.