?
Solved

Auto logon to network through MSClient 3.0?

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Loops Section Overview
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

749 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