Skip to content

Commit 88e889c

Browse files
authored
enable supressfirstlaunch for gaming copilot to hide on new machines
1 parent 374bcf2 commit 88e889c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

RemoveWindowsAi.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,9 @@ function Disable-Registry-Keys {
10311031
#this prop needs to be true to hide from favorites
10321032
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
10331033
}
1034+
elseif ($prop.Name -eq 'suppressFirstLaunch') {
1035+
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
1036+
}
10341037
else {
10351038
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $false
10361039
}

0 commit comments

Comments
 (0)