Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

net use in netware script for NT 4.0 Share

Posted on 1998-01-28
4
Medium Priority
?
200 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 400 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

963 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