Jump to content

Recommended Posts

Posted

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 :crazy:

Thanks much


Posted

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.

Posted

Try this: :thumbup

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. :crazy: Any ideas on that????

Let me know if this works for you

Posted

Hi

I 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

Posted (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 by snooz
Posted

Thanks guys

I ended up using

REGEDIT4

[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:00000001

This took care of my logging on as well as bypassing intro message issues.

Thanks 4ur help :w00t:

  • 3 weeks later...
Posted

@cheezus420

hey 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 ie

autologon count in winnt.sif

Changed value of "AutoAdminLogon" to 0

but non of them works.what to do

Posted

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 :thumbup

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 0

should work just fine, also you could probably remove the string value containing the password.

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...