Skip to content

Commit

Permalink
Fix/283 (#284)
Browse files Browse the repository at this point in the history
* remove bad keys from win11 schema

* Changelog++

* changelog++

* Update CHANGELOG.md

Co-authored-by: Edward Delaporte <[email protected]>

---------

Co-authored-by: Edward Delaporte <[email protected]>
  • Loading branch information
baristaTam and edthedev authored Apr 17, 2024
1 parent df69419 commit 88f3ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Removed

- Removed 'Ensure Turn on PowerShell Transcription is set to Enabled (2)' and (3). These are subkeys of 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\Transcription' (OutputDirectory and EnableInvocationHeader) which are not mentioned by the CIS Benchmark and erroneously included in the GPOKit. Invalid ValueData for the OutputDirectory key was also causing issues with the MOF file in some cases, depending on how it was generated.

## [4.0.0] - 2024-03-26

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4711,18 +4711,6 @@ Configuration CIS_Microsoft_Windows_11_Enterprise_Release_23H2
ValueName = 'EnableTranscripting'
ValueType = 'Dword'
}
Registry "18.10.87.2 - (L1) Ensure Turn on PowerShell Transcription is set to Enabled (2)" {
Ensure = 'Present'
Key = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\Transcription'
ValueData = ''
ValueName = 'OutputDirectory'
ValueType = 'String'
}
Registry "18.10.87.2 - (L1) Ensure Turn on PowerShell Transcription is set to Enabled (3)" {
Ensure = 'Absent'
Key = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\Transcription'
ValueName = 'EnableInvocationHeader'
}
}
if($ExcludeList -notcontains '18.10.89.1.1' -and $LevelOne){
Registry "18.10.89.1.1 - (L1) Ensure Allow Basic authentication is set to Disabled" {
Expand Down

0 comments on commit 88f3ebd

Please sign in to comment.