Solved

net use in netware script for NT 4.0 Share

Posted on 1998-01-28
4
190 Views
Last Modified: 2013-12-19
I am migrating from Netware to NT 4.0 server and I plan to migrate groups of users at a time.  I would like everyone to use the NT shared drive instead of Netware shared drive right away and then slowly move home directories to NT.  I tried to put a net use command in the Netware login script to connect users to NT server's shared drive , but it did not work.  In the login script I put the name of the batch file to run.  

This is what I put in my Netware login script:
     #command.com /c "k:\ntlogin.bat"

Inside the ntlogin.bat file is this:
     net use x: \\ntserver\share

I get an error saying that you have to log in first in order for this to work.  But it works fine when I am logged into Netware and run a net use command manually, so the syntax of the net use is fine but it doesn't work in the Netware script.  Any help that anyone can give me would be greatly appreciated.  Thank you in advance.
0
Comment
Question by:bfarahi1
  • 2
4 Comments
 
LVL 5

Expert Comment

by:snimmaga
ID: 1570713
According to KB Article # Q135167, the Netware Login Script Processor is not good with realising UNC path names.  This is probably why you are unable to connect to a NT Server share.  You should find an alternate way to do this.
Secondly, it might be caused for another reason.  Check your CONFIG.SYS file on the clients for the setting of LASTDRIVE.  Usually this gets set for 'P'.  Change this to 'Z' or disable it totally.  This might cause the problem, too.
Good luck...
Srini.
0
 

Author Comment

by:bfarahi1
ID: 1570714
I do not have a lastdrive line in my config.sys.  I am able to run logical drive batch file in the login script.  For example I am updating users McAfee DAT files with a batch file in the login script.  Although the batch file is being run from a Netware drive.  I think there should be a way to connect to an NT shared drive in the Netware login script.  Thank you in advance.
0
 
LVL 5

Accepted Solution

by:
heiko earned 100 total points
ID: 1570715
ok your problem is well known.

at time of running netware logon scripts you're not validated to NT network. this wil be done after netware logon has finished.

to solve this problem change network provider order on your workstation. then you are valid logged onto your NT network but without execution of a script and you can now log onto your netware with execution of your script as you've created.

better is to create to separate scripts for each network placed on NT for NT network and NW server for netware. in this case you're independend of each server system. if you want to shutdown one of them, all from other is running as expected.
And you have to administrate each system with tools designed for it. only as long as you have two different system you have to know about source server (NT or NetWare)

0
 

Author Comment

by:bfarahi1
ID: 1570716
It worked great.  Thank you.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now