[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Auto logon to network through MSClient 3.0?

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

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

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

656 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