Hi -

Does anyone know which regkey (or other method) on the local machine the SMS agent uses to write the content of SMS_R_System.LastLogonUserName for any given computer? (MS SMS 2003)
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


I don't know about SMS but you can usually find it here if the user is logged on:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer "Logon User Name".

Or here if the user is not logged on and you have policies set to the default and leave the last logged on user name in the login box:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon "DefaultUserName"
Answered 02/28/2007 by: yarborg
Blue Belt

Please log in to comment