Solved

net use in netware script for NT 4.0 Share

Posted on 1998-01-28
4
196 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
[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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 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