PC Review


Reply
Thread Tools Rate Thread

Login Script indicating open files

 
 
Chad A. Smith
Guest
Posts: n/a
 
      7th Sep 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
 
 
 
 
Frank McCallister
Guest
Posts: n/a
 
      7th Sep 2004
Hi Chad

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

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

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
error message indicating network drive =?Utf-8?B?SnVkeQ==?= Windows XP General 1 23rd Feb 2005 04:02 AM
Login Script indicating open files Chad A. Smith Microsoft Windows 2000 Active Directory 1 7th Sep 2004 10:32 PM
Cannot open database requested in login ''. Login fails. Login failed for user ''. Nevena Microsoft ADO .NET 1 16th Apr 2004 06:55 PM
e PC's get the P3P "stop" sign indicating cookies have been blocked Rob Kydd Windows XP Internet Explorer 0 31st Oct 2003 06:54 AM
Script will not run despite gpresult indicating its been received Ian Cope Microsoft Windows 2000 Group Policy 3 21st Aug 2003 07:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 AM.