The CIM namespace root/Microsoft/Windows/DesiredStateConfiguration is invalid.

This topic contains 9 replies, has 4 voices, and was last updated by Profile photo of Luc FULLENWARTH Luc FULLENWARTH 7 months, 2 weeks ago.

  • Author
    Posts
  • #13246
    Profile photo of bvi1998 .
    bvi1998 .
    Participant

    Hi,
    I am trying to just add a feature to a remote server with DSC and am receiving this message. It works fine locally but not on the remote server. Here is the entire message:

    The WS-Management service cannot process the request. The CIM namespace root/Microsoft/Windows/DesiredStateConfiguration is invalid.
    + CategoryInfo : ObjectNotFound: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : HRESULT 0x80338000
    + PSComputerName : servername

    I think I have all of the permissions on the remote server, but perhaps I need an agent? The remote server is Windows 2012, not R2.
    Thanks in advance for any help, I'm pulling my hair out 😉

    I am not using this with Configuration Manager.

  • #13247
    Profile photo of Richard Siddaway
    Richard Siddaway
    Moderator

    That namespace is not present on the RTM version of Windows Server 2012

    Have you installed WMF (PowerShell 4) on the 2012 server – that may install the namespace

  • #13248
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    Is WMF 4.0 installed on the remote server?

    • #13249
      Profile photo of bvi1998 .
      bvi1998 .
      Participant

      ah that would do it, thanks both that replied.
      Do either of you know where I can find:
      – requirements for DSC (DSC and clients/settings etc)
      – any electronic books on DSC
      – is anyone busy writing a book on PS 4.0?
      Thanks!

  • #13304
    Profile photo of Richard Siddaway
    Richard Siddaway
    Moderator

    The server DSC requirements are handled when you install the DSC feature

    The "client" requirements are to install WMF 4

    There are no ebooks that I'm aware of on DSC

    Books are being written on PowerShell 4

  • #13394
    Profile photo of Richard Siddaway
    Richard Siddaway
    Moderator

    You need to configure the LocalMachineManager – check out Steve Murawski's blog posts on this site

  • #13396
    Profile photo of bvi1998 .
    bvi1998 .
    Participant

    I'll keep looking but have not found anything. Thanks.

    • #13477
      Profile photo of bvi1998 .
      bvi1998 .
      Participant

      Can anyone direct me further? I am having a heck of a time trying to push anything to a Windows 2008 R2 server. Nothing seems to work.
      Thanks!

  • #57344
    Profile photo of Luc FULLENWARTH
    Luc FULLENWARTH
    Participant

    The WS-Management service cannot process the request. The CIM namespace root/Microsoft/Windows/DesiredStateConfiguration is invalid.

    This problem appeared when I implemented

      Powershell Module Logging

    .

    The following fix solved the issue : https://support.microsoft.com/fr-fr/kb/3062960

  • #13390
    Profile photo of bvi1998 .
    bvi1998 .
    Participant

    Thanks.
    I am ready to start creating a pull method, but cannot figure out what I need for a Windows 2008 R2 server as a "client". I have installed the WMF 4 on the test 2008 R2 server. Can you help?

    p.s. I am not using SCCM or Configuration Manager.
    Thanks!

You must be logged in to reply to this topic.