Hi, Both AllowUnencrypted and basic_auth are set to true. Winrm commands will work, it’s when using knife this seems to break. So I’m not really sure which of these we should be troubleshooting. When using
, it’s actually
">
we use, so yeah, it’s fully qualified. Thanks Tom Results below: WSManConfig: Microsoft.WSMan.Management\WSMan::localhost\Service\Auth Type Name SourceOfValue Value ---- ---- ------------- ----- System.String Basic true System.String Kerberos true System.String Negotiate true System.String Certificate false System.String CredSSP true System.String CbtHardeningLevel Relaxed winrm get winrm/config Config MaxEnvelopeSizekb = 500 MaxTimeoutms = 1800000 MaxBatchItems = 32000 MaxProviderRequests = 4294967295 Client NetworkDelayms = 5000 URLPrefix = wsman AllowUnencrypted = true Auth Basic = true Digest = true Kerberos = true Negotiate = true Certificate = false CredSSP = true DefaultPorts HTTP = 5985 HTTPS = 5986 TrustedHosts Service RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD) MaxConcurrentOperations = 4294967295 MaxConcurrentOperationsPerUser = 1500 EnumerationTimeoutms = 240000 MaxConnections = 300 MaxPacketRetrievalTimeSeconds = 120 AllowUnencrypted = true Auth Basic = true Kerberos = true Negotiate = true Certificate = false CredSSP = true CbtHardeningLevel = Relaxed DefaultPorts HTTP = 5985 HTTPS = 5986 IPv4Filter = * IPv6Filter = * EnableCompatibilityHttpListener = false EnableCompatibilityHttpsListener = false CertificateThumbprint AllowRemoteAccess = true Winrs AllowRemoteShellAccess = true IdleTimeout = 7200000 MaxConcurrentUsers = 10 MaxShellRunTime = 2147483647 MaxProcessesPerShell = 25 MaxMemoryPerShellMB = 1024 MaxShellsPerUser = 30 From: Tensibai [mailto:
Could you paste the result of winrm get winrm/config from the target server ? I would suspect the allow unencrypted parameter as Adam says before. Hope you'll find, debuging winrm is a high PITA, but its really nice once it works :p P.S: Just to be sure, in the form
, domain is the fully qualified domain name right ? Le 2014-04-09 18:10, Deprez, Tom a écrit :
|
Archive powered by MHonArc 2.6.16.