Mapped drives reconnecting

  • Thread starter Thread starter Robert Dobson
  • Start date Start date
R

Robert Dobson

Hi, just wondering if there is a way to fix my problem.
Symptom: Using net use in a batch file to map to a
network share when a user launches an application through
Terminal Services.
The next person to log in with that account has the drive
automatically try to re-connect.
We pass the authentication information for the share in
the batch file so when the drives attempts to reconnect,
it asks for user credentials which we do not disclose to
the users.

Is there a registry setting to diable this behaviour in
Windows?

Thanks, Any help is greatly appreciated
 
Use the /persistent:no flag with your net use command.
Type net use /? for all options
 
Back
Top