This topic contains 6 replies, has 5 voices, and was last updated by
December 22, 2015 at 12:33 pm #33221ParticipantPoints: 0Rank: Member
Just a heads up, don't "upgrade" your servers from Production preview to RTM. You'll get the following error when using Set-DScLocalConfigurationManager.
No instance found with given property values.
At C:\temp\dsctest.ps1:172 char:5
+ Set-DscLocalConfigurationManager -ComputerName mymachine -Path ...
+ CategoryInfo : InvalidArgument: (root/Microsoft/...gurationManager:String) , CimException
+ FullyQualifiedErrorId : HRESULT 0x8033801a
+ PSComputerName : mymachine
To fix, perform the following;
1. Uninstall RTM, reboot
2. Uninstall Production Preview, reboot
3. Install RTM, reboot
December 22, 2015 at 7:30 pm #33233ParticipantPoints: 87Rank: Member
This is documented under https://msdn.microsoft.com/en-us/powershell/wmf/limitation_dsc
DSC cmdlets may not work if WMF 5.0 RTM is installed on top of WMF 5.0 Production Preview
Resolution: Run the following command in an elevated PowerShell session (run as administrator):
December 23, 2015 at 12:15 am #33237ParticipantPoints: 0Rank: Member
Thanks for the heads up Alex. I wish they mentioned that link when RTM was announced. Googling the issue I had didn't bring it up .
December 23, 2015 at 1:12 pm #33280ParticipantPoints: 35Rank: Member
Thanks for the link, Alex. I needed it, too.
December 26, 2015 at 2:32 am #33311ParticipantPoints: 87Rank: Member
Also fyi, it looks like wmf5 has been pulled as it resets the module path back to defaults.
December 29, 2015 at 1:36 pm #33368ParticipantPoints: 22Rank: Member
Thanks Alex. Running that mofcomp command fixed this for me, too. I was getting a "not found" error from Get-DscLocalConfigurationManager:
$ Get-DscLocalConfigurationManager Get-DscLocalConfigurationManager : Not found At line:1 char:1 + Get-DscLocalConfigurationManager + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (MSFT_DSCLocalConfigurationManager:root/Microsoft/...gurationManager) [Get-DscLocalConfigurationManager], CimException + FullyQualifiedErrorId : HRESULT 0x80041002,Get-DscLocalConfigurationManager
March 10, 2016 at 6:54 am #36364ParticipantPoints: 1Rank: Member
I had the same issue.
PS C:\tools> Get-DscConfiguration No instance found with given property values. + CategoryInfo : InvalidArgument: (root/Microsoft/...gurationManager:String) , CimException + FullyQualifiedErrorId : HRESULT 0x8033801a + PSComputerName : localhost PS C:\tools> $Error.CategoryInfo Category : MetadataError Activity : Reason : CimException TargetName : root/Microsoft/Windows/DesiredStateConfiguration:MSFT_DSCLocalConfigurationManager TargetType : String
start powershell as admin
It takes a long time to solve it 🙁
The topic ‘Upgrading from WMF 5 Production Preview to RTM breaks DSC’ is closed to new replies.