i have requirement in my project where we want drive to be permanently
mapped in around 20 windows 2003 server and the server on whihc share exists
is a unix server and that sahre need to be mapped all these 2003
server.without the actual user logeed in..
i tried to use net use :x \\servername\sharename /persistent:YES and the i
converted this into a bat file and then into a .exe file and
i tried to run this .exe file as a user defined service but i am not sure
even if servce is created it starts and then stops.. just wanted to know if
anyone has the exact reason for y this is happening service starting and
stopping.. elsewaise if anyone has a better solution than what i thought..
NONU
Neil Pike <neil...@compuserve.com> wrote on 16 aug 2006 in
microsoft.public.windowsnt.terminalserver.connectivity:
Also another thing is there any way where we can mention that if a following
service starts a particualr script executes automatically and runs till the
time service is running and stops when service stops.. mean suppose my
netbackup service stats and then this drive mapping script starts..
I'd use a different backup tool then. e.g. robocopy ....
> Also another thing is there any way where we can mention that if a following
> service starts a particualr script executes automatically and runs till the
> time service is running and stops when service stops.. mean suppose my
> netbackup service stats and then this drive mapping script starts..
Your issue is that a drive when mapped is only relevant to the "user" that
mapped it. You would have to have a long-running service that ran under a user
account, that did the drive mapping. Netbackup would have to start after it,
using the same user account, and then it *might* work.
But the fact you're even contemplating something like this means that you've
got the wrong tools for your setup.