a question about the defaultusername under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

what if a task is scheduled to run under an different admin account. Will that reg key be changed?

Or is this the name of the last logged on user (the one who sits in front of the PC)?