I've got an occasion problem that I could use an answer to
if possible. I've got a routine that runs an unattended
install of W2K Server SP4 - it starts by creating a server
in a workgroup. Another VB app then runs that lets me
specify a computer name and (based on a lookup text file)
sets the appropriate IP address, DNS and WINS settings.
Another app runs which performs an unattended DCPROMO, and
the end of that app sets autologon information with a
domain account.
The problem is that sometimes the autologon after the
DCPROMO fails - the domain name in the logon window
appears to be blank and if I look in the registry
(Winlogon key) the DefaultDomainName is set to the
computername, which is obviously invalid now that the
server is a DC.
Sometimes it autologs on OK, but most of the time it
doesn't. Anyone got any ideas? P.S. I know the routine
seems a little long winded but it's got to be done like
this for various reasons.
|