Mapping drives on startup

Hi All,

Has anyone an idea how to map a network drive on a notes server during the domino service startup process?

I need to access data on another server so will need to map a drive for the application only. Not sure if UNC pathing would work either.

Kind regards,

Mark

Subject: Mapping drives on startup

Is it an agent that needs the drive or the actual server

if it is agent you can code the agent to map a drive letter Here is a code snippit from openntf

http://openntf.org/Projects/codebin/codebin.nsf/CodeSearch/7F7BA045EAA7949F862576030075911A

For server here is a IBM technote

http://www-01.ibm.com/support/docview.wss?uid=swg21497805

Subject: RE: Mapping drives on startup

Hi Barry,

I have just finished trying these and they are not really proving to be useful.

I fear that we might need to move all the data onto our server and get the other team to pull data off the box.

Thanks for your help :slight_smile:

Subject: Mapping drives on startup

A few ideas:

So I am not a network admin but I believe drive mapping happens on OS boot not Dom start. Work with your OS level folks to see if there is magic that needs to happen to get drives mapped.

Have you tried just mapping the drives and set them to ‘map on start’?

How about a bat file that you call from whatever needs to map the drive that uses netstat? You might need to build in a wait to give everything a chance to connect.

NET USE DriveLetter: “\UNC\Path\Here” PERSIST:YES

Finally, if the Dom box has rights to the other locations, UNC should work for most things you’d want to do. Have you tried this?