DSC: A configuration is pending (MI RESULT 11)

On my vertical learning curve of the awesomeness that is DSC: When trying to apply a MOF configuration to a server (push), the change was not being reflected and I received the error:

A configuration is pending. Please run Update-DscConfiguration or Start-DscConfiguration command with -Force parameter.
    + CategoryInfo          : ResourceExists: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : MI RESULT 11
    + PSComputerName        : MyRemoteServer

Googling the error led me to the solution

here. Basically:
1. Delete C:\windows\system32\configuration\pending.mof;
2. Stop all WMI processes;
3. Restart the WinRM service;   (No, I haven’t forgotten to restart WMI processes.). PowerShell 4.0

One thought on “DSC: A configuration is pending (MI RESULT 11)

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

This site uses Akismet to reduce spam. Learn how your comment data is processed.