mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50:09 +00:00
Update-WPFTweaksRemoveCopilot (#3907)
* Update tweaks.json * Update tweaks.json * Update tweaks.json * Update config/tweaks.json Co-authored-by: Yuki <65764619+YukiNagat0@users.noreply.github.com> * Remove comment on EOL trick for AppxPackages Removed unnecessary comment about tricking Windows for package uninstallation. * Fix escape characters in registry path --------- Co-authored-by: Chris Titus <contact@christitus.com> Co-authored-by: Yuki <65764619+YukiNagat0@users.noreply.github.com>
This commit is contained in:
@@ -2041,6 +2041,12 @@
|
||||
Write-Host \"Remove Copilot\"
|
||||
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
|
||||
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
|
||||
|
||||
$Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
|
||||
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
|
||||
|
||||
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
|
||||
Remove-AppxPackage $Appx
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
|
||||
Reference in New Issue
Block a user