Solved

DOS boot disk - automatic logon

Posted on 2001-07-17
9
9,183 Views
Last Modified: 2010-05-18
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


0
Comment
Question by:stbedes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3
9 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 6290669
Take a look at the network boot diskettes at

www.bootdisk.com


That should help you out !!


0
 
LVL 5

Expert Comment

by:vsamtani
ID: 6290697
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
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6291206
 CD NET
  NET INITIALIZE /DYNAMIC
  NETBIND.COM
  TCPTSR.EXE
  TINYRFC.EXE
:# not sure if following needed
nmtsr.exe
:# and now logon
net logon
:#
  NET START BASIC
  NET USE K: \\wkstnsvr\d$
  A:
  CD \
  MOUSE.COM
  K:
  PQDI.EXE
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Expert Comment

by:medavis76
ID: 6291551
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
0
 

Expert Comment

by:supicab
ID: 6291736
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
0
 

Author Comment

by:stbedes
ID: 6295055
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
0
 

Author Comment

by:stbedes
ID: 6295063
See comment on rejection.
0
 

Expert Comment

by:medavis76
ID: 6295073
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

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6295575
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).
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month7 days, 17 hours left to enroll

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question