WIN2K Server mapping of Local Shared Drive...........

Posted on 2007-07-23
Last Modified: 2012-06-27
Windows Server 2000 SP4. The issue I am having is the mapping of a local shared drive. I have two hard drives in the computer; one C drive and one D drive. I am sharing the d drive and my third party application has scripting that uses that virtual drive letter to gain access to files. I am using the NET USE command to map the drive and give it the letter Z. So my D Drive shows up as a Virtual Drive accessed by Z:.

Under Service Pack 3 it was working fine but now since I upgraded to SP4 it appears to be broken. If I map the drive using the SUBST command I have no problem accessing the files, but after a undetermined time when using NET USE I can no longer access the files. I am trying to understand how NET USE is different from SUBST and the possible causes of this problem.
Question by:timsells
    LVL 7

    Accepted Solution

    Net use is assigning an already located IDE to a letter notation of your choice like :Z

    Subst is a DOS command used for assigning folder or directories to a notation of your choice like :G

    So they can be used very differently but can be defined in the same way in a batch file or start up file.

    How many clients are connecting to this drive letter?
    LVL 63

    Expert Comment

    I would also make sure that you delete the asigned drive letter before mapping it.

    Alos, I do not like using Z: since it tends to be used for special programs. try using X or Y

    I hope this helps !
    LVL 82

    Expert Comment

    Mapping the drive to itself will access the files through your TCP/IP stack.
    Using subst will keep the access directly and should be a lot faster.
    LVL 7

    Expert Comment

    that was truly the answer to the question in the simplest terms.


    Author Comment

    I am connecting 25 clients to this drive but not all at the same time. I have two hard drives and sharing the D Drive so that the files can be shared from all clients. Then I map the shared drive as drive letter that is consistent with the third party application I am using to access the files. This way the scripting is all the same since all the remote computers access the same path.

    Thanks for all the feedback so far. The problem seems to be with accessing the files using NET USE and not SUBST. If I try to access the files with my batch file using NET USE, an undetermined amount of time later I can no longer access the file. I will then re-map the drive without re-starting the application or re-booting and I have no problem accessing the file. I then tried going back to NET USE again without restarting application or rebooting and same issue. The only way I could gain access to the file again using NET USE was to reboot the computer. I don't quite understand if some service is used when using NET USE or if it has something to do with the network or even how many clients are out they accessing the file.

    Looking for the needle in the nay stack.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    745 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