Discussion Locked

Real mode Logon to NT from Win95

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Windows 95 network boot disk that I use to log into a Windows NT 4.0 server in real mode. Everything works but I have to use the manual method of using the net use command mapping h: \\server_name\user_name. Is there a way to auto map my home directory using a username variable in real mode?

5 replies

by dcassat

IF the home directory is defined in User Manager/Profiles and assuming the user directory is shared, you can use net use h: /home. It works, it's the way we do it. Good Luck.

by garytn9988

I tried this but it did not work for me. As suggested I entered the following net use h: /home in a batch file. I received and error 7750: Cannot locate registry.

Although your suggestion does work once I am in Windows and execute the net useh: /home command from a DOS prompt.

If you have any more suggestions, please let me know.

Thanks

Gary

by lawrencedl

In the batch file, set an enviroment variable that represents the username and gets the information from the batch startup or querys the user for it.

by garytn9988

I tried the suggested from dcassat@mail.com, I entered the following net use h: /home in a batch file. I received and error 3: The specified path was not found.

Although dcassat@mail.com's suggestion works once I am in Windows and execute the net use h: /home command from a DOS prompt.

I was thinking along the same lines as you regarding creating an environment variable so it wouldn't matter who used the boot disk. But I would like know a method of capturing the users response from the net start command into the set environment variable. Because the net start command requests the users ID and password if figured it would be best to capture this input for the variable allowing anyone to use the boot disk.

Thanks for your suggestion, but if you know a way to capture the net start input into a variable let me know.

Thanks again

Gary

This discussion is closed to new replies.