Problem : ERROR: There are open files and/or incomplete directory searches pending on the connection to h:

Problem : ERROR: There are open files and/or incomplete directory searches pending on the connection to h:

Environment

NT4 Small Business Server

Windows XP Client PCs

Problem: When user logs onto the network the logon batch script stops and displays the following:

There are open files and/or incomplete directory searches pending on the connection to h:

Is it OK to continue disconnecting and force them closed? (Y/N) [N]: _

_________________________________________________________

If I press N for No then batch scripts continues and the network drives are mapped successfully, I cant understand why it is doing it on Windows 2000 & XP PCs while there is not problem with the Windows 98 PCs


Solution : ERROR: There are open files and/or incomplete directory searches pending on the connection to h:

Is User in \\MyServer\User the actual user-account name?  If so, use

Net Use H: \\MyServer\%username%

You may want to have
C:
after
@echo off

as well…