Link to home
Start Free TrialLog in
Avatar of egandp
egandp

asked on

How do I configure a Ghost network boot disk to automatically logon to a domain

Hi all, hope somebody can sort this one for me!

I've created a Ghost bootdisk, and pretty much have it totally automated. My one problem is this, how can I configure it to connect automatically to our domain?
At present, the floppy does the job of getting as far as a line saying 'Please enter your username, or press ENTER if it is USERNM'
I press enter and am then asked to enter my domain password, after that, the rest of the steps are automated.
I'm not sure if I've missed an obvious option for saving these details to the disk when creating it, but I suspect one of the .ini files on the disk (or possibly autoexec.bat) needs to be manually edited. I've pasted their contents below...

*************************************************

***********Autoexec.bat**************
@ECHO OFF
SET PATH=A:\NET\;a:\;%PATH%;
SET TEMP=A:\
SET TCPHELP=A:\NET
SET ETCDIR=A:\NET
REM \MOUSE.COM
A:\NET\NET START
A:\NET\NET.EXE USE l: \\server\shared
l:\ghost.exe -clone,mode=load,src=l:\image.gho,dst=1 -sure -rb

****N******Network.ini*****************
[network]
computername=PC1
lanroot=A:\NET
autostart=netbeui full
username=USERNM
domain=MYDOMAIN
lslogon=yes
autologon=no
reconnect=no
passwordcaching=no
timesync=no

***********Protocol.ini******************
[network.setup]
version=0x3100
netcard=NIC,1,NIC
transport=nts$ntst2,NTS$NTST2
transport=ibm$netbeui,IBM$NETBEUI
lana0=NIC,1,ibm$netbeui
lana1=NIC,1,nts$ntst2

[NTS$NTST2]
DefaultDomain=MYDOMAIN
BOOTPFLAG=DHCP
DriverName=ntsts$
VCs=16
VCReceiveLarge=6
VCSends=6
RcvWindow=2920
UseMemory=UMB
BINDINGS=NIC
LANABASE=1

[protman]
DriverName=PROTMAN$
PRIORITY=ibm$netbeui

[IBM$NETBEUI]
DriverName=netbeui$
SESSIONS=20
NCBS=20
BINDINGS=NIC
LANABASE=0

[nic]
drivername = E1000$
; Line Speed (Mbits/sec)

Speed = Auto-Speed

; Force Duplex Mode

ForceDuplex = Auto



*******************************************************

Any assistance would be greatly appreciated!
Thanks
Avatar of gabit25
gabit25

Hi!

I'm doing me too ghost by network domain and it isn't a method to provide the domain password automatically. You will always have to confirm user name and enter the user password.

Sorry.

Gabriel
ASKER CERTIFIED SOLUTION
Avatar of internoc
internoc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
what about in the network.ini
set the autologon option to yes
and passwordcaching to yes as well
you might have to enter another line that says
password=mypassword
I also used ghost until I found a better boot disk that has a better feature, Checkit out here
http://www.netbootdisk.com/screens.htm
Copy the above if link does not work.

This boot disktte is great and lots better than ghost bootable, Still need ghost.exe

keith
Avatar of egandp

ASKER

Took a bit of tinkering around, but using A:\NET\NET START < a:\NET\autokeys.txt seems to have done the trick
The additional tinkering consisted of changing some of the variables in network.ini so that the password isn't asked untill a remote drive is mapped - given that the password is asked after mapping the drive (net use l: \\server\share) I changed this line to net use l: \\server\share < autoword.txt. The bootdisk is now totally automated :)
Thanks everyone!