Net Use on XP Stations

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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?
 

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.
 

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.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Members online

Top