?
Solved

map to drives in Novell domain on boot

Posted on 2003-03-26
7
Medium Priority
?
294 Views
Last Modified: 2010-04-13
I have a situation where the users W2K machines need to have a drive mapped automatically to a W2K server that sits in a different Novell domain.  The actual mapping of the drive (domain login, etc.) should be transparent to the user.  
Presently I have a .cmd file containing the net use command sitting in the \Start Menu\Programs\Startup directory to map the drive on boot up.  The problem is that this file can be opened in edit mode revealing the login and password for the other domain.  

How can I set up automatic mapping of this drive so that the domain login is transparent to the user?  I believe there is something that can be done with a script with the userid and password hidden in a registry key but I don't know how to do this.
Thanks.
0
Comment
Question by:subgenius
[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
  • 3
  • 3
7 Comments
 
LVL 2

Expert Comment

by:jimshoe
ID: 8212435
Easiest way would be to place a pointer in the users login script calling up this other cmd file stored on the logon server.



 
0
 

Expert Comment

by:hesseltined
ID: 8212656
Since W2K is secure and nobody can see the logged in users registry hive, it is generally safe to store a login and password there.    What I have done to get around this is to create a VB script to read the login and pass to the registry, then use the pass that information to the cmd file, or send it directly to the Novell login prompt.   Either way should work, but you will need a little VBS knowledge.
0
 

Author Comment

by:subgenius
ID: 8227011
I apologize, I made an error in asking my question.  The W2K server is in an NT domain not Novell. The user workstations (W2K Pro)are in a Novell domain.
Can anyone provide an example script or direct me to links which will help solve this problem?
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 2

Expert Comment

by:jimshoe
ID: 8227305
So you have Win2k Pro workstations logging into a Win2k server that need drives mapped to a novell server?

If thats the case, place the cmd file on the Win2k server, in the login script of the users place a line pointing to the location of the cmd file that you just stored on the win2k server.

If I'm not understanding this correctly please correct me.

Is there a logon script on the Win2k server?
0
 

Author Comment

by:subgenius
ID: 8228454
Sorry for not being very clear on this.
The W2K Pro user workstations need a drive mapped to a W2K server that is in an NT domain.  The users are in a Novell domain and normally would not need access to the NT domain (it is a domain for system ops and databases only).  When the users log in in the morning, they do so via a Novell login.  I'm told by the guys responsible for the Novell domain that they can't set up the Novell login script to map drives to the NT domain.  So I use a .cmd file that contains NET USE commands to map the drives.  
My goal is to make this as secure as possible and foolproof to the user. Right now the drives do get mapped automatically but it's not very secure. The users do have accounts set up in the NT domain. What I'm looking for is a way to bury this process in the API or in an executable that runs on startup.  I just don't know how to do that part.

Thanks
0
 
LVL 2

Accepted Solution

by:
jimshoe earned 450 total points
ID: 8228722
Ask the Novell guys to execute your cmd file from the login script.

#SYS:PUBLIC\YOURCMDFILE.CMD

Or if you'd rather stay away from them :-)

You could place the cmd file on each workstation in a directory of your choice.  Then using regedit:

Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Create the Value Data Type(s) and Value Name(s) as detailed below.

Data Type: REG_SZ String Value // Value Name: Enter the Name of Program Executable

Value Data: Enter the Path to the Program Executable
Exit and Reboot

Or you could take up programming :)

0
 

Author Comment

by:subgenius
ID: 8261905
This answers part of my question but I still have the problem of how to secure the login information which is in the cmd file on the client machines.  I think that is a problem that requires a programming solution so I'll address that in the programming area.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
We are witnesses that everyone is saying that our children shouldn't "play" with a technology because it is dangerous. This article is going to prove that they are wrong.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 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