Stéphane Thirion
  • Home
  • Consulting – Raidho
  • homelab
3K
0
0
0
Stéphane Thirion
Stéphane Thirion
  • Home
  • Consulting – Raidho
  • homelab
  • Microsoft
  • Scripting
  • Windows 2012R2

Microsoft Windows Server 2012 R2 : impossible to add roles and features

  • February 27, 2017
  • Rodolphe Herpeux
Total
0
Shares
0
0
0
0
0
0
0

Words from Stephane Thirion : Rodolphe is a friend and also a very smart Microsoft dude, I used to work with him and having such a smart guy on my side has been a pleasure in all the project we had to work on together.

This week I worked at a customer for an Active Directory migration to Windows Server 2012 R2. The supplied servers have been promoted with a bad IP address. We realised the change of IP address and therefore, cannot install new roles and features. An error at each run a WinRM problem “Failed to open the runspace pool.” “The Server Manager WinRM plugin might be corrupted or missing.

After much research, it seems that the configuration of listeners is non-existent and that authentication protocols are more configured.

I gathered all the parameters which have corrected this error in this script.

Source code   
<#The Server Manager WinRM plug-in might be corrupted or missing on W2K12R2#>
 
#Add listner Loopback address
netsh http add iplisten 127.0.0.1
netsh http add iplisten ::1
 
#init variable
$Path="HKLM:SOFTWAREMicrosoftWindowsCurrentVersionWSMANClient"
$key1 = "auth_kerberos"
$key2 = "auth_negotiate"
 
#Check Key and create if not present
if (-not (Test-Path .$Key1)) {
 
Set-ItemProperty -Path $Path -Name $key1 -Value 1 -Type DWord -Force
}
 
if (-not (Test-Path .$Key2)) {
 
Set-ItemProperty -Path $Path -Name $key2 -Value 1 -Type DWord -Force
}
 
#Location to system drive
Set-Location c:
 
#Force restart service WinRM
Restart-Service "WinRM" -Force -Verbose
Total
0
Shares
Tweet 0
Share 0
Share 0
Share 0
Share 0
Share 0
Share 0
Related Topics
  • error
  • PowerShell
  • Scripting
  • Windows 2012R2
  • WinRM
Rodolphe Herpeux

Previous Article
  • Azure
  • Azure
  • Citrix
  • Cloud
  • Microsoft
  • VDI
  • Windows 10
  • Windows 2016
  • XenApp
  • XenDesktop

CloudBurtsting XenApp / XenDesktop in Azure 2/2

  • February 1, 2017
  • Stephane Thirion
View Post
Next Article
  • ArchY.net Site
  • Azure
  • Azure
  • Cloud
  • Microsoft

My lab died… Now what ?

  • February 28, 2017
  • Stephane Thirion
View Post
You May Also Like
View Post
  • VMware
  • vSphere
  • Windows 2022

Migrating FSMO roles Windows 2022 Server

  • Stephane Thirion
  • January 3, 2022
View Post
  • Azure
  • Azure
  • PowerShell
  • Scripting
  • Security

Export all Admin Roles and members from Azure AD

  • Rodolphe Herpeux
  • March 25, 2021
View Post
  • RDS
  • Security
  • Windows 2016

RDS access to applications with second authentication factor by smartcard

  • Rodolphe Herpeux
  • January 7, 2021
View Post
  • Windows 2016
  • Windows 2019

Migration farm ADFS operating system Windows server 2016 to Windows server 2019

  • Rodolphe Herpeux
  • January 6, 2021
View Post
  • Windows 2016

Migrate ADFS configuration Database from WID to MS-SQL

  • Rodolphe Herpeux
  • January 5, 2021
View Post
  • ArchY.net Site
  • Azure
  • Citrix
  • Cloud
  • Experience
  • Microsoft
  • News
  • Office365
  • Raidho
  • VMware

Mettre en place une solution de travail à distance (RemoteOffice / Remoteworking) 2/2

  • Stephane Thirion
  • March 24, 2020
View Post
  • Amazon
  • Citrix
  • Cloud
  • Experience
  • Microsoft
  • News
  • Office365
  • Raidho
  • Security
  • VMware

Mettre en place une solution de travail à distance (RemoteOffice / Remoteworking) 1/2

  • Stephane Thirion
  • March 22, 2020
View Post
  • Citrix
  • Citrix Virtual Apps and Desktops
  • Microsoft
  • PowerShell
  • Scripting
  • Windows 2016
  • Windows 2019
  • XenApp
  • XenDesktop

Enable SSL on Citrix Virtual Apps and Desktops 1912(+) XML Service

  • Stephane Thirion
  • February 13, 2020
vmware
Coinbase – Affiliated link
Blog Stats
  • 1,237,142 hits
Categories
  • Amazon (1)
  • Apple (20)
    • iOS (5)
    • Mac OSx (11)
  • ArchY.net Site (30)
  • Azure (8)
  • Certifications (3)
  • Citrix (207)
    • ADC (1)
    • Citrix Virtual Apps and Desktops (3)
    • NetScaler (12)
    • Password Manager (3)
    • Personal vDisk (5)
    • Power and Capacity Management (3)
    • Provisioning Services (22)
    • Receiver (29)
    • ShareFile (8)
    • Single Sign On (3)
    • SmartAuditor (2)
    • Storefront (12)
    • Synergy (25)
    • User Profile Management (2)
    • VDI (7)
    • WebInterface (21)
    • XenApp (84)
    • XenApp Plugin (3)
    • XenClient (10)
    • XenDesktop (55)
    • XenServer (42)
  • Cloud (12)
  • Crystal Ball (2)
  • CTP (13)
  • Docker (2)
  • Events (35)
    • E2E – PubForum (9)
    • Geek Speak (3)
  • Experience (53)
  • Kubernetes (2)
  • Licensing (3)
  • Linux (12)
  • Microsoft (145)
    • Azure (8)
    • Office365 (4)
    • PowerShell (18)
    • RDS (5)
    • Windows 10 (6)
    • Windows 2003 (21)
    • Windows 2008 (20)
    • Windows 2008 R2 (54)
    • Windows 2012 (13)
    • Windows 2012R2 (13)
    • Windows 2016 (18)
    • Windows 2019 (4)
    • Windows 2022 (1)
    • Windows 7 (27)
    • Windows 8 (19)
    • Windows Virtual Desktop (1)
    • Windows XP (11)
  • News (5)
  • Raidho (2)
  • Raspberry (3)
  • Scripting (13)
  • Security (4)
  • Slide Deck (1)
  • Thin Clients (3)
  • Twitter (1)
  • Ubiquiti (1)
  • Uncategorized (12)
  • VMware (27)
    • VMWare WorkStation (2)
    • vSphere (15)
Stéphane Thirion
Don't Follow the Trend

Input your search keywords and press Enter.

 

Loading Comments...