The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.

When you use your Windows 7 workstation for heavy network file copying the lan manager server tends to run out of memory. By making the following setting changes you can avoid this and enhance the file copy speeds.

Set the following registry key to ‘1′:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache

and set the following registry key to ‘3′:

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size

After making these changes, restart for them to take effect.

Additionally, this entry will likely be in your System event log:

Log Name: System
Source: srv
Date: 9/29/2014 2:29:02 PM
Event ID: 2017
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XYZ
Description:
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="srv" />
<EventID Qualifiers="49152">2017</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-09-29T18:29:02.941718000Z" />
<EventRecordID>77293445</EventRecordID>
<Channel>System</Channel>
<Computer>XYZ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\LanmanServer</Data>
<Binary>0000040001002C0000000000E10700C0000000009A0000C00000000000000000000000000000000005000000</Binary>
</EventData>
</Event>

How To Export Scheduled Tasks from Windows Task Scheduler Into Excel

I am a consummate network documenter. As such I get all the details. Here’s how I grab all the task scheduler items from remote servers into my master Excel sheet.

This can be run from your workstation and exports the data in CSV format which Excel just loves.

schtasks /query /S SERVERNAME /FO CSV /V >taskscheduler-export.csv

This dumps the CSV into the current directory. Just open in Excel and massage as needed.

Outlook: Can’t create file : XYZ.pdf. Right-click the folder you want to create the file in, and then click properties on the shortcut menu to check your permissions for the folder.

Error in Outlook 2010:

"Outlook: Can't create file : XYZ.pdf. Right-click the folder you want to create the file in, and then click properties on the shortcut menu to check your permissions for the folder."

This is an annoying message. Even after fixing the users profile permissions it made no difference. This is what worked for me:

  1. Open REGEDIT.EXE and go to Edit -> Find… In the Find dialog box type “OutlookSecureTempFolder” without the quotes.
  2. You may also find the key here without searching if you know the users key:  HKEY_USERS\%USER PROFILE ID NUMBER%\Software\Microsoft\Office\14.0\Outlook\Security
  3. When you find it the key will contain the actual folder location, and will look like:
    1. C:\Documents and Settings\%USER_NAME%\Local Settings\Temporary Internet Files\OLK#\ (where # is a random letter or number)
  4. Copy the location of that folder.
  5. Click on Start -> Run… and paste the folder location from step #4 then click OK.
  6. Explorer will open that folder, then delete all files present.
  7. Restart Outlook and you should be able to open your attachments.

Last time I did this I found over 14k files in that location. Yikes!

QNAP NAS SSH Service Commands

I use several QNAP devices from the large 24 drive down to a personal 2 drive. I’ve found that they are pretty good and you can do a lot with them as they’re basically Linux boxes with a pretty web interface.

Here are some useful console commands for restarting specific services.

First, to restart basically everything you can issue this command:

/etc/init.d/services.sh restart

One of the most common ones is to restart smb:

/etc/init.d/smb.sh restart

Here’s a list of other common ones: (They’re all in /etc/init.d)
I believe they will all accept the restart option. They will accept start/stop options.

QMediaService.sh
Qthttpd.sh
StartMediaService.sh
bonjour.sh
crond.sh
ftp.sh
mysqld.sh
network.sh
opentftp.sh
qsyncman.sh
rsyncRR.sh
rsyncd.sh
rsyncd_srv.sh
rsyslog.sh
samba4.sh
services.sh
timemachine.sh
vpn_openvpn.sh
vpn_pptp.sh
webalizer.sh

Amazon Route53 Weighted DNS Routing

Here’s a good question someone raised that I can’t find an answer to-

If you were to use the weighted routing from Amazon’s Route53 DNS  to route users to two different versions of your website (Y and Z for example),  what happens when a user at home on a desktop computer  gets record set Z today and wants to go back to the site tomorrow, which record set will they get?  Y or Z?

What if the same user was at work and they got site Y? If they get Z again, great, but it’s not likely. If they get site Y they may have no idea what’s going on.

This is assuming the both sites are the same company but totally different versions which may or may not share the same back end/user database.

If it’s an ecomm site and they get X one day and Y another they may get totally different sites each time and not be able to complete a transaction or just as bad be terribly confused.

How can this situation be managed or said another way, how can someone who gets record set X always get it or get it for a specific period of time?

Or do I have it all wrong and this is more for load balancing than testing a new version of a site?

Make sense?