Hallo Leute,
wir haben in unserer Umgebung einen DSC Pull Server, da es eine Testumgebung ist, ist es http. Die LCM Konfiguration sieht folgendermaßen aus:
[DSCLocalConfigurationManager()] Configuration LCM_HTTPPULL { param ( [Parameter(Mandatory=$true)] [string[]]$ComputerName, [Parameter(Mandatory=$true)] [string]$guid ) Node $ComputerName { Settings{ AllowModuleOverwrite = $true ConfigurationMode = 'ApplyAndAutoCorrect' RefreshMode = 'Pull' ConfigurationID = $guid } ConfigurationRepositoryWeb DSCHTTP { ServerURL = 'http://SRV-Web01:8080/PSDSCPullServer.svc/' AllowUnsecureConnection = $true } } } $guid=[guid]::NewGuid() $ComputerName = 'SRV01' DSCHTTP -ComputerName $ComputerName -Guid $guid -OutputPath C:\MyCDP Set-DscLocalConfigurationManager -Path C:\MyCDP -Verbose
Dies klappt alles wunderbar.
Als Test soll das Windows Feature XPS-Viewer installiert werden.
configuration PullMof { param ( [Parameter(Mandatory=$true)] [string]$guid ) Node $guid { windowsFeature XPS { Ensure = 'Present' Name = 'XPS-Viewer' } } } PullMof -guid $guid -OutputPath "C:\Program Files\WindowsPowerShell\DscService\Configuration" New-DscChecksum -Path "C:\Program Files\WindowsPowerShell\DscService\Configuration\$guid.mof" -OutPath "C:\Program Files\WindowsPowerShell\DscService\Configuration" -Verbose -Force
Problem ist nun, dass bei einigen Servern folgende Fehlermeldung kommt, wenn der Client nach mofs sucht, oder Update-DscConfiguration ausgeführt wird.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
PerformRequiredConfigurationChecks,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Vom Computer 'SRV01' mit Benutzer-SID 'S-1-5-21-1259767471-2448284701-4150394772-71840' ist ein
LCM-Methodenaufruf eingegangen.
Fehler bei der Entschlüsselung.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : Windows System Error 1325
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.104 seconds
Die Systeme sind frisch installiert und auf dem neusten updatestand mit wmf 5.0
Den LCM hab ich schon mehrfach neu Konfiguriert und in verschiedenen anderen Foren habe ich keine passende Lösung zu diesem Problem gefunden. Vielleicht habt ihr noch eine Idee?
Vielen Dank für die Hilfe
Grüße Andy