?
Solved

Auto logon to network through MSClient 3.0?

Posted on 2004-04-14
3
Medium Priority
?
1,336 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 375 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

743 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