Networking Forums

Networking Forums > Computer Networking > Windows Networking > Map Drive on reboot (login required)

Reply
Thread Tools Display Modes

Map Drive on reboot (login required)

 
 
Shabam
Guest
Posts: n/a

 
      02-02-2005, 12:47 PM
I have a Linux server running Samba and it requires a user login before
allowing a share. I am looking to map a folder in the Linux server to my
Windows 2003 server, either as a drive or as a folder (not sure if I can do
the latter).

The thing is, I want the share to be restored when the system boots up. It
will obviously need to supply the correct username/password also. How do I
do this? I'm guessing some sort of startup script?


 
Reply With Quote
 
 
 
 
daytripper
Guest
Posts: n/a

 
      02-02-2005, 10:11 PM
On Wed, 2 Feb 2005 05:47:07 -0800, "Shabam" <(E-Mail Removed)> wrote:

>I have a Linux server running Samba and it requires a user login before
>allowing a share. I am looking to map a folder in the Linux server to my
>Windows 2003 server, either as a drive or as a folder (not sure if I can do
>the latter).
>
>The thing is, I want the share to be restored when the system boots up. It
>will obviously need to supply the correct username/password also. How do I
>do this? I'm guessing some sort of startup script?
>


The "mapper" is the Windows machine, yes?

If you enable Windows' "password remembering" policy, use a valid
domain\username & password (for the server resource to map the share) and
enable the "reconnect" switch in the Map Network Drive applet, it ought to
work until your DC makes you change your password again...

/daytripper
 
Reply With Quote
 
Shabam
Guest
Posts: n/a

 
      02-04-2005, 01:26 PM
I'm looking to have the server map the drive without me having to log in to
the machine at all. It is a web server, and uses a folder from a network
share. I'm not using the machine for any sort of desktop usage at all. How
can I get it mapped?


 
Reply With Quote
 
Todd J Heron
Guest
Posts: n/a

 
      02-04-2005, 08:02 PM
Mapped network drives are not normally available until after a user is
logged into a system. However there is a workaround.

1) Use Autoexnt.exe from the Windows NT Resource Kit to create a mapped
drive before a user logs in.
2) Use a valid administrator username and password to access the network
drive
3) Use the DependOnService LanmanWorkstation option in the Registry to start
Autoexnt.exe after the Workstation service is started. For a computer to
see network resources the Workstation service must be running.

--
Todd J Heron, MCSE
Windows Server 2003/2000/NT
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights


 
Reply With Quote
 
Shabam
Guest
Posts: n/a

 
      02-05-2005, 06:26 AM
> Mapped network drives are not normally available until after a user is
> logged into a system. However there is a workaround.
>
> 1) Use Autoexnt.exe from the Windows NT Resource Kit to create a mapped
> drive before a user logs in.
> 2) Use a valid administrator username and password to access the network
> drive
> 3) Use the DependOnService LanmanWorkstation option in the Registry to

start
> Autoexnt.exe after the Workstation service is started. For a computer to
> see network resources the Workstation service must be running.


Is there a document that details this procedure step by step? I'm lost as
to how to implement this. I've downloaded and installed Autoexnt.exe, but
don't know what to do next. Thanks.


 
Reply With Quote
 
Shabam
Guest
Posts: n/a

 
      02-05-2005, 09:17 AM
> Mapped network drives are not normally available until after a user is
> logged into a system. However there is a workaround.
>
> 1) Use Autoexnt.exe from the Windows NT Resource Kit to create a mapped
> drive before a user logs in.
> 2) Use a valid administrator username and password to access the network
> drive
> 3) Use the DependOnService LanmanWorkstation option in the Registry to

start
> Autoexnt.exe after the Workstation service is started. For a computer to
> see network resources the Workstation service must be running.


Ok I think I got it working:

http://www.netapp.com/tech_library/3042.html?fmt=print

However, when my aspx script is trying to write to the network share it's
still getting an error. Any ideas? I also tried setting the IIS user to be
the same as the one needed for the network share, in case it's due to
impersonation. That didn't help either.


 
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
Ethernet Disk Mini Network / USB Drive unable to LogIn CLONNEN Windows Networking 1 08-25-2005 01:20 AM
How to login with native IPASS Login string into netvigator login? Erhard Broadband 0 12-01-2004 06:24 AM
Login required Windows Networking 0 01-22-2004 07:45 PM
ME and VPN: password required to map drive JimB Windows Networking 1 09-26-2003 04:28 AM
cannot access network drive over VPN. Must reboot. Richard Windows Networking 0 07-16-2003 11:30 PM



1 2 3 4 5 6 7 8 9 10 11