Author Posts

February 21, 2014 at 6:12 am

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.

February 21, 2014 at 6:17 am

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

February 21, 2014 at 6:17 am

Is WMF 4.0 installed on the remote server?

February 21, 2014 at 7:10 am

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!

February 24, 2014 at 10:29 am

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

February 28, 2014 at 6:36 am

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!

February 28, 2014 at 9:43 am

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

February 28, 2014 at 10:04 am

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

March 3, 2014 at 1:58 pm

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!

November 10, 2016 at 3:05 pm

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