Remove Copilot from ISO

sven98

New Member
Messages
18
Reaction score
1
Hello all,

I am trying to remove Copilot from our ISO. My current Idea is to use this powershell command:
"Get-AppxPackage -AllUsers -Name Microsoft.Copilot | Remove-AppxPackage -AllUsers"
I configured this Post-Setup After Login.

However it only deletes Copilot from exisiting users. When I create a new local user - copilot is back in this new profile.
I think the same will happen if I do a fresh install, domain join the system and new users log in.

Is there a better or correct way to remove copilot completly without creating bugs in dependent apps?
I read about Remove-AppxProvisionedPackage however I am cautious about it - because I dont want to create bugs in dependent apps like Office / Settings etc.

Thanks for your help!
Kind regards!
 
Copilot (PWA) App is removable from the install image, unless you're using the free edition of NTLite. There are some stories of IT admins claiming O365 likes to re-install it after it's been removed as part of pushing out Office features.

Jose Espitia has a method for blocking PWA installs on new user accounts.

Try running this script in Post-Setup (Before logon):
Code:
reg load HKU\TEMP C:\Users\Default\NTUSER.dat
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v CopilotPWAPreinstallRetryCount /t REG_DWORD /d 1 /f
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v CopilotPWAPreinstallCompleted /t REG_DWORD /d 1 /f
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v Microsoft.Copilot_8wekyb3d8bbwe /t REG_DWORD /d 1 /f
reg unload HKU\TEMP

UPDATE: Fixed typos in reg commands.
 
Last edited:
Copilot (PWA) App is removable from the install image, unless you're using the free edition of NTLite. There are some stories of IT admins claiming O365 likes to re-install it after it's been removed as part of pushing out Office features.

Jose Espitia has a method for blocking PWA installs on new user accounts.

Try running this script in Post-Setup (Before logon):
Code:
reg load HKU\TEMP C:\Users\Default\NTUSER.dat
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v CopilotPWAPreinstallRetryCount /t REG_DWORD /d 1 /f
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v CopilotPWAPreinstallCompleted' /t REG_DWORD /d 1 /f
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v Microsoft.Copilot_8wekyb3d8bbwe' /t REG_DWORD /d 1 /f
reg unload HKU\TEMP
Thanks for your answer - this feature is one of many reasons why we purchased a NTLite license.
I also did your registry changes with a post setup script.

Sadly for some (not all) new local users copilot gets embedded in the start menu.
Its also already installed - if you click on it you dont see any loading bar like for some other apps which get loaded from the store.
I did not install any Office versions yet.

How can i fix this and remove copilot completly?
 
Looks good, I created 5 Users, none of them got Copilot. I imported following regkey:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
"DisableCloudOptimizedContent"=dword:00000001

Plus I took your Registry Workaround from above:
reg load HKU\TEMP C:\Users\Default\NTUSER.dat
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v CopilotPWAPreinstallRetryCount /t REG_DWORD /d 1 /f
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v CopilotPWAPreinstallCompleted /t REG_DWORD /d 1 /f
reg add "HKU\TEMP\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoInstalledPWAs" /v Microsoft.Copilot_8wekyb3d8bbwe /t REG_DWORD /d 1 /f
reg unload HKU\TEMP

Just as a hint, there was an extra ' on the registry values, which I think should be removed from your suggestion above.
 
Back
Top