locked
Windows stalls when copying reaches 99% or when saving changes to spreadsheets and documents RRS feed

  • Question

  • I have a virtual Windows Server 2012 R2 Standard which I use as a file server. The users access these files over via a network share on the virtuel server.

    I have checked all settings and configurations, but I can't seem to find the reason why [some times] a large file transfer stops at 99% and just .... waits. It can wait for 5 seconds to 2 minutes. Most of the times it finishes, but the result can also be "network error".

    Also, when saving changes to a spreadsheet or a document this message remains on the screen for several seconds (up to 15-20 seconds) (the message just says "Saving" in Danish):


    Regards,
    Allan Kjær
    blog href="https://techallan.blogspot.dk/">blog</a>

    Wednesday, August 31, 2016 10:49 AM

Answers

  • This tool may help you figure out what is happening.

    https://www.microsoft.com/en-us/download/details.aspx?id=44226

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Marked as answer by Allan Kjaer Thursday, September 1, 2016 8:05 AM
    Wednesday, August 31, 2016 8:27 PM
  • Hi Dave,

    I didn't know this tool. It looks pretty much just like Wireshark.

    Massage Analyzer shows a lot of reassembled TCP packets. But it doesn't tell me much more than that.

    I've added these to my servers registry db, and I'll do a few tests over the next days:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
    "TcpTimedWaitDelay"=dword:0000001e
    "MaxUserPort"=dword:0000fffe
    "TcpNumConnections"=dword:00fffffe
    "TcpMaxDataRetransmissions"=dword:00000005


    Regards,
    Allan Kjær
    blog href="https://techallan.blogspot.dk/">blog</a>

    • Marked as answer by Allan Kjaer Thursday, September 1, 2016 8:05 AM
    Thursday, September 1, 2016 8:05 AM

All replies

  • This tool may help you figure out what is happening.

    https://www.microsoft.com/en-us/download/details.aspx?id=44226

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Marked as answer by Allan Kjaer Thursday, September 1, 2016 8:05 AM
    Wednesday, August 31, 2016 8:27 PM
  • Hi Dave,

    I didn't know this tool. It looks pretty much just like Wireshark.

    Massage Analyzer shows a lot of reassembled TCP packets. But it doesn't tell me much more than that.

    I've added these to my servers registry db, and I'll do a few tests over the next days:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
    "TcpTimedWaitDelay"=dword:0000001e
    "MaxUserPort"=dword:0000fffe
    "TcpNumConnections"=dword:00fffffe
    "TcpMaxDataRetransmissions"=dword:00000005


    Regards,
    Allan Kjær
    blog href="https://techallan.blogspot.dk/">blog</a>

    • Marked as answer by Allan Kjaer Thursday, September 1, 2016 8:05 AM
    Thursday, September 1, 2016 8:05 AM
  • Hi Allan,

    Thanks for your post.

    Try disabling your antivirus/antimalware to see if it helps? Maybe the antivirus is checking the files so that's why it is taking too long to finish.

    When you transfer files,  if the external drive is connected via USB,  the file is very large, it could be possible in this scenario. Have seen in that scenario. The speed goes slowly down to the real transfer speed between the two devices, because new data only can be read in same amount as the old data are removed from buffer. So when reaching the end of the file, it 'pauses' for a moment waiting for the data in buffer be transferred to the target. 

    For hangs at saving changes to a spreadsheet or a document,  if it only happens on office files please make sure Install the latest updates and Check to make sure the file is not in use by another process.

    https://support.office.com/en-us/article/Excel-not-responding-hangs-freezes-or-stops-working-37E7D3C9-9E84-40BF-A805-4CA6853A1FF4?ui=en-US&rs=en-US&ad=US

    Best Regards,

    Mary


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, September 1, 2016 8:07 AM
  • Hi Mary,

    Thank you for the input. Antivirus realtime scanning is already disabled on the server. I only do a full scan each week - also all clients are protected with Windows Defender.

    The drive is not a USB drive. It's a iSCSI connection to a SAN, connected at the hypervisor with MPIO.

    Cache and buffering has also been investigated.


    Regards,
    Allan Kjær
    blog href="https://techallan.blogspot.dk/">blog</a>

    Thursday, September 1, 2016 8:11 AM
  • Hi Allan,

    Thanks for your reply. If you have the new updates feel free to contact us.

    Best Regards,

    Mary


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, September 2, 2016 1:20 AM