"Return code: 8" error during deployment

Error code 8 stands for "Not enough storage is available to process this command." To resolve this problem, increase the IRPStackSize value in the registry by following these steps.

  1. Click Start, click Run, type regedit, and then click OK.
  2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
  3. 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:
    1. Click Edit, point to New, and then click DWORD Value.
    2. Type IRPStackSize, and then press ENTER to name the value.
      NOTE: Type IRPStackSize exactly as it is displayed. The value name is case sensitive.
    3. Click Edit, and then click Modify
    4. In the Data Value box, type 15 (decimal) and close the Registry Editor.
  4. Click Edit, and then click Modify
  5. Change the Base to decimal.
  6. If you created the IRPStackSize value using the procedure described in step 3, the default value is 15. It is recommended that you increase the value by 3. Therefore, if the previous value was 11, type 14, and then click OK.
  7. Close the Registry Editor.

If the problem persists after you complete this procedure, increase the value of IRPStackSize even more. The default value of the IRPStackSize parameter is 15. The range is from 11 (0xb hexadecimal) through 50 (0x32 hexadecimal).