Unable to start DSC Configuration (HRESULT 0x80041033)

Welcome Forums DSC (Desired State Configuration) Unable to start DSC Configuration (HRESULT 0x80041033)

This topic contains 4 replies, has 4 voices, and was last updated by

2 years, 11 months ago.

  • Author
  • #47722

    Topics: 4
    Replies: 6
    Points: 0
    Rank: Member

    I'm quite new to DSC. I'm able to create mof files after that in push mode by starting Start-DSCConfiguration cmdlet i'm getting this error.

     PS C:\> Start-DscConfiguration -Path 'c:\' -Wait -Force -ComputerName LocalHost -Verbose
    VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfiguratio
    nManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
    VERBOSE: An LCM method call arrived from computer DHANUSH-PC with user sid S-1-5-21-2953993634-1734277334-2268608716-1001.
    VERBOSE: [DHANUSH-PC]: LCM:  [ Start  Set      ]
    The WS-Management service cannot process the request. The WMI service or the WMI provider returned an unknown error: HRESULT 0x80041033 
        + CategoryInfo          : ResourceUnavailable: (root/Microsoft/...gurationManager:String) [], CimException
        + FullyQualifiedErrorId : HRESULT 0x80041033
        + PSComputerName        : LocalHost
    VERBOSE: Operation 'Invoke CimMethod' complete.
    VERBOSE: Time taken for configuration job to complete is 2.515 seconds

    My DSC code is

    configuration ConfigName {
        Node $ComputerName {
            WindowsFeature IIS{
                Name = 'web-server'
                Ensure = 'Absent'
    $computername = 'LocalHost'
    ConfigName -OutputPath c:\

    Iam not able to do any kind of DSC tasks because of this error. Even for empty ones. Please help me on this

  • #47731

    Topics: 2
    Replies: 5
    Points: 0
    Rank: Member


    Have you started the PS console as administrator?

    Best regards,

    • #47733

      Topics: 4
      Replies: 6
      Points: 0
      Rank: Member

      Yes, the console is in elevated mode.

  • #47781

    Topics: 5
    Replies: 261
    Points: -19
    Rank: Member

    hmm what OS is the computer your running this on ?

  • #47801

    Topics: 0
    Replies: 102
    Points: 1
    Rank: Member

    This error generally indicates that LCM failed to initialize. LCM will try to initialize by doing the following:
    1) Load all files under system32\configuration folder. This contains LCM core files and File provider.
    2) Load all files under Program Files\WindowsPowerShell\Configuration folder.

    Most likely LCM failed to load some of these files either due to access issue or there are some extra files that are not supposed to be there. Try to compare these folder from a working machine. Also check event etw for any additional log.

The topic ‘Unable to start DSC Configuration (HRESULT 0x80041033)’ is closed to new replies.