Link to home
Start Free TrialLog in
Avatar of stbedes
stbedes

asked on

DOS boot disk - automatic logon

We are building a DOS boot disc (to use with Drive Image Pro and Partition Magic.)

it would be good if it logged on automatically instead of stopping and asking to do so manually.

Can't find much on Powerquest site. Probably more of an MS thing anyway.

autoexec.bat is ..
@ECHO OFF
PROMPT $P$G
CD NET
NET INITIALIZE /DYNAMIC
NETBIND.COM
TCPTSR.EXE
TINYRFC.EXE
NET START BASIC
NET USE K: \\wkstnsvr\d$
A:
CD \
MOUSE.COM
K:
PQDI.EXE


protocol.ini is ...

[NETWORK.SETUP]
     VERSION=0X3110
     NETCARD=MS$EL90X,1,MS$EL90X,1
     TRANSPORT=TCPIP,TCPIP
     LANA0=MS$EL90X,1,TCPIP

[MS$EL90X]
     DRIVERNAME = EL90X$

[PROTMAN]
     DRIVERNAME = PROTMAN$
     PRIORITY = MS$NDISHLP

[TCPIP]
     NBSESSIONS=6
     DEFAULTGATEWAY0=
     DISABLEDHCP=0
     DRIVERNAME=TCPIP$
     BINDINGS=MS$EL90X
     LANABASE=0


system.ini is ...

[NETWORK]
     FILESHARING=NO
     PRINTSHARING=NO
     AUTOLOGON=YES
     COMPUTERNAME=UNTITLED CLIENT
     LANROOT=A:\NET\
     USERNAME=DELL98
     WORKGROUP=SBNET
     LOGONDOMAIN=SBNET
     RECONNECT=NO
     DOSPOPHOTKEY=N
     LMLOGON=1
     PREFERREDREDIR=FULL
     AUTOSTART=FULL
     MAXCONNECTIONS=8

[NETWORK DRIVERS]
     NETCARD=EL90X.DOS
     TRANSPORT=TCPDRV.DOS,NEMM.DOS
     DEVDIR=A:\NET\
     LOADRMDRIVERS=YES

[PASSWORD LISTS]


Constructive suggestions welcome.

TIA


Avatar of SysExpert
SysExpert
Flag of Israel image

Take a look at the network boot diskettes at

www.bootdisk.com


That should help you out !!


Avatar of vsamtani
vsamtani

If the user named in the system.ini Network section has no password on the server *AND* has a valid password-list file (.pwl) file on the boot disk, then I think you will be able to log in without a password. However, this same user will also be able to log into the domain from Windows as well, so the security implications are clearly unpleasant.

If you have Drive Image Pro version 3, you have access to their powercast feature, and the client disks for this process don't need to log on to the domain at all, and therfore can be completely automated. Even for just one client, using the powercast feature is faster than using the mapped network drive method, provided your network can cope with the large amount of broadcast traffic.

Vijay
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

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
if you dont mind cleartexting the password the easiest way to do this is add the user name and password after the net use k: \\wkstnsvr\d$ line with a switch y to save the password in autoexec.bat.  Unfortunately you have to enter a password though and can't leave it blank, for example:

autoexec.bat is ..
@ECHO OFF
PROMPT $P$G
CD NET
NET INITIALIZE /DYNAMIC
NETBIND.COM
TCPTSR.EXE
TINYRFC.EXE
NET START BASIC
NET USE K: \\wkstnsvr\d$ username password /y
A:
CD \
MOUSE.COM
K:
PQDI.EXE
her is the file system.ini
and user password is blanc (empty)
when you log on for the first time you need to answer yes to creat pasword list. after that it will autologon

[network]
filesharing=no
printsharing=no
autologon=yes
computername=name
lanroot=a:\NET
username=user
workgroup=home
reconnect=no
dospophotkey=N
lmlogon=0
logondomain=home
preferredredir=full
autostart=full
maxconnections=8
[network drivers]
netcard=el90x.dos
transport=tcpdrv.dos,nemm.dos
devdir=a:\NET
LoadRMDrivers=yes

[Password Lists]
*Shares=a:\net\Shares.PWL
user=a:\NET\user.PWL
Avatar of stbedes

ASKER

medavis76 - thanks for suggestion but has not worked.
[suggested answers as comments please, so question remains open]

ahoffman - this works (having previously tried putting net logon after the net start - didn't think to put it before. Need to recharge lateral thinking generator) - To make completely automatic needs pwl files on floppy also.

sysexpert - thanks for link - interesting for follow up but not immedately solution.

vsamtani - thanks for suggestions. Will try powercasting again to see if quicker. We have only used it with mixed success in past.

Thanks
Avatar of stbedes

ASKER

See comment on rejection.
I use this exact technique every day for 16 classrooms to login on 250 computers so I don't know what you are doing wrong stbedes.  And by the way this is not a "suggested answer" it works.  Make sure the *.pwl file is clean

medavis76, I'm not very familar with M$'s themes of authentification, but AFAIK  net use simply authorizes to use the specified share as the specified user, while  net logon  logs on to the computer which then automatically allows to use the shares (if prmitted by the underlaying ACLs).