Validate a user account whether it's Local SAM or Active Directory in a single dialogue.


i'm creating install package , during need validate user account information.
users have local server accounts , others exist in active directory.

now, can create script validate ad , can create separate script validate
local user account. have not been able combine these , have left @ simple
verify password against password b ensure correct - opposed validated against
user account.

thanks in advance.

hi,

please check similar thread reference:

how determine current windows user local or domain

https://social.technet.microsoft.com/forums/windowsserver/en-us/35262c88-c582-4664-83bf-a4d96c625e5d/how-to-determine-current-windows-user-is-local-or-domain?forum=winserverds

if doesn't help,for script questions,please post on msdn forum further assistant:

https://social.msdn.microsoft.com/forums/en-us/home


best regards
cartman
please remember mark replies answers if help. if have feedback technet subscriber support, contact tnmff@microsoft.com



Windows Server  >  Security



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS