Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Create network drive at server boot

Avatar of sidokit
sidokit asked on
Windows Server 2003Microsoft Legacy OS
6 Comments1 Solution659 ViewsLast Modified:
Have a windows 2003 server which will be using net appliance storage.  Three volumes have been configured on the net appliance storage to be used by the application server.  Access to the volumes is controlled by username and password that is local to the net appliance.  
        Once can log on to the windows 2003 application server and run a command procedure to map drives to the three volume on the net appliance.   The net use  command  in the command procedure includes the local username of the net appliance.  This enable the logged on user asccess to the storage on the net appliance once the drives are mapped.
        However the objective to have network drive created when the server boots.   These network drives will be viewed by anyone that logs on as disconnected drives.  When the application run under a local account on the windows 2003 server that is the same name and password as defined on the net appliance, then the application will have access to the volumes configured on the net appliance.
        The question is how to get the network drives created  when the server boots.   I have created an OU, place the server name in that OU.  I created a  GPO and linked it to that OU.  In the GPO under computer configuration\windows settings\scripts\startup I have a vbs file to run.
I have  RUN LOGON SCRIPTS SYNCHRONOUSLY and RUN STARTUP SCRIPTS ASYNCHRONOUSLY enabled   at  computer configuration\administrative template\system\scripts.  
  The contents of the VBS file :

set  objnetwork = createobject("wscript.network")
objnetwork.mapnetworkdrive "F:", "\\\data1"

        This is not creating the network drive at boot.  I am looking for any suggestion on how to achive the creation of network drives when the server boots that point to the storage on the net appliance.    The network drives need to be accessible by the application when it runs in batch mode or during normal application processing whith out having a person logged on.
Avatar of ren20atom
ren20atomFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers