Microsoft-Windows-Windows Remote Management Error ID 142

In my Windows Server 2008 R2 OS in the Event Viewer there is an error pertains as Microsoft-Windows-Windows Remote Management Error ID 142 states-(WSMan operation CreateShell failed, error code 2150858999).What is this error? And What is the remedy for this error?

- System
- Provider
[ Name] Microsoft-Windows-WinRM
[ Guid] {A7975C8F-AC13-49F1-87DA-5A984A4AB417}
EventID 142
Version 0
Level 2
Task 10
Opcode 2
Keywords 0x4000000000000002
- TimeCreated
[ SystemTime] 2011-11-10T06:32:40.654451200Z
EventRecordID 37902
- Correlation
[ ActivityID] {01F11C40-F800-0000-0091-795E689FCC01}
- Execution
[ ProcessID] 7140
[ ThreadID] 8080
Channel Microsoft-Windows-WinRM/Operational
Computer WIN-BNILITE1545.mumthaz.contoso.com
- Security
[ UserID] S-1-5-18
- EventData
operationName CreateShell
    errorCode 2150858999
November 10th, 2011 3:04pm

Hi,

 

Please perform the following steps to check the issue can be fixed.

 

Create the following Dwords under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters

 

• MaxFieldLength

o Dword

o Value 65534 (Decimal)

 

• MaxRequestBytes

o Dword

o Value 40000 (Decimal)

 

Reboot the server for the changes to take effect.

 

Regards,

Free Windows Admin Tool Kit Click here and download it now
November 12th, 2011 7:54am

Awesome!!  I spent 8 hours solid trying to work this out, this fix did it for me.  Thanks for posting :D
December 10th, 2013 7:17pm

(at least on Windows 6.2) reboot not required, sufficient to stop http service then restart it and all dependant services. Refer to microsoft KB820129 for more info on http parameters. Cause is usually size of kerberos ticket (for admins belonging to large number of groups)

Free Windows Admin Tool Kit Click here and download it now
March 13th, 2014 4:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics