That message shouldn’t have anything to do with the Package resource… can you apply any configuration to that machine? Have you recently updated to a new version of the WMF 5 preview, by chance?
It’s a fresh VM which I install WMF 5 april 2015 on to. I can apply other configuration to the box, it’s just this msi that’s failing.
I also get the following error in the verbose output of my desktop machine I’m using to push the config, it seems this may be something permission related though the user the resource is running as is a local admin.
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/…guration
Manager:String) , CimException
+ FullyQualifiedErrorId : HRESULT 0x80041033
Try changing DebugMode from ‘All’ to ‘ForceModuleImport’, and re-apply your configuration by running Start-DscConfiguration -Force. ‘All’ includes some new debugging features, which may be causing you some trouble.
Stripping the config back to just the package install and I still get the error, though I get the following in the DSC event logs.
Message Processing data for a remote command failed with the following error message: The WSMan provider host process did not return a proper response. A provider in the host process may have behaved improperly. For more information, see the about_Remote_Troubleshooting Help topic.
HResult -2146233087
StackTrack at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.CoreInvokeRemoteHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at Microsoft.PowerShell.DesiredStateConfiguration.Internal.ResourceProviderAdapter.ExecuteProviderCommand(IntPtr resourceConfigurationInstanceHandle, IntPtr regInstanceHandle, String operationCmd, LCMDebugMode debugMode, UInt32& resultStatusHandle, Collection`1& result, ErrorRecord& errorRecord)
I’m getting the same trying to run “Install-Package -Force python2” from inside a Script resource. Other calls to Install-Package work (Notepad++, 7zip, winmerge, etc.).
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