posh-dsc-windows-hardening icon indicating copy to clipboard operation
posh-dsc-windows-hardening copied to clipboard

Fix duplicate AllowCrossDeviceClipboard entries

Open jwmullally opened this issue 4 years ago • 1 comments

There are 2 entries named "AllowCrossDeviceClipboard", which causes a "Duplicate Resource Identifier" error.

This change gives a unique name to the second entry based on the registry key it is modifying, similar to the other entries.

jwmullally avatar Nov 24 '20 16:11 jwmullally

Tested on AWS Windows Server 2019 AMI. Running ".\CIS_WindowsServer2019_v110.ps1" now generates the MOF file.

Fixes Issues:

  • https://github.com/NVISO-BE/posh-dsc-windows-hardening/issues/2
  • https://github.com/NVISO-BE/posh-dsc-windows-hardening/issues/5

jwmullally avatar Nov 24 '20 16:11 jwmullally