PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Registry Diable auto reconnect of mapped drives

Reply

Diable auto reconnect of mapped drives

 
Thread Tools Rate Thread
Old 15-12-2003, 07:43 PM   #1
Robert Dobson
Guest
 
Posts: n/a
Default Diable auto reconnect of mapped drives


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

  Reply With Quote
Old 15-12-2003, 11:12 PM   #2
Mark V
Guest
 
Posts: n/a
Default Re: Diable auto reconnect of mapped drives

In microsoft.public.win2000.registry Robert Dobson wrote:

> 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?


Why would two users not each be using their own account in the first
place? Or is it just they are running the same "dynamic" batch file?
And users _may_ be able to read the batchfile and recover the account
info. and password...
Anyway...

Look at NET
net use /help or net help net use
NET USE [/PERSISTENT:{YES | NO}]

and net use * /delete

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off