Login Script indicating open files

C

Chad A. Smith

When I log into my Windows 2000 domain, my login script stops with the
following message:

There are open files and/or incomplete directory searches pending on the
connection to m:.
Is it OK to continue disconnecting and force them closed?

It only stops when trying to map the M: drive and it only does it on a few
machines throughout the office. Is there a way to force the disconnection so
the user is not prompted to do so?

Here is the login script itself:
if exist G: %SystemRoot%\system32\net use /delete g:
%SystemRoot%\system32\net use G: \\blah blah
if exist I: %SystemRoot%\system32\net use /delete I:
%SystemRoot%\system32\net use I: \\blah blah

if exist J: %SystemRoot%\system32\net use /delete J:
%SystemRoot%\system32\net use J: \\blah blah

if exist L: %SystemRoot%\system32\net use /delete L:
%SystemRoot%\system32\net use L: \\blah blah

if exist M: %SystemRoot%\system32\net use /delete M:
%SystemRoot%\system32\net use M: \\blah blah

if exist N: %SystemRoot%\system32\net use /delete N:
%SystemRoot%\system32\net use N: \\blah blah

if exist O: %SystemRoot%\system32\net use /delete o:
%SystemRoot%\system32\net use O: \\blah blah

if exist W: %SystemRoot%\system32\net use /delete w:
%SystemRoot%\system32\net use W: \\blah blah

TIA,
Chad
 
F

Frank McCallister

Hi Chad

If this is SBS DON'T map drive M: it is used by Exchange

Frank McCallister
COMPUMAC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top