cheezus420 Posted July 12, 2005 Posted July 12, 2005 I am creating an unattended install of windows, and applications. The applications are all stored on a server that is part of our domain. The only thing that is keeping my install from being completly unattended is fact that I have to log in to the domain after windows is installed before the apps can be installed form RunOnceEx. Any ideas on how to bypass the domain login just once Thanks much
DVDave Posted July 12, 2005 Posted July 12, 2005 I know, regardless of logging onto a domain or the local box, we have been unable to get our unattended installs to auto-login since Windows XP Service Pack. The first unattended we created that incorporated SP2 just beeped at us about a bad username/password. Once we typed in the password, the RunOnce stuff triggered just fine.I know this isn't an answer, but at least it might help describe the issue as not specific to the fact that you're trying to log on to a domain. Perhaps another reader here has worked around the SP2 issue.~Dave N.
cheezus420 Posted July 12, 2005 Author Posted July 12, 2005 Thanks for the reply. Hopefully there is some super computer whiz out there that can help us
cheezus420 Posted July 13, 2005 Author Posted July 13, 2005 Try this: Run regedit from your run command. navigate to [HKEY_LOCAL_MACHINE]\software\microsoft\windows nt\current version\winlogon To enable it to automatically logon: -Change value of "AutoAdminLogon" to 1 -if "AutoAdminLogon" isnt there, just click edit, new, stringvalue then name the new string value "AutoAdminLogon" and set the value to 1. -Make sure the values "DefaultDomainName" and "DefaultUserName" are correct for your domain -make sure the value of "DefaultPassword" is set to the correct password -if "DefaultPassword" isnt there, click edit, new, stringvalue then name the new string value "DefaultPassword", and then enter the password that corresponds to the user -if you want to bypass the ctrl-alt-del when you logon, open up "DisableCAD" and set the value to 1.After you do this, it SHOULD automatically log you in to your domain with the user name and password you entered in regedit. The only thing that I havent been able to figure out is how to bypass the domain welcome screen that makes you click "OK" to move on. Any ideas on that????Let me know if this works for you
quotee Posted July 13, 2005 Posted July 13, 2005 HiI had the same problem...I used a simple batch file, to create a networkpath to the directory whre the setup-files are in the domain...!?greetz
snooz Posted July 14, 2005 Posted July 14, 2005 (edited) You will need to make sure you are specifying the domain in Winlogon.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"AltDefaultDomainName"="DOMAIN""CachePrimaryDomain"="DOMAIN"If that does not work change the username to the following;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="DOMAIN\Username" Edited July 14, 2005 by snooz
cheezus420 Posted July 14, 2005 Author Posted July 14, 2005 Thanks guysI ended up usingREGEDIT4[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon]"DisableCAD"=dword:00000001"AutoAdminLogon"="1""DefaultPassword"="******""DefaultDomainName"="CARS_NT_DOMAIN""DefaultUserName"="administrator""AltDefaultDomainName"="CARS_NT_DOMAIN""AltDefaultUserName"="administrator""CachePrimaryDomain"="CARS_NT_DOMAIN"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]"legalnoticecaption"=-"legalnoticetext"=-"disablecad"=dword:00000001This took care of my logging on as well as bypassing intro message issues.Thanks 4ur help
cheezus420 Posted July 18, 2005 Author Posted July 18, 2005 would you mind showing me the content of the batch file you use??? Thanks much!!!
bmn Posted August 9, 2005 Posted August 9, 2005 @cheezus420hey i want exactly reverse to what u said above abt enabling autologon.after finishing of my unattended installation i want to disable autologon to admin account.i tried every thing ieautologon count in winnt.sifChanged value of "AutoAdminLogon" to 0but non of them works.what to do
cheezus420 Posted August 9, 2005 Author Posted August 9, 2005 quotee,no, i got everything working. thanks though. I ended up just using a batch file containing the "net use" command. worked fine for what i needed bmn,Do you mean logging in to the domain??? If so, Try running regedit and navigating to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon]then change the value of "AutoAdminLogon"="1"from 1 to 0should work just fine, also you could probably remove the string value containing the password.
Fritz_Saxi Posted August 9, 2005 Posted August 9, 2005 Where i work the Xp machines on the "managed build" are on active directory and you can tie in msi's to install before log on to the domain. Thats safer than giving access to an admin account
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now