Solved

Need script to mount network shares (NAS) on Win 95/98 clients in Autoexe.bat

Posted on 2008-06-26
3
1,546 Views
Last Modified: 2013-12-22
I have a SBS 2003 domain/network with 10 WIn 95/98 machines that must remain so. They use proprietary lab equipment that run on DOS apps and the DOS emulators I have tried would not run the software properly due to the way it is configured (all the equipment attaches via serial ports and the DOS apps look for the equipment first, don't "see" it and then fail after the check).

I am fine with the 10 legacy machines - BUT I need those WIn 95/98 laptops to mount shared server and NAS resources when they boot or by running a batch file. All of the results returned have to be moved there.

The script I use on the Win XP machines fails whether it is run as a bat file from the desktop or is put in Autoexec.bat

Here is the syntax I used:

net use S: /delete
net use R: /delete
net use H: /delete

net use S: \\server\Scans

net use R: \\DATA_NAS\Results /USER:user userpassword
net use H: \\DATA_NAS\TechFiles /USER:user userpassword

The share "scans" on the DC maps fine and is an open share that "everyone" has full access to.
The "Techdata" is a NAS device (Buffalo Terrastation) attached to the DC and requires user authentication to access any of the data on it. The security cannot be removed. (If the security is removed along with the user name and password scripting works fine!)

The script works perfectly on all of the XP, Vista and Win 2000 machines in on the domain. But the "user:" command doesn't seem to work when used on the WIn 95/98 boxes.

If I try to map the network shares manually from Win Explorer I get asked for a password BUT NOT a user name so the authentication fails and I can't mount them that way either..

Anyone still remember how to script WIn 95/98 for user authentication to shared resources on a domain?

Thanks,
-MP
0
Comment
Question by:mojopojo
[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 31

Accepted Solution

by:
Frosty555 earned 500 total points
ID: 21877867
Windows 95 / 98 do not support sending the username along when it authenticates. It will always send the username of the currently logged in user. This is the classic "Win98 can't talk to XP" problem.

Just create a user on the XP box or NAS that has the same user name and password as the win98 box.

Or... rename the username / password on the win98 box to be the same as a user who has priviledge to access on the XP box / NAS.
0
 
LVL 3

Author Closing Comment

by:mojopojo
ID: 31471108
Was afraid of that.
Thanks for the verification.
-MP out.
0
 
LVL 31

Expert Comment

by:Frosty555
ID: 21880748
Yeah windows 98 is silly like that. It's unfortunate, but I do not know a way around it.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

735 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