Solved

Auto logon to network through MSClient 3.0?

Posted on 2004-04-14
3
1,326 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
[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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 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