enable supressfirstlaunch for gaming copilot to hide on new machines

This commit is contained in:
zoicware
2026-03-05 00:17:33 -05:00
committed by GitHub
parent 374bcf205f
commit 88e889c75f

View File

@@ -1031,6 +1031,9 @@ function Disable-Registry-Keys {
#this prop needs to be true to hide from favorites
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
}
elseif ($prop.Name -eq 'suppressFirstLaunch') {
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
}
else {
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $false
}