Change domain name to local machine for auto logon script
Hi guys,
I know this is the script for auto logon in windows....I use it as a post install task in my k2000.
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1 /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 10 /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultDomainName /d domain /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d username /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d password /f
What do I change the "defaultdomainname" to, if I want the script to replace it with the computer name.
I want to auto logon as a local admin account, so I want the script to put the computer name as the domain?
Machine names are auto generated by my k2000 based on serial number, so I want the script to insert the names automatically.
Thanks.