Windows Server 2012 R2, any role or feature instal fails

Hi Microsoft Windows expert,

Exiting environment : Windows Server 2008 R2.
I am in the process of migrating to Windows Server 2012 R2. I installed Windows Server 2012 R2 on HP DL380p G8 server. Now, when I go to add a any role or features I am getting the following error.
Failed to open runspace pool. The Server Manager WinRM plug-in might be corrupt or missing

Open in new window

a. disabled the firewall
b.Add "" and "::1" to the IP listen list
c. winrm qc shows
winrm service is already running on this machine.
winrm is already setup for remote management on this computer

Open in new window

d.Granted the  “Validated Write to Service Principal Name” permission to the NETWORK SERVICE using theADSIEDIT.msc

Error logs:
Event ID 10154
The WinrRM failed to create the following SPNs:WSMAN/

Open in new window

Application and services log
Event ID 142
WSMAN Operation CreateShell failed, error code 2150858811

Open in new window

This is stopping my plan from moving forward. I googled but nothing seems to work.
Any thoughts and help will be highly appreciated.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FOXActive Directory/Exchange EngineerCommented:
Just as a test on this specific server.  Open powershell as an administrator
type in import-module ServerManager

Using the below link view Installing roles using powershell.

To view all available roles and features you can type in
Get-WindowsFeature     anything that is checked is already installed on the server  
If you see a role/feature you want installed type the below command
Install-WindowsFeature –Name <feature_name>    you will add the feature name you see in the list without the <>
DeoraliAuthor Commented:
Tried installing a role through PowerShell and works great. Installation from GUI Server Manager is broken.

How can I fix this ?

FOXActive Directory/Exchange EngineerCommented:
You may have to run an sfc /scannow to see if it repairs any windows files.  Something must be corrupted.  I'm glad you got the role installed via powershell.
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

DeoraliAuthor Commented:
running sfc /scannow completes without any error. Windows resource protection did not find integrity violation.
FOXActive Directory/Exchange EngineerCommented:
run this command in powershell    $psversiontable then send over the results to me
DeoraliAuthor Commented:
I think I found the issue. Remote Shell Access was disabled via GPO.

Thank you Foxluv for taking time to respond and will give you 250 points.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FOXActive Directory/Exchange EngineerCommented:
DeoraliAuthor Commented:
Remote Shell Access was disabled via GPO. Once the GPO was disabled I was able to install the role.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.