Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Windows Small Business Server > Login Script indicating open files

Reply
Thread Tools Display Modes

Login Script indicating open files

 
 
Chad A. Smith
Guest
Posts: n/a

 
      09-07-2004
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



 
Reply With Quote
 
 
 
 
Douglas Boyd [MSFT]
Guest
Posts: n/a

 
      09-07-2004
Chad

Download and install handles.exe from www.sysinternals.com. Then run it on
the server. It will tell you which files have handles open to them. Then
you can compare them to whatever share you are trying to connect. Then you
can see who has the files open.

I hope this helps

doug boyd


This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
 
Frank McCallister
Guest
Posts: n/a

 
      09-07-2004
Hi Chad

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

Frank McCallister
COMPUMAC
"Chad A. Smith" <> wrote in message
news:...
> 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
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder shows "no items" while indicating unread mail. Cynthia Dalton Windows Vista Mail 3 12-23-2008 11:56 PM
an alert message indicating that a Cd or DVD is still inside the d Barnblan Windows Vista General Discussion 3 12-26-2007 11:36 PM
NDIS problem indicating from MiniportSendPackets google45@303.se Windows Vista Drivers 14 05-16-2006 12:37 PM
Ndis - indicating packets Michal Filka Windows Vista Drivers 1 07-25-2005 02:01 PM
Possible race condition in NDIS with respect to indicating media state shortly after MiniportInitialize David R. Cattley Windows Vista Drivers 4 10-08-2003 03:48 AM