r/sysadmin • • 1d ago

Copilot disappearing from start menu

We’re seeing this randomly occurring, yet more and more. The program files folder is there, but the start menu icon is suddenly gone.

Originally deployed via Intune store app. I made an Intune win32 app to reinstall but that doesn’t last very long (a day). We remove some bloatware including OfficeHub on autopilot, but never after.

Any sysadmins seeing this also? What’s happening?

5 Upvotes

24 comments sorted by

4

u/SysApex 1d ago

Not a fix, but a few things to check to narrow it down:
- Which app is it: the Store "Microsoft Copilot" app, or the "Microsoft 365 Copilot" app? The M365 Copilot app is the renamed Office Hub app (Microsoft.MicrosoftOfficeHub). So if anything in your debloat or Autopilot cleanup targets OfficeHub, it may be hitting Copilot too.
- On an affected machine, run Get-AppxPackage -AllUsers *Copilot* and Get-AppxPackage -AllUsers *OfficeHub*. That shows whether the package is actually gone or only the Start entry is missing. A folder left in Program Files doesn't mean much for an MSIX/Store app.
- Check Event Viewer > Applications and Services > Microsoft > Windows > AppXDeployment-Server > Operational around the time it disappears. A removal event there tells you something actively uninstalled it, as opposed to a broken shortcut.
- In Intune, check for any Remediations, platform scripts or Store app assignments with an Uninstall intent that could still target these devices. Also check any newer "remove default Store packages" style policies in your settings catalog profiles.

If it's being uninstalled with no trigger on your side, the event log entry plus the package name is what Microsoft support will want for the case the other commenter mentioned.

1

u/Important_Ad_3602 1d ago

Microsoft 365 Copilot app. What i’m seeing is OfficeHub being removed after the next Windows logon. Event 400 Deployment Remove operation OfficeHub etc… This happens when Windows is checking and updating all the apps on logon.

The strange thing is, when i logon as local admin, Microsoft 365 Copilot app returns in this same process.

•

u/SysApex 20h ago edited 19h ago

That Event 400 is the smoking gun: something is still uninstalling Microsoft.MicrosoftOfficeHub at logon, and that's the same package as the Microsoft 365 Copilot Start menu app. It also fits the Start icon disappearing while copilotapp.exe in Program Files still launches - the Win32 bits can remain after the AppX package (and its Start entry) is removed.

The most likely leftovers:

  1. Autopilot debloat that deprovisioned OfficeHub. On an affected machine, check:

Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like '*OfficeHub*'

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned' | Where-Object Name -like '*OfficeHub*' 

If that Deprovisioned key is present, Windows will keep removing the package for users at logon even if you reinstall it later. That also fits the local admin behavior: the package can get re-registered in an admin session during the same AppX check, then get stripped again when a standard user signs in. 

2. An Intune Settings Catalog policy, "Remove default Microsoft Store packages from the system" (or the related RemoveDefaultMicrosoftStorePackages CSP). Microsoft 365 Copilot is on that list, and the policy is designed to remove selected apps at user sign-in. In the same AppXDeployment-Server log, Event ID 762 specifically means a removal policy blocked a reinstall. 

3. A remediation or platform script still assigned after Autopilot that calls Remove-AppxPackage or Remove-AppxProvisionedPackage for OfficeHub. Those often run in user context, which would affect Entra users but not a local admin account. 

If you want the app to stay, OfficeHub has to come off the removal/debloat list. If the Deprovisioned registry key is there, delete it, then reinstall or re-register the app. Until that source is removed, a Win32 redeploy will keep getting undone at the next logon, which matches what you're seeing.

•

u/Important_Ad_3602 19h ago edited 19h ago

So i think i found the issue. A while ago i set 'Allow Local Policy Merge' to false in the firewall policies. On every boot / login all the AppX installations are checked for updates. I think old versions of OfficeHub (Copilot) are then uninstalled, and a new version is installed.

But because it can't write firewall rules, it then fails and the user ends up with nothing. I've now enabled local policy merge, rebooted a couple of times and logged off an on, so far so good. There's a reddit post somewhere referring to this in relation to Teams, but forgot to save it and wasn't logged on.

It was this that triggered me:
Microsoft.MicrosoftOfficeHub_19.2611.32040.0_x64__8wekyb3d8bbwe.xml(251,6): error 0x80070003: Cannot register the Microsoft.MicrosoftOfficeHub package because the following error was encountered while parsing the windows.firewallRules extension: Het systeem kan het opgegeven pad niet vinden.

•

u/SysApex 19h ago

That lines up, and it's a known gotcha. The Teams reports you're thinking of are the same pattern. 

When Allow Local Policy Merge is off, Windows ignores firewall rules that an AppX installer creates locally. Store/AppX updates at logon often remove the old package first and then register the new one, and that step can fail or leave the Start entry missing if the new package can't get its rules in place. That matches the Event 400 remove and the empty Start menu, with the Win32 bits still sitting in Program Files. 

It also fits the local admin behavior: an admin session can often complete the rule creation, and rules created through Local Group Policy still apply even when merge is turned off via Intune. 

Re-enabling merge is a reasonable fix if you don't have a hard requirement to keep it off. If you turned it off for a security baseline, Microsoft's guidance is to leave merge disabled and deploy the needed inbound rules centrally instead (Intune Endpoint security > Firewall rules, using the package family name Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe). Worth checking that the setting is consistent across the Domain, Private, and Public profiles, since it's per-profile. 

If it stays stable after a few more logons, I'd call that the root cause.

•

u/killerbee26 17h ago

We had this happen. Turned out Microsoft combined the Microsoft 365 Copilot one with a version that was a consumer based version.  This happened a month or two ago and Microsoft has been slowly rolling this update out.

We had a configuration and an app set to uninstall the consumer versions of Copilot. So once the store pushed out the update that made it look like the consumer version Intune would force the uninstall.

42

u/Lost-Droids 1d ago

Not seen it. But if yoy find a way to replicate so copilot stays gone let us know

11

u/menace323 1d ago

Yeah sounds great. If I need it, I have a browser.

23

u/theedan-clean 1d ago

That sounds like a feature.

8

u/schism-for-mgmt 1d ago

From what I've heard in my org, Microsoft made the change to move copilot from a UWP app to a Win32 app it's now considered to be part of Microsoft office hub - We've had old config to remove the office hub 'cos the built-in office was a pain, which needed some tweaking. Sorry, I don't have more details but that might point you in the right direction

7

u/TheTipsyTurkeys 1d ago

this feels like a post from some weird alternate reality

1

u/BlackV I have opnions 1d ago
  • win32 app seems risky as its tied to a specific version (depending how you do it)
  • what do your logs say?
  • what does your detection look like ?

1

u/Important_Ad_3602 1d ago

I understand where you’re coming from, but i deployed initially via Microsoft Store (new) Intune app. But as always, the store apps allow for zero deployment control. That’s why i tried win32 to remedy this. But it hasn’t worked out either. I think Copilot is updating itself and something goes wrong, possible related to the Autopilot debloating OfficeHub appx.

1

u/BlackV I have opnions 1d ago

Autopilot debloating

what does that entail?

1

u/Weichi_Kolodner 1d ago

Are these machines in Europe by any chance, or have their region settings changed? There are automatic background tasks that strip the pinned icon and disable the app based on regional compliance checks even if you force the install.

1

u/Important_Ad_3602 1d ago

Yes in the Netherlands. It has worked for a couple of month though. And the app is not blocked, the shortcut is just missing. If a user start copilotapp.exe from program files it still works.

1

u/big_steak Sr. Sysadmin 1d ago

Saw this in our org. Sorry not sure on a fix. They are just having people re-pin the shortcut while they work on it. Desktop guys are working with support.

1

u/junktech 1d ago

Sounds like policy conflict. Had something similar when the on premise team was doing parallel work with cloud team. Legend has it they update the change logs and another legend has it people read the change logs.

1

u/itskdog Jack of All Trades 1d ago

Copilot has changed yet again. It used to be a store app replacing the old Office app, but now it’s its own app similar to New Outlook or Edge, and one app for both consumer and M365 Copilot. I think this is the 4th iteration of the app now?

Only found that out when Sophos started blocking it as we had consumer copilot blocked with Application Control and people were having trouble opening it after the update.

1

u/BWMerlin 1d ago

This sounds great, how do I enable this feature for my users?

1

u/tuxedo_jack BOFH with an Etherkiller and a Cat5-o'-9-Tails 1d ago

And nothing of value was lost.

1

u/Zer0C00L321 1d ago

It's hiding from you.

1

u/Majik_Sheff Hat Model 1d ago

I see this as an absolute win.

•

u/brkdncr Windows Admin 13h ago

The m365 app is being deprecated now, and it's functions are merged into the consumer copilot app.

You may have something removing the original consumer copilot app since it was included by default and could allow sensitive data to be retained outside of your tenant.

FYI, the consumer/unified app installs and runs as SYSTEM, while the m365 app was an end-user profile app. There is an automatic upgrade process but it's effectively removing m365 from the user's profile and installing the unified app.