Use PowerShell to Resolve the Error: “Not Enough Server Storage is Available to Process this Command”

Recently after updating the antivirus solution at one of my customer sites they started receiving the following error when attempting to access their old Windows 2003 servers:

1\\Server\Share is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Not enough server storage is available to process this command.

IRPStackSize1.png

Once this registry entry is added, it does require the remote server to be restarted.

Luckily, I had previously installed PowerShell version 2 along with enabling PowerShell remoting on all of their Windows 2003 servers so I was able to use PowerShell remoting to add the entry in the registry and reboot the servers:

1$cred = Get-Credential
2
3Invoke-Command -ComputerName server01, server02, server03, server04, server05, server06 {
4    New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters" -Name "IRPStackSize" -Value 20 -PropertyType "DWord"
5    Restart-Computer -Force
6} -Credential $cred

IRPStackSize2.png

I'm looking forward to replacing all of their old Windows 2003 servers with Windows 2012 R2 during the first quarter of next year.

µ