Networking Forums

Networking Forums > Computer Networking > Windows Networking > Drive mapping without logging

Reply
Thread Tools Display Modes

Drive mapping without logging

 
 
setecastronomy
Guest
Posts: n/a

 
      11-29-2007, 10:59 AM
Due to weird application needs I have to map a network drive on a 2003 server.
It should be automatically done at the server start without the need of a
login, so it cannot be done in the easy way of mapping a network drive for a
specific user.
After a long internet search the only solution I have found is to use:
Installing the AutoExNT Service
and make it launch a batch with a net use ... inside.

I'm going to try but I'm wondering if there is a better solution.

Thanks
Filippo
 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      11-29-2007, 01:22 PM
setecastronomy <(E-Mail Removed)> wrote:
> Due to weird application needs I have to map a network drive on a
> 2003 server. It should be automatically done at the server start
> without the need of a login, so it cannot be done in the easy way of
> mapping a network drive for a specific user.
> After a long internet search the only solution I have found is to use:
> Installing the AutoExNT Service
> and make it launch a batch with a net use ... inside.
>
> I'm going to try but I'm wondering if there is a better solution.
>
> Thanks
> Filippo


You don't need that. Just use a computer startup script and provide
credentials therein (you can use net use in there, I believe).

Frankly, though, I'd be mighty suspicious of a server-based app that
required this - can't it use a UNC path?


 
Reply With Quote
 
setecastronomy
Guest
Posts: n/a

 
      12-18-2007, 01:34 PM
The scripting at the startup containing a "Net use" command works great but
I'm still wondering why there isn't a cleaner solution.
A user can choose to autonatically reconnect at startup a network drive.
The relevant informations are stored in the registry under the HKCU and
HKEY_USER hives. Perhaps, to obtain the same effect of the script, it is
possible to write something under HKLM or HKEY_USER for .default or S-1-5-18
(System).

Thanks again
 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      12-18-2007, 06:57 PM
setecastronomy <(E-Mail Removed)> wrote:
> The scripting at the startup containing a "Net use" command works
> great but I'm still wondering why there isn't a cleaner solution.


Because drive mappings are for the human using the computer, *not* for the
computer itself. Any application designed to work on a server shouldn't
require a drive mapping to function, because drive mappings work when
*users* are logged in - and any server app should not require that a user be
logged in.

> A user can choose to autonatically reconnect at startup a network
> drive.


See above.

> The relevant informations are stored in the registry under the
> HKCU and HKEY_USER hives. Perhaps, to obtain the same effect of the
> script, it is possible to write something under HKLM or HKEY_USER for
> .default or S-1-5-18 (System).


Again, see above. Even in using the net use command/startup script, all
you're doing is effecting a kludge, which may work, but is not ideal.

>
> Thanks again




 
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 Tristan Windows Networking 2 11-06-2007 04:45 PM
Drive mapping obnetadmin Windows Networking 2 09-25-2007 01:44 PM
Drive mapping Trev Windows Networking 1 07-17-2004 10:39 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



1 2 3 4 5 6 7 8 9 10 11