Skip to content

Commit 8fc1c37

Browse files
authored
Fix Set-SChannelProtocol to enable protocols correctly (#785)
1 parent 08e898e commit 8fc1c37

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
### Fixed
9+
10+
- xPSDesiredStateConfiguration.Security
11+
- SChannelProtocols enabled value should be 1 and not 0xffffffff [Issue #740](https://github.com/dsccommunity/xPSDesiredStateConfiguration/issues/740).
12+
813
## [9.2.1] - 2024-11-11
914

1015
### Changed

source/Modules/xPSDesiredStateConfiguration.Security/xPSDesiredStateConfiguration.Security.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function Set-SChannelProtocol
7676
{
7777
$registryPath = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\$protocol\Server"
7878
$null = New-Item -Path $registryPath -Force
79-
$null = New-ItemProperty -Path $registryPath -Name Enabled -Value '0xffffffff' -PropertyType 'DWord' -Force
79+
$null = New-ItemProperty -Path $registryPath -Name Enabled -Value 1 -PropertyType 'DWord' -Force
8080
$null = New-ItemProperty -Path $registryPath -Name DisabledByDefault -Value 0 -PropertyType 'DWord' -Force
8181
}
8282
}

0 commit comments

Comments
 (0)