• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 42
  • Last Modified:

Find out what users are logged in via UPN

I need to find out what users are logged in via their UPN and what users are logged in via their pre windows 2000 login. Is there any way to find this information?
0
Sid_F
Asked:
Sid_F
  • 2
  • 2
1 Solution
 
MaheshArchitectCommented:
you won't get any events stating that you have logged in with UPN
when user logon to workstation with UPN, in backend it actually login with SamAccountName and same is reflects in logon / logoff events

if you are using adfs and if it s set to logon with UPN, you should get events on adfs, you can check those
1
 
Sid_FAuthor Commented:
Hmm ok is there any way even direct from the users machine to know if they are logged in via upn or username other than logging them out to see what the login name is
0
 
MaheshArchitectCommented:
I don't think you will get that because even "set" command shows only "samaccountname" of user who logged on with UPN

I am curios to see if we get any info from other experts
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Audit this
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData
session1a.pngsession1b.pngYou can even do save it to the computer object as per first part of
https://www.experts-exchange.com/articles/30891/Automated-object-placement-using-AutoAD.html
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Best solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now