Login Script indicating open files

Discussion in 'Microsoft Windows 2000 Networking' started by Chad A. Smith, Sep 7, 2004.

  1. 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
     
    Chad A. Smith, Sep 7, 2004
    #1
    1. Advertisements

  2. 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
    >
    >
    >
     
    Frank McCallister, Sep 7, 2004
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan McGowan

    Login Script/Drive Mapping/Licensing/Browser issue

    Ryan McGowan, Jul 28, 2003, in forum: Microsoft Windows 2000 Networking
    Replies:
    0
    Views:
    139
    Ryan McGowan
    Jul 28, 2003
  2. viviane lima - * - * -

    script login

    viviane lima - * - * -, Sep 16, 2003, in forum: Microsoft Windows 2000 Networking
    Replies:
    0
    Views:
    157
    viviane lima - * - * -
    Sep 16, 2003
  3. AcKBaR[KAC]
    Replies:
    0
    Views:
    499
    AcKBaR[KAC]
    Feb 25, 2004
  4. John

    Login Script - log files overwritten

    John, Mar 1, 2004, in forum: Microsoft Windows 2000 Networking
    Replies:
    1
    Views:
    213
    Pegasus \(MVP\)
    Mar 1, 2004
  5. Don Jones

    Logon Script/Terminal Server Logon Script

    Don Jones, Mar 31, 2004, in forum: Microsoft Windows 2000 Networking
    Replies:
    5
    Views:
    797
    Don Jones
    Apr 6, 2004
Loading...

Share This Page