The "net use" command that is used to troubleshoot a job that fails to attach to a remote server returns the error "Not enough server storage is available to process this command."

Article:TECH14893  |  Created: 2009-01-26  |  Updated: 2014-05-14  |  Article URL http://www.symantec.com/docs/TECH14893
Article Type
Technical Solution

Product(s)

Issue



The "net use" command that is used to troubleshoot a job that fails to attach to a remote server returns the error "Not enough server storage is available to process this command."


Error



Not enough server storage is available to process this command.

The Event Viewer on the remote server reports the error message given below:

 

Event ID: 2011  Source: Server
 
The server's configuration parameter "irpstacksize" is too small for
 
the server to use a local device. Please increase the value of this
 
parameter.
 

 

Cause



This error will occur if the default value set for the IRPStackSize parameter, on the remote server, is too low. Modifying the value of the IRPStackSize parameter (on the remote server) to a larger size should allow access without these errors. To do this, follow the instructions given below:
 


Solution



When troubleshooting a job that fails to attach to a remote server, one of the first steps to access the server is to be able to verify an administrative share. When attempting to access this admin share by using the command net use \\<name of server>\c$, the error "Not enough server storage is available to process this command" is displayed.  

 
1. Click Start | Run
2.  Type regedt32 and then click OK
 
Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.

 
3. Navigate to the following key:
 
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
 
 
4. In the right pane, double-click the IRPStackSize value
 

 NOTE: If the IRPStackSize value does not already exist, use the following procedure to create it:
 
a. In the Parameters folder of the registry, right-click the right pane
 
b. Select New | DWord Value
 
c. Type IRPStackSize
 
IMPORTANT: Type IRPStackSize exactly as it is displayed because the value name is case-sensitive.
 

 5. Change the Base to decimal
 
6. In the Value Data box, type a value that is larger than the value that is listed
 
If you created the IRPStackSize value using the procedure described in step 4, the default value is 15. It is recommended that you increase the value by 3. Therefore, if the previous value was 15, type 18, and then click OK.
 
7. Close the Registry Editor
 

8. Reboot the server


 
If the problem persists after completing the preceding procedure, try to increase the value of IRPStackSize even more. The maximum value for Windows 2000 and above is 50 (0x32 hex).
 

In Windows 2000 and above, the default value of IRPStackSize is 15, and the range is from 11 to 50. In Windows XP, the default value for IRPStackSize is 15, and the range is from 11 to 50.
 

 
For additional information about the IRP <Stacksize>, please review the following Microsoft Knowledgebase Article:
 
Description of the IRPStackSize parameter in Windows 2000, in Windows XP, and in Windows Server 2003
 

Supplemental Materials

SourceEvent ID
Value2011
Description
The server's configuration parameter "irpstacksize" is too small for
 
the server to use a local device. Please increase the value of this
 
parameter.


Legacy ID



237653


Article URL http://www.symantec.com/docs/TECH14893


Terms of use for this information are found in Legal Notices