dinsdag 11 september 2012

SYSTEM CENTER 2012 INSTALLATION


ERROR:

The WinRM settings are not configured correctly.

SOLUTION:

1. Ensure that the Administrator account has a password.
2. Then run these commands to correct WinRM:

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

Then:

winrm qc -q 

The output might be:

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.

Then: 

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

Output might be:
Auth 
    Basic = false 
    Kerberos = true 
    Negotiate = true 
    Certificate = false 
    CredSSP = true 
    CbtHardeningLevel = Relaxed

Then:

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

Output might be:

Winrs 
    AllowRemoteShellAccess = true 
    IdleTimeout = 180000 
    MaxConcurrentUsers = 5 
    MaxShellRunTime = 2147483647 
    MaxProcessesPerShell = 15 
    MaxMemoryPerShellMB = 150 
    MaxShellsPerUser = 5

Then:

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

Output might be:
Winrs 
    AllowRemoteShellAccess = true 
    IdleTimeout = 180000 
    MaxConcurrentUsers = 5 
    MaxShellRunTime = 2147483647 
    MaxProcessesPerShell = 15 
    MaxMemoryPerShellMB = 2048 
    MaxShellsPerUser = 5

Then:

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

Output might be:

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 = *

Then:

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

Output might be:
Auth 
    Basic = true 
    Digest = true 
    Kerberos = true 
    Negotiate = true 
    Certificate = true 
    CredSSP = true


Now try running setup again.

Geen opmerkingen:

Een reactie posten