Networking Forums

Networking Forums > Computer Networking > Windows Networking > drive mapping as a service

Reply
Thread Tools Display Modes

drive mapping as a service

 
 
NONU
Guest
Posts: n/a

 
      08-16-2006, 06:58 AM
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
 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      08-16-2006, 06:56 PM
I don't think it is possible. Mapped drives are a "user" thing.

Mapped drives stink anyway and you should not use them. They are a thing of
the past and should be eliminated.

Redesign the project so that it does not require Mapped Drives but uses,
perhaps, UNC pathes instead.


--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com



"NONU" <(E-Mail Removed)> wrote in message
news:9D7036BB-250E-40B6-BBF6-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Doug Sherman [MVP]
Guest
Posts: n/a

 
      08-16-2006, 09:41 PM
You're making it too hard. Use persistent: no and Task Scheduler to run the
..bat file as a start up script.

Doug Sherman
MCSE, MCSA, MCP+I, MVP

"NONU" <(E-Mail Removed)> wrote in message
news:9D7036BB-250E-40B6-BBF6-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      08-16-2006, 09:48 PM
So it will map a drive letter without a user logged in?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"Doug Sherman [MVP]" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> You're making it too hard. Use persistent: no and Task Scheduler to run
> the
> .bat file as a start up script.
>
> Doug Sherman
> MCSE, MCSA, MCP+I, MVP
>
> "NONU" <(E-Mail Removed)> wrote in message
> news:9D7036BB-250E-40B6-BBF6-(E-Mail Removed)...
>> 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

>
>



 
Reply With Quote
 
TimeTraveller
Guest
Posts: n/a

 
      08-18-2006, 04:18 AM
yeah, it maps the drive in the name of whichever account the bat file runs
in

TimeTraveller


"Phillip Windell" <@.> wrote in message
news:(E-Mail Removed)...
> So it will map a drive letter without a user logged in?
>
> --
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
> "Doug Sherman [MVP]" <(E-Mail Removed)> wrote in
> message news:(E-Mail Removed)...
>> You're making it too hard. Use persistent: no and Task Scheduler to run
>> the
>> .bat file as a start up script.
>>
>> Doug Sherman
>> MCSE, MCSA, MCP+I, MVP
>>
>> "NONU" <(E-Mail Removed)> wrote in message
>> news:9D7036BB-250E-40B6-BBF6-(E-Mail Removed)...
>>> 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

>>
>>

>
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      08-18-2006, 03:25 PM
Ok, I see.

Phil

"TimeTraveller" <(E-Mail Removed)> wrote in message
news:NcbFg.429456$IK3.352673@pd7tw1no...
> yeah, it maps the drive in the name of whichever account the bat file runs
> in
>
> TimeTraveller
>
>
> "Phillip Windell" <@.> wrote in message
> news:(E-Mail Removed)...
>> So it will map a drive letter without a user logged in?
>>
>> --
>> Phillip Windell [MCP, MVP, CCNA]
>> www.wandtv.com
>>
>>
>> "Doug Sherman [MVP]" <(E-Mail Removed)> wrote in
>> message news:(E-Mail Removed)...
>>> You're making it too hard. Use persistent: no and Task Scheduler to run
>>> the
>>> .bat file as a start up script.
>>>
>>> Doug Sherman
>>> MCSE, MCSA, MCP+I, MVP
>>>
>>> "NONU" <(E-Mail Removed)> wrote in message
>>> news:9D7036BB-250E-40B6-BBF6-(E-Mail Removed)...
>>>> 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
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive mapping obnetadmin Windows Networking 2 09-25-2007 01:44 PM
Mapping drive stevendevuyst@gmail.com Windows Networking 0 12-28-2005 12:08 PM
drive mapping Windows Networking 1 11-21-2003 10:37 PM
Drive mapping Charlie C Windows Networking 0 08-19-2003 08:53 PM
Drive mapping Richard Windows Networking 1 07-04-2003 10:34 PM



1 2 3 4 5 6 7 8 9 10 11