9/25/18

BGInfo to display User Principal Name (UPN)

To make BGInfo display UPN / Logged On Username
(This will display what the user uses as logon name)


Open your *.bgi file
Create a custom field by clicking "Custom.."
In the User Defined Fields dialouge click "New.."
In the Define New Field dialouge enter the following:
Identifier: Logged on Username
Replace Identifier with: Mark "Registry value" and "64-bit registry view"
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser

Add your newly created field by marking "Logged on Username" and then click "< - Add"



1 comment: