LOL, Mart

btw, I was thinking of removing the quotes around the zero, and I found this:
Quote:


Windows 2000 or XP
Open [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] and create a new string value, or modify the existing value, called "DontDisplayLastUserName" and set it to "1" to enable or "0" to disable the restriction.

Windows NT
Open [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] and create a new string value, or modify the existing value, called "DontDisplayLastUserName" and set it to "1" to enable or "0" to disable the restriction.





and if you'd like to use it in your logon-script you'd probably want to set it in the HKEY_CURRENT_USER because the users can't write in the HKEY_LOCAL_MACHINE.
Quote:


User Key: [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
Value Name: DontDisplayLastUserName
Data Type: REG_DWORD (DWORD Value)
Value Data: (1 = remove username)