Announcement

Collapse
No announcement yet.

Automatic share mounting at startup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • langenet
    replied
    Thanks just the same.

    In any case, AutoExnt is on the Win2k3 resource kit and can also be used for XP should anyone else have this requirement.

    Leave a comment:


  • drozwood90
    replied
    hmm...that is true.

    Well, I tried! :-)

    --Dan

    Leave a comment:


  • langenet
    replied
    Thanks again Dan. That still doesn't resolve the issue particulary when my server goes down as a result of a drained UPS and automatically restarts when power is back on ... all the while I could be out of the country.

    Leave a comment:


  • drozwood90
    replied
    Rob,

    You need to logout by reconnecting the session to console, instead of using the disconnect button.

    If you can't find Rupp's example batch, I can try to remember to log in and get it from my server. Works VERY well.

    --Dan

    Leave a comment:


  • langenet
    replied
    I don't log in... locally. I do using RDP - which would mount the share. However, when I log out, it drops it as well.

    There have been a few occasions where I had to reboot the server remotely and would still like the share mounted.

    Rob
    Last edited by langenet; April 4, 2012, 01:14 PM.

    Leave a comment:


  • drozwood90
    replied
    why can't you just use Bill's example and put that in a .bat that ends up in the startup folder?

    Or are you not auto logging in?

    --Dan

    Leave a comment:


  • langenet
    replied
    Yes thanks Bill. But you need to use AutoExnt as the service that will execute the batch file AutoExnt.bat. Much like the old days in Windows 3.11 when you put those commands in Autoexec.bat. Remember?

    Rob

    Leave a comment:


  • Bill Brower
    replied
    Just use "net use" in the batch file:

    The syntax of this command is:

    NET USE
    [devicename | *] [\\computername\sharename[\volume] [password | *]]
    [/USER:[domainname\]username]
    [/USER:[dotted domain name\]username]
    [/USER:[username@dotted domain name]
    [/SMARTCARD]
    [/SAVECRED]
    [[/DELETE] | [/PERSISTENT:{YES | NO}]]

    Leave a comment:


  • langenet
    started a topic Automatic share mounting at startup

    Automatic share mounting at startup

    Folks,

    I was looking around but still have not found an answer to my delema. I have my WNDR3800 file share a drive. Each night I have a job which backs up to that drive from my Win2k3 server. Interestingly enough, I'm getting errors which show that the server cannot find the path specified. When I log in, the "Reconnect at logon" seems to work fine and I am connected to the share. However, should I log out or restart the server without logging in, I don't think this activity happens.
    Does anyone know how to mount a share at startup without logging in?

    Perhaps someone can confirm this behaviour... this should be easy right?

    Thanks

    Robert


    edit... wrong keywords. Found AutoExnt as part of the resource kit will do it!
    Last edited by langenet; April 3, 2012, 12:26 PM.
Working...
X