1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

mapping network drive without logging on

Discussion in 'Windows XP' started by piotr_redo, Jul 22, 2002.

Thread Status:
Not open for further replies.
Advertisement
  1. piotr_redo

    piotr_redo Thread Starter

    Joined:
    Jul 22, 2002
    Messages:
    3
    hi,

    i've checked the forum out for this one and couldn't find an answer, maybe someone can help me? im running xp pro.

    basically i'd like to have a backup done to a mapped network drive, which happens in the early morning hours, while nobody is logged onto the computer.

    i've tried doing that, and the backup fails because the network drive is not mounted automatically, and only mounts when somebody logs on - which wont happen at that time of morning.

    i've tried scheduling a batch file to run just before the backup is due to occur with the "net use z: \\name of pc\name of shared folder" command. however still the backup wont work - i get the message (in the log file) that the backup medium was not accessible.

    how do i get to mount a network drive automatically while nobody is logged on? or is there any other solution? any help anyone?
    thanks in advance,
    piotr
     
  2. tomsxp

    tomsxp

    Joined:
    Nov 3, 2001
    Messages:
    375
  3. SexyTech

    SexyTech

    Joined:
    Mar 27, 2002
    Messages:
    8,460
    Why not just lock the workstation???

    That way, someone's logged in and a network drive can be kept open!?!?!
     
  4. piotr_redo

    piotr_redo Thread Starter

    Joined:
    Jul 22, 2002
    Messages:
    3
    thx but no, doesn't help (the first answer).

    second one: the problem is that nobody is logged in...
    say the pc starts up in the morning and nobody logs on, or is kept on thru the night with nobody logged on... for some reason the network drive doesnt seem to mount. what i have is a batch file which is scheduled to run at startup, with the command to mount a network drive. and then at a specific time i have the backup utility scheduled to make a backup to that mounted network drive.
    it doesnt' work unless someone is logged in at the time.

    any help?
    thx
    piotr
     
  5. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Sounds like your batch file is trying to write to a shared resource that it doesn't have the rights to access. Create a share with no restrictions and that is open to everyone and try it. YOu can also use login parameters with the net use command...try that with an admin login and see what happens.
     
  6. Nick Scott

    Nick Scott

    Joined:
    Dec 11, 2001
    Messages:
    1,818
    Why not just set XP to autologon a specific user at system startup. Your batch file will then execute and the network drive will be available at all times.
     
  7. rawmeat

    rawmeat

    Joined:
    May 17, 1999
    Messages:
    1,052
    Mapped drives are user specific, the account that performs the backup must be the account that maps the drive. Can you not just use the netbios name, i.e. \\server\share in the backup to location?
     
  8. piotr_redo

    piotr_redo Thread Starter

    Joined:
    Jul 22, 2002
    Messages:
    3
    hi guys and thanks for all the tips, i will try them out!
    (using the netbios name and using the login parameters with the net use command). about using autologon, i would use it but if i would be able to make it autologon at a specific time (as opposed to only at startup - because the pc might not be off, it might just be at the logon screen), and then automatically log off after having performed the task, but im not sure thats possible to do.

    anyhow thx for all the tips!
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/88205

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice