lbriggs
Posts: 94
Score: 2 Joined: 7/10/2003 From: Hartford, CT Status: offline
|
I am working on the same issue, but came up with a fairly simple KIX workaround. The idea is to have KIX make the changes to the registry to let the admin autologon but also place another kix script in the allusers/startup to reset everything after x minutes. To do so, a script needs to write the following values: WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " DontDisplayLastUserName" , " 0" , " REG_SZ" )
WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " AutoAdminLogon" , " 1" , " REG_SZ" )
WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " DefaultUserName" , " Administrator" , " REG_SZ" )
WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " DefaultDomainName" , " %computername%" , " REG_SZ" )
WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " DefaultPassword" , " xxxxxx" , " REG_SZ" )
WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " LegalNoticeCaption" , " " , " REG_SZ" )
WRITEVALUE(" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" , " LegalNoticeText" , " " , " REG_SZ" )
All you need to change is the default password. The LegalNotice area needs to be set to null in order for the auto-login to work. Use another script which sets all of the above to null, and AutoAdminLogon to 0, and copy that to the alluser startup. Add a reboot command to the kix scripts and you are good to go.
|