Author Posts

July 29, 2014 at 8:43 am

Yesterday I was able to have my test VM pull a config from my test server with no problem. Today I expanded it to a few more test boxes and now everything if Fubar!
All of them get the error about failing to delete the current configuration. I build the configurations with the same script as yesterday.

PS H:\> Trace-cDscOperation -ComputerName 172.16.97.232 -SequenceID 1

ComputerName   EventType    TimeCreated           Message                                                                                                                                                       
------------   ---------    -----------           -------                                                                                                                                                       
172.16.97.232  OPERATIONAL  7/29/2014 11:37:49 AM Configuration is sent from computer NULL by user sid S-1-5-18.                                                                                                
172.16.97.232  OPERATIONAL  7/29/2014 11:37:49 AM Attempting to get the action from pull server using Download Manager WebDownloadManager. Configuration Id is eb5637c0-01eb-4e6f-a8a2-14a8de1ba656. Checksum...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:49 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Do-DscAction command with server url: https://DSC-Pull.pinnaclebancorp.com:8443/p...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:49 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Do-DscAction command, GET Url: psdscpullserver.svc/Action(ConfigurationId='eb5637...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager processed certificate: [Subject]...                                                                                                        
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Do-DscAction command, GET call result: GetConfiguration.                            
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM Successfully got the action GetConfiguration from pull server using Download Manager WebDownloadManager.                                                      
172.16.97.232  ERROR        7/29/2014 11:37:50 AM Failed to delete the current configuration file                                                                                                               
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM Attempting to get the configuration from pull server using Download Manager WebDownloadManager.Configuration Id is eb5637c0-01eb-4e6f-a8a2-14a8de1ba656.      
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM Attempting to get the configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 from pull server with Server Url https://DSC-Pull.pinnaclebancorp.com:8443/psdscpu...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Get-DscDocument command, GET Url: psdscpullserver.svc/Action(ConfigurationId='eb5...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager processed certificate: [Subject]...                                                                                                        
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Get-DscDocument command, File save result: C:\Windows\TEMP\635422306701455888\loc...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Get-DscDocument command, GET call result: Ok.                                       
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM WebDownloadManager for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 Get-DscDocument command, File save result: C:\Windows\TEMP\635422306701455888\loc...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM The checksum validation for configuration eb5637c0-01eb-4e6f-a8a2-14a8de1ba656 completed with status code 0.                                                  
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM The checksum validation for configuration C:\Windows\TEMP\\635422306701455888\localhost.mof completed with status code 0.                                     
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM Skipping pulling module PSDesiredStateConfiguration with version 1.0 as it already exists in this location C:\Windows\system32\WindowsPowerShell\v1.0\Modul...
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM Skipping pulling of modules since all modules specified in configuration C:\Windows\TEMP\\635422306701455888\localhost.mof are available.                     
172.16.97.232  OPERATIONAL  7/29/2014 11:37:50 AM Successfully got the configuration from pull server using Download Manager WebDownloadManager.                                                                
172.16.97.232  ERROR        7/29/2014 11:37:52 AM This event indicates that a non-terminating error was thrown when DSCEngine was executing Set-TargetResource on MSFT_UserResource provider. FullyQualifiedE...
172.16.97.232  ERROR        7/29/2014 11:37:52 AM This event indicates that failure happens when LCM is processing the configuration. ErrorId is 0x1. ErrorDetail is The SendConfigurationApply function did ...
172.16.97.232  ERROR        7/29/2014 11:37:52 AM DSC Engine Error : ...                                                                                                                                        
172.16.97.232  ERROR        7/29/2014 11:37:52 AM This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId i...

July 29, 2014 at 8:53 am

I also get this error trying to force a pull

PS C:\Windows\system32> invoke-dscpull
VERBOSE: Performing the operation "Invoke-CimMethod: PerformRequiredConfigurationChecks" on target
"MSFT_DscLocalConfigurationManager".
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''namespaceName' =
root/microsoft/windows/desiredstateconfiguration,'className' = MSFT_DscLocalConfigurationManager,'methodName' =
PerformRequiredConfigurationChecks'.
VERBOSE: An LCM method call arrived from computer FDIC32 with user sid S-1-5-21-1220945662-688789844-682003330-86493.
Invoke-CimMethod : The SendConfigurationApply function did not succeed.
At \\pinnaclebancorp.com\PDS\PSModules\DscOperations\Invoke-DscPull.ps1:38 char:5
+     Invoke-CimMethod @parameters
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (root/microsoft/...gurationManager:String) [Invoke-CimMethod], CimExcep
   tion
    + FullyQualifiedErrorId : MI RESULT 4,Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodCommand

July 29, 2014 at 8:54 am

I don't think that error is actually causing you any trouble. If you haven't yet successfully applied a DSC configuration to these machines, there won't be a current configuration file (which is current.mof, stored in %SystemRoot%\System32\Configuration\ ). As you can see from the log, after that error occurs, it goes ahead and fetches the configuration from your pull server and attempts to apply it.

The last 4 errors in the text, on the other hand, are a problem. That means one of your "User" resources in the configuration isn't applying correctly.

July 29, 2014 at 1:36 pm

Thanks that got me pointed in the right direction. I had not explicitly set the accounts to Disabled = $false and I guess a space does not count as a special char for password complexity.