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.

Net Use on XP Stations

Discussion in 'Windows XP' started by Alex @ Atelka, Oct 10, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. Alex @ Atelka

    Alex @ Atelka Thread Starter

    Joined:
    May 12, 2008
    Messages:
    76
    Hello guys,

    I am trying to map network drives to some stations.

    Code:
    NET USE * /DELETE /YES
    net use * \\192.168.10.173\share1$ password /USER:PCNAME\USERNAME
    net use * \\192.168.10.173\share2$ password /USER:PCNAME\USERNAME
    pause
    That code is in the startup.
    Sometime it works fine but here and there people receives the dialog box that asks for a password. What did I do wrong?
     
  2. Alex @ Atelka

    Alex @ Atelka Thread Starter

    Joined:
    May 12, 2008
    Messages:
    76
    Anyone could point out what I should do to troubleshot this situation and be able to provide more information to you guys.
     
  3. DoubleHelix

    DoubleHelix Banned

    Joined:
    Dec 9, 2004
    Messages:
    24,388
    The order things launch at startup can vary. If a dependent service, program, or connection doesn't exist at the precise time the script runs, you'll get inconsistent results.
     
  4. Alex @ Atelka

    Alex @ Atelka Thread Starter

    Joined:
    May 12, 2008
    Messages:
    76
    Mh, that is right, I shall check it out right away.
     
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/757905

  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