Skip to content

Commit

Permalink
Merge pull request awslabs#152 from aaalzand/patch-9
Browse files Browse the repository at this point in the history
Update Get-IEProxySettings.ps1
  • Loading branch information
joshua-at-aws authored Mar 15, 2021
2 parents 14dc855 + 0e65dd3 commit 1af78c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Function Get-IEProxySettings {
param (
[String]$Skip = $false
)
$Key = "Registry::HKEY_USERS\S-1-5-18\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"
$Key = "Registry::HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"

$check = "LocalSystem account user Internet Explorer proxy"
Write-Log -Message "New check....."
Expand Down Expand Up @@ -45,4 +45,4 @@ Function Get-IEProxySettings {
Write-Log -Message "The LocalSystem account user Internet Explorer proxy check skipped since the service is not available" -LogLevel "WARN"
}
return New-PSObjectResponse -Check "$check" -Status "$value" -Note "$note"
}
}

0 comments on commit 1af78c7

Please sign in to comment.