Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Drive mapping as a service

1 view
Skip to first unread message

NONU

unread,
Aug 16, 2006, 2:57:01 AM8/16/06
to
Hi everyone,


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

unread,
Aug 16, 2006, 2:04:41 PM8/16/06
to
Why do you need a drive mapped? Why not just use the full UNC path in
whatever application you're using?

Neil Pike. Protech Computing Ltd

Vera Noest [MVP]

unread,
Aug 16, 2006, 6:20:47 PM8/16/06
to
Or define the bat file as a startup script for your servers in a
Group Policy.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

Neil Pike <neil...@compuserve.com> wrote on 16 aug 2006 in
microsoft.public.windowsnt.terminalserver.connectivity:

NONU

unread,
Aug 16, 2006, 11:06:01 PM8/16/06
to
See problem about why i cannot use UNC as i need this for backing up data and
netbackup does not take UNC.. mean i want to backup the log files into the
same location and that drive will be mapped on all the server..

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..

Neil Pike

unread,
Aug 17, 2006, 5:35:21 AM8/17/06
to
Nonu,


> See problem about why i cannot use UNC as i need this for backing up data and
> netbackup does not take UNC.. mean i want to backup the log files into the
> same location and that drive will be mapped on all the server..

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.

0 new messages