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:", "\\18.104.22.168\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.