Link to home
Create AccountLog in
Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

Avatar of Doug Van
Doug Van🇨🇦

How to autologin with WFWG 3.11 and TCP32?
Okay, before anyone states that it is dangerous to automatically login to a server.  SAVE IT! :-)
This system is supposed to autologin... the problem is:
Each time the system is booted, the login name and password dialog box pops up.  The user name is filled in but it requires a password.  This is a problem because there will be no keyboard connected to this unit.  

How can do I do it??

System configuration:
Windows for Workgroups v3.11
TCP32 added - From MS
Using IP only (no Netbeui or IPX)
Loging into a NT 4 server

For 100 pt bonus - I am trying to map a drive letter to a specific directory: e.g. \\servername\path\directory
I can map a drive letter to \\servername\path but attempting to map directly to the 'path' produces an error message.  I'm doing this from file manager.  Perhaps, this cannot be done?

In addition: I'll give an additional 200pts and 'A' score for an answer to the first question in the next three hours!!

Thank you

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of saar2saar2

I believe it can be done with Net Logon.

Add a Net Logon command in your Win.ini (Run statement).

This will do the trick only if the system run the command from the Win.ini after it loads the network drivers and before it show the login gui. I cannot check it right now (you want a fast answer).

For help type Net Logon /? (it is usless to paste it here).


You cannot map a drive to a directory. You can share the directory directly and then map a drive to the share name.

Saar Carmi

saar@bigfoot.com
icq# 3233305

If you disable the logon gui on startup you will be able to add the Net Logon command to your Registry (under Run).

Saar

Avatar of Doug VanDoug Van🇨🇦

ASKER

Thank you Saar,  How do I disable the Logon GUI?  I'm assuming this is from win.ini... I'll check.


Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


No, you cannot map a directory for a drive, just the share name. If you need a directory as a drive, you have to share that directoy, then you can connect to it as x:.
You can automatize mapping with
NET USE x: \\servername\sharename
I will think about AutoReconnecting. No idea, yet.

Are you referring to the USER or DOMAIN password? For either to auto-login: simply create both with a blank supplied at creation for the password.You'll have to do the same in User Manager on the NT server.To delete all previous user names on the 3.11 workstations: DEL *.PWL in \Windows - at reboot you'll be asked again for user/pw.

As for mapping to a directory: the only valid path specification is \\computername\sharename,so the directory itself has to be shared;you then would map a drive letter to the directory's share name (which is not necessarily its directory name).This should be done in File Manager.Doing it with the DOS networking component (NET USE) is less efficient and adds networking restrictions to the workstation.



Avatar of Doug VanDoug Van🇨🇦

ASKER

Sorry folks, none of the suggestions worked.
This is the solution I came up with (it works but I'd like a better way).

First of all,
I couldn't get rid of the GUI login.  The help suggested not entering a password after the first successful login and the GUI would never appear again.  I tried this but I keep getting the error message: "The password-list file could not be unlocked.  The logon password you typed is incorrect."

I created a batch file called login.bat and in this batch was:
"net login username pass /YES"

I called this from win.ini (run = c:\network\login.bat)

When the system prompts with the GUI login, I've instructed the client to hit cancle.  "run=..." takes over from here.
Note: the only user input is through a touch screen.

MATTCEI: The account must have a password as it is policy for this company.  I've been given a username and password to work with.

Everything works fine although I'm not completely comfortable with shelling to DOS for NET login and I don't like having the client hit the cancle button on the GUI login interface.

I'm still willing to offer 300pts to a solution.

P.S. Forget about the mapping problem, I've learned to live with this by making the software accept the change.



Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


A) Sorry. I confused with 95 - I don't know how to disable the GUI.

B)What's the problem with shelling to DOS? You can create a PIF file which will run the window minimized.

I am not sure about it but I would give it a try:

You should be able to start the network before you start Windows (this is how a DOS client for Microsoft Networks work). This can be done (as much as I know) with Net Start.
If you start the network and logon before Windows starts I believe that the GUI will be passed.

Saar Carmi
saar@bigfoot.com

One of my clients' Win3.11 machines does autologon with no logon script.  I set it up so long ago I don't remember exactly what I did.  As I recall I told it to log on to the domain and used the same username and password for the domain logon as for the local logon.  Try it and see if it works.  Use the "Save password" option.

Avatar of Doug VanDoug Van🇨🇦

ASKER

kayton: there is no 'save password' option.  Never seen anything like that.
sarr2: Shelling out to DOS is not always fool proof.  It works but I'd rather just get rid of that GUI login.
You cannot log into Win NT using IP at DOS.  TCP32 is a Windows based protocol which is not available until Windows is run.  So, NET LOGIN with IP is not available at DOS.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


To allow the PC to login automatcially

1. Edit the system.ini file
2. Locate [Network] section
3. Set UserName to the user that you wish to login automatically
4. Add entry AutoLogon=Yes
5. Save file

The drawback is that the password must be blank. Best way to do this is to blank password on server, then delete the usename.pwl file in the windows directory on the workstation. Next time you login on the workstation leave the password blank when prompted to enter a password.

I can't find any method where you can enter a password.

PS You map to a path, only a sharename. You need to share the folder you wish to link to. You can then link to that drive from file manager.


Avatar of Doug VanDoug Van🇨🇦

ASKER

robandrw:  Thanks but I've already stated that policy doesn't allow blank passwords!  I already knew about this idea, however, I cannot use it.  All I want now is to get rid of the GUI login.   That's it!  How do I disable the GUI login yet still login as I previously described.  
The point is, I need to log in automatically but I do not want the GUI login to pop up.

ASKER CERTIFIED SOLUTION
Avatar of robandrwrobandrw

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of Doug VanDoug Van🇨🇦

ASKER

robandrw: Hello!  If this works, you have earned yourself 300pts!!

As I'm now 600km away from the system, it will take a few days to set up a test system to verify this (though I believe you have it!!).

Thank you in advance!

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.

Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.