Link to home
Start Free TrialLog in
Avatar of g_berres
g_berres

asked on

Stopping Win2000 from reconnecting network drives at logon when using net use command

I put together a small batch file using the net use command to map some drives at logon.
The problem here is that windows 2000 tries to reconnect the drive(s) at logon, and every time it tries to connect, I get a message saying incorrect password. This also screws things up because the batch file runs as well.
The whole reason I elected to use a batch file instead of just letting windows reconnect it is because it seems windows "forgets" the password
ASKER CERTIFIED SOLUTION
Avatar of stevenlewis
stevenlewis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try running your batch file in a scheduled task and specify in the task the account and password with sufficient permissions.
You should go open the run dialog and start cmd.

Then type the command:
net use * /d /y
=> It'll delete all current drive mappings

It could be use full to add this line to future logonscripts. It prevents drivemappings to reconnect @ startup

net use /persistent:no

Grtz Robbe