Skip to content

Commit 083b413

Browse files
authored
Merge pull request #1625 from microsoft/dpaul-HcDev
Address Credential Guard also being flagged when Disable Async Notification is set
2 parents b69e6b9 + 89c1cc0 commit 083b413

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diagnostics/HealthChecker/Analyzer/Invoke-AnalyzerFrequentConfigurationIssues.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ function Invoke-AnalyzerFrequentConfigurationIssues {
103103
Name = "Disable Async Notification"
104104
Details = $displayValue
105105
DisplayWriteType = $displayWriteType
106-
DisplayTestingValue = $true
106+
DisplayTestingValue = $displayValue -ne 0
107107
}
108108
Add-AnalyzedResultInformation @params
109109

110-
$credentialGuardValue = $osInformation.RegistryValues.CredentialGuard -ne 0
110+
$displayValue = $credentialGuardValue = $osInformation.RegistryValues.CredentialGuard -ne 0
111111
$displayWriteType = "Grey"
112112

113113
if ($credentialGuardValue) {

Diagnostics/HealthChecker/Tests/HealthChecker.E19.Main.Tests.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ Describe "Testing Health Checker by Mock Data Imports" {
112112
TestObjectMatch "RPC Min Connection Timeout" 0
113113
TestObjectMatch "FIPS Algorithm Policy Enabled" 0
114114
TestObjectMatch "CTS Processor Affinity Percentage" 0 -WriteType "Green"
115+
TestObjectMatch "Disable Async Notification" $false
115116
TestObjectMatch "Credential Guard Enabled" $false
116117
TestObjectMatch "EdgeTransport.exe.config Present" "True" -WriteType "Green"
117118
TestObjectMatch "Open Relay Wild Card Domain" "Not Set"

0 commit comments

Comments
 (0)