Solved

net use in netware script for NT 4.0 Share

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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