Solved

Auto logon to network through MSClient 3.0?

Posted on 2004-04-14
3
1,268 Views
Last Modified: 2010-08-05
Hey all,

I'm trying to set up automatic login for some DOS 6.2 boxes using MSClient 3.0. Everything is set up and working properly, but I have to hit enter to verify my username, and type my password each time a machine is booted up. These boxes are reset almost every day, so it gets to be a hassle.

I've seen 1 or 2 other questions on this (http://www.experts-exchange.com/Networking/Q_20152243.html had some good info, but none of it worked for me). I think I'm getting my mapped drives set up a bit differently. Rather than using the "net use" command, I'm running net.exe and setting up my drives that way, and just checking "reconnect on logon". Upon reboot, I'm getting prompted for the UN and PW during the "net start" portion, regardless of whether or not I have a drive mapped. I'm trying to find out if there is a way to get around this and have the information be filled in or pulled up automatically.

I'll post some of my config files to see if they help any:

[Config.sys]
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=HIGH,UMB
FILES=30
LASTDRIVE=Z
DEVICE=C:\NET\ifshlp.sys

[Autoexec.bat]
@ECHO OFF
PROMPT $p$g
PATH C:\NET;C:\DOS
SET TEMP=C:\DOS
C:\NET\net initialize /dynamic
C:\NET\nwlink
C:\NET\netbind.com
C:\NET\umb.com
C:\NET\tcptsr.exe
C:\NET\tinyrfc.exe
C:\NET\nmtsr.exe
C:\NET\emsbfr.exe
C:\NET\net start

[System.ini]
sizworkbuf=1498
filesharing=no
printsharing=no
autologon=yes
computername=Dialup1
lanroot=C:\NET
username=vsuser
workgroup=Test
reconnect=yes
dospophotkey=N
lmlogon=0
logondomain=Test
preferredredir=full
autostart=full
maxconnections=8

Hopefully this helps... any advice would be greatly appreciated. Let me know if any other config options are needed and I will add them.

Thanks.
0
Comment
Question by:Phaethar
  • 2
3 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 125 total points
ID: 10831936
So, placing
NET LOGON before NET START doesn't work?
and medavis76 seemed to have a good solution here: Q_20152243.html#6291551
0
 

Author Comment

by:Phaethar
ID: 10832970
Ok, I've made a bit of progress here.

Placing NET LOGON first gives me this prompt:

The WORKSTATION service is not started.
Is it OK to start it?

Hitting Y will still ask me to confirm my username and type a password, just like before.

But, if I change my autoexec to read:

C:\NET\net logon username password

Then, it will logon without getting stuck there. So, I think that if I can get by that workstation service prompt, I should be just about there. Any ideas on how to start that up automatically?

Thanks.

0
 

Author Comment

by:Phaethar
ID: 10833527
Ok, I think I got it.

I had to run SETUP from the C:\NET folder to change some options. My startup options are now:

Use the basic redirector
Run Network Client
Do not logon to domain
Change net pop hot key: N

Then, it my autoexec.bat file, I changed the logon command like so:

C:\NET\net logon username password /y

This skips any prompts about the workstation service and logs me on. Also, since I had chosen to reconnect my mapped drive on logon through the net.exe program, it also reconnects my drives as well. So now everything loads up automatically, just as I'd wanted!

Points will go to sirbounty.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now