Delay when opening application from SMB share
Hello! I am trying to load an VB6 based application (.exe) which is located on a SMB share. The startup of the application needs between 20 and 40 seconds over the network while it only takes 1 sec to start the app locally. Checking the events captures with Process Monitor during the startup delay there are 3 things happening again and again: Time of Day,"Process Name","PID","Operation","Path","Result","Detail" 16:27:09,2646172,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,2651173,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,2685518,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" 16:27:09,2701960,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,2723461,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,2819249,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" 16:27:09,2829435,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,2845938,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,3073749,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" 16:27:09,3084444,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,3097393,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,3151504,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" 16:27:09,3166044,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,3171579,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,3211223,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" 16:27:09,3222924,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,3227398,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,3280880,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" 16:27:09,3297990,"testapp.exe","5908","QueryBasicInformationFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","CreationTime: 15.09.2011 11:50:22, LastAccessTime: 15.09.2011 11:50:22, LastWriteTime: 30.05.2011 08:15:52, ChangeTime: 20.10.2011 11:32:42, FileAttributes: A" 16:27:09,3303320,"testapp.exe","5908","CloseFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","" 16:27:09,3344065,"testapp.exe","5908","CreateFile","\\MAINFRAME\Desktop_Administrator\testapp.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened" The 3 events marked in bold happen hundreds of times until the app finally starts. I already connected the two systems using crossover cable to exclude problems caused by other clients or network component. The delay is the same no matter if the client uses XP Pro or W7. Any hints on how to solve this? Cheers Bill
October 28th, 2011 10:43am

Hi Bill, Thanks for posting here. Which OS running on this server “MAINFRAME”? have you got performance problem when copy larger size file or lager numbers of files at one time form that server to clients ? Can we also verify if there is any performance related issue on server and client side form event viewer? Thanks. Tiger Li Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2011 2:44am

Couldn't find any suspicies entries in event viewer. System is running Windows 7 Professional as small home server. File copying didn't show any performance flaws yet.
October 31st, 2011 4:18am

Please try installing the following hotfixes and check if the issue goes away. The hotfixes update the SMB binaries to the latest and may not necessarily match your issue description. 2563210 SMB connection is reset if you cancel a file operation over a network connection in Windows 7 or in Windows Server 2008 R2 http://support.microsoft.com/default.aspx?scid=kb;EN-US;2563210 2618096 Data corruption when one user on a computer that is running Windows 7 or Windows Server 2008 R2 updates a shared file that is open on multiple computers by using SMB Version 2 http://support.microsoft.com/default.aspx?scid=kb;EN-US;2618096 Sumesh P - Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 12:04am

Any update on this? Sumesh P - Microsoft Online Community Support
November 7th, 2011 1:38am

I tried the hotfixes. No changes. :-( Makes no difference if the client is W7 or XP. Also tried to put the file on a Windows XP Pro share - same delay in starting the EXE file.
Free Windows Admin Tool Kit Click here and download it now
November 7th, 2011 9:53am

Hey, Please try the following steps: Set the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters EnableTCPChimney EnableTCPA EnableRSS Make sure the value of the above registry keys as 0 DisableTaskOffload should be 1 http://support.microsoft.com/kb/948496 Check if temporarily Disabling NetBIOS over TCP/IP prevents this issue from occurring. Does it work if you access the share using IP address? Does it speed up if you disable SMB 2.0 temporarily? http://support.microsoft.com/kb/950836 [workaround section] Sumesh P - Microsoft Online Community Support
November 9th, 2011 10:21pm

Did these settings help? Sumesh P - Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2011 12:41am

Hey Bill, Did these settings work for you. Please respond back. Thanks
January 4th, 2012 4:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics