The page you requested does not exist. A search for current user name registry resulted in this page.

Current user name in registry

To find the current (last logged on) user name in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\DefaultUserName

http://www.microsoft.com/technet/scriptcenter/resources/qanda/jan07/hey0123.mspx