/Windows 7 File Sharing Crashes – srv 2017 Error

Windows 7 File Sharing Crashes – srv 2017 Error

My Windows 7 workstation has a big 4TB RAID and I use it for backup purpose. The RAID drive is shared through the file sharing. The performance is amazing and it runs pretty well. The only problem is that it usually works for a week or so and the file sharing crashes. The only way to get it running again is to reboot the machine.

I checked the even log and found a lot of events from srv source.

Log Name:      System
Source:        srv
Date:          8/25/2009 6:13:32 PM
Event ID:      2017
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      mycomputer.mycompany.com
Description:
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.

There is an entry in EventID.net about this problem. Here is the page. Jim Weiss mentioned that the MaxNonPagedMemoryUsage registry value is set too low. The solution is just to increase the value. Even though he refers to Windows XP. I tested it under Windows 7 and found it indeed fixes the file sharing problem. The default value is 0x01000000 and I set it to 0x02000000. Here is a screenshot of registry value.

srv2017

Please note that there is no such registry, you have to add it. If you don’t know how to add a registry value, you can download the registry file from here. Double click on the registry file and merge it to the system’s registry. Reboot the machine after you are done.