We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

greg996
Posts: 6
Joined: Sat Oct 26, 2024 3:57 am

Check if user exists function doesn't work

Hello,
I have a Windows server with a domain added. When using the recommended 'Check if user exists' function, I log in with a domain user, and this domain user is already a member of the Administrator group. However, when checking for the user, it keeps waiting as if there is a permission issue. Are there any policies that might affect this function?May I please get some assistance with this?

Thank you in advance!
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Check if user exists function doesn't work

Hello Greg,

The "Check if user exists" custom action relies on these two functions (mainly):

NetUserGetInfo

NetGetDCName

I've tried testing your scenario and the custom action seemed to work just fine on my end - which makes me think that there might indeed be something that interferes with this.

However, what that is, I can not unfortunately tell.

If you check the log file of the installation or the Event Viewer, are you able to find any errors there?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”