Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when executing CIS_WindowsServer2019_v110.ps1 on 2019 Windows server #16

Open
vishnuvpotti opened this issue Aug 2, 2021 · 0 comments

Comments

@vishnuvpotti
Copy link

vishnuvpotti commented Aug 2, 2021

OS : Windows Server 2019 Base, (AWS)

Issue:

I could compile successfully and localhost.mof is generated in a folder named CIS_WindowsServer2019_v110.
I executed below command to Increase the maximum envelope size
Set-Item -Path WSMan:\localhost\MaxEnvelopeSizeKb -Value 2048

I executed the command toapply the PowerShell DSC configuration and got the below error.
Start-DscConfiguration -Path .\CIS_WindowsServer2019_v110 -Force -Verbose -Wait


'HKCU:\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer\PreventCodecDownload' with type 'DWord' and data '1'
VERBOSE: [EC2AMAZ-G27IIMQ]: LCM:  [ End    Test     ]  [[Registry]PreventCodecDownload]  in 0.0460 seconds.
VERBOSE: [EC2AMAZ-G27IIMQ]: LCM:  [ Skip   Set      ]  [[Registry]PreventCodecDownload]
VERBOSE: [EC2AMAZ-G27IIMQ]: LCM:  [ End    Resource ]  [[Registry]PreventCodecDownload]
VERBOSE: [EC2AMAZ-G27IIMQ]: LCM:  [ End    Set      ]
The SendConfigurationApply function did not succeed.
    + CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : MI RESULT 1
    + PSComputerName        : localhost

VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 69.122 seconds

cis_issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant