We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e889c commit 829b80fCopy full SHA for 829b80f
1 file changed
RemoveWindowsAi.ps1
@@ -1038,7 +1038,10 @@ function Disable-Registry-Keys {
1038
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $false
1039
}
1040
1041
-
+ #this prop isnt added to the json till the user views settings in gamebar so add the prop and set to false
1042
+ #hide gaming copilot from widgets menu
1043
+ $jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name) | Add-Member -NotePropertyName 'homeMenuVisibleUser' -NotePropertyValue $false -Force
1044
+
1045
$newContent = ConvertTo-Json $jsonObj -Depth 10 -Compress #compress here to match og formatting for this file
1046
Set-Content $overlaySettingsPath -Value $newContent -Force
1047
0 commit comments