Home > System Centre 2012, Windows Server > System Centre 2012 Unified Installer : Fix for The WinRM settings are not configured correctly

System Centre 2012 Unified Installer : Fix for The WinRM settings are not configured correctly

 

When installing System Centre 2012 Unified Installer on a Windows 2008 R2 machine, you might encounter the following error

image

 

To fix this, first ensure that your administrator account has a password.

Next fire up a command prompt with Administrator rights and run the following commands

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
The operation completed successfully.

winrm qc -q

>winrm qc -q
WinRM is not set up to receive requests on this machine.
The following changes must be made:

Start the WinRM service.

WinRM has been updated to receive requests.

WinRM service started.
WinRM is not set up to allow remote access to this machine for management.
The following changes must be made:

Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
machine.
Enable the WinRM firewall exception.

WinRM has been updated for remote management.

Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
machine.
WinRM firewall exception enabled.

 

winrm set winrm/config/service/auth @{CredSSP="True"}

>winrm set winrm/config/service/auth @{CredSSP="True"}
Auth
    Basic = false
    Kerberos = true
    Negotiate = true
    Certificate = false
    CredSSP = true
    CbtHardeningLevel = Relaxed

winrm set winrm/config/winrs @{AllowRemoteShellAccess="True"}

>winrm set winrm/config/winrs @{AllowRemoteShellAccess="True"}
Winrs
    AllowRemoteShellAccess = true
    IdleTimeout = 180000
    MaxConcurrentUsers = 5
    MaxShellRunTime = 2147483647
    MaxProcessesPerShell = 15
    MaxMemoryPerShellMB = 150
    MaxShellsPerUser = 5

winrm set winrm/config/winrs @{MaxMemoryPerShellMB="2048"}

>winrm set winrm/config/winrs @{MaxMemoryPerShellMB="2048"}
Winrs
    AllowRemoteShellAccess = true
    IdleTimeout = 180000
    MaxConcurrentUsers = 5
    MaxShellRunTime = 2147483647
    MaxProcessesPerShell = 15
    MaxMemoryPerShellMB = 2048
    MaxShellsPerUser = 5

winrm set winrm/config/client @{TrustedHosts="*"}

>winrm set winrm/config/client @{TrustedHosts="*"}

Client
    NetworkDelayms = 5000
    URLPrefix = wsman
    AllowUnencrypted = false
    Auth
        Basic = true
        Digest = true
        Kerberos = true
        Negotiate = true
        Certificate = true
        CredSSP = false
    DefaultPorts
        HTTP = 5985
        HTTPS = 5986
    TrustedHosts = *

winrm set winrm/config/client/auth @{CredSSP="True"}

>winrm set winrm/config/client/auth @{CredSSP="True"}
Auth
    Basic = true
    Digest = true
    Kerberos = true
    Negotiate = true
    Certificate = true
    CredSSP = true

 

You can now try installing System Centre 2012 again.

  1. May 14, 2012 at 10:28 pm

    thanks works perfekt

  2. Dan
    July 12, 2012 at 3:42 pm

    Very nice. Thanks, helped me a lot

  3. Yos
    November 20, 2012 at 1:12 am

    Oh Man!! You’re an “F”ing genius!!!!

  4. Will
    January 29, 2013 at 6:45 pm

    Huzzah!!! Thanks so much!!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: