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

**URL:** <https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279>\
**Category:** PowerShell Help\
**Created:** [February 21, 2014, 12:42am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279 "2014-02-21T00:42:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvi1998](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bvi1998](https://forums.powershell.org/u/bvi1998)\
**Post date:** [February 21, 2014, 12:42am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/1 "2014-02-21T00:42:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![richard-siddaway](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@richard-siddaway](https://forums.powershell.org/u/richard-siddaway)\
**Post date:** [February 21, 2014, 12:47am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/2 "2014-02-21T00:47:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/1X/385e4f9fe133561ad30a814262fe0e0ae6bc3ef0.png) [@system](https://forums.powershell.org/u/system)\
**Post date:** [February 21, 2014, 12:47am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/3 "2014-02-21T00:47:14Z")

</div>

Is WMF 4.0 installed on the remote server?

---

<div class="post-metadata">

**Author:** ![bvi1998](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bvi1998](https://forums.powershell.org/u/bvi1998)\
**Post date:** [February 21, 2014, 1:40am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/4 "2014-02-21T01:40:46Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![richard-siddaway](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@richard-siddaway](https://forums.powershell.org/u/richard-siddaway)\
**Post date:** [February 24, 2014, 4:59am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/5 "2014-02-24T04:59:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bvi1998](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bvi1998](https://forums.powershell.org/u/bvi1998)\
**Post date:** [February 28, 2014, 1:06am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/6 "2014-02-28T01:06:07Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![richard-siddaway](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@richard-siddaway](https://forums.powershell.org/u/richard-siddaway)\
**Post date:** [February 28, 2014, 4:13am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/7 "2014-02-28T04:13:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bvi1998](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bvi1998](https://forums.powershell.org/u/bvi1998)\
**Post date:** [February 28, 2014, 4:34am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/8 "2014-02-28T04:34:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bvi1998](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bvi1998](https://forums.powershell.org/u/bvi1998)\
**Post date:** [March 3, 2014, 8:28am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/9 "2014-03-03T08:28:39Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![fullenw1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/fullenw1/32/171_2.png) [@fullenw1](https://forums.powershell.org/u/fullenw1)\
**Post date:** [November 10, 2016, 9:35am UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/10 "2016-11-10T09:35:34Z")

</div>

**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](https://support.microsoft.com/fr-fr/kb/3062960)

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:40pm UTC](https://forums.powershell.org/t/the-cim-namespace-root-microsoft-windows-desiredstateconfiguration-is-invalid/2279/11 "2024-05-16T20:40:02Z")

</div>


