Share via


Start menu doesn't work when clicked

Question

Friday, December 16, 2016 3:05 PM | 1 vote

We have several now even different hardware models that the start menu stops working under any login. Yes we can reimage them but I was wondering if there was a faster fix. Of course I've googled it and the get-appackage fix on may pages just doesn't work. Has anyone else seen this

Jason

All replies (28)

Friday, December 16, 2016 4:29 PM | 1 vote

Hello,

See if this registry fix helps you:

http://www.kapilarya.com/fix-start-button-not-working-in-windows-10

Hope this helps, Good luck!

Microsoft MVP (Windows and Devices for IT)

Windows Insider MVP

Windows Help & Support [www.kapilarya.com]


Friday, December 16, 2016 4:37 PM | 1 vote

Worth a try but same issue.

Thanks

Jason


Saturday, December 17, 2016 4:51 AM | 1 vote

Has anyone else seen this

Not lately but it was common during the previews.  My workaround then was to use Narrator to help navigate through stuff which was supposedly there but just not being rendered properly.  Eventually by doing sufficient navigation this way the Start Menu magically started showing itself without having to resort to such workarounds.  FWIW I was imagining that it was taking it that long to cache the XAML.  I don't think hardware had much to do with it. 

Later versions still have an occasional problem showing the Start Menu but there are easier workarounds for those instances.  E.g. for them it seems to be a probabilistic thing, fortunately with one near 0 not 1.  Unfortunately I don't think anyone has found a way to reproduce it to MS satisfaction for fixing it.

Note that there are known hardware related issues which theoretically could cause your symptom.  E.g. in particular some machines seem to be prone to misidentifying the primary screen and then not rendering what should be seen on the monitor being viewed.  Consequently, imagine this for your case:  you are pressing (and releasing) Win- (or Ctrl-Esc) on a secondary monitor of an Extended Display where the Taskbar can be shown.  Result:  No Start Menu there.  It would be rendered only on the "primary monitor" phantom or not.  This would be a good test for Narrator.  E.g. it would tell you what it was seeing whether you could see it or not.  Another consideration for assessing this scenario is: where does keyboard focus go?  Unfortunately I don't have a very good way of showing it but Narrator at least can be made to follow the keyboard focus, so I think it gives us a good hint for that too.

 

Good luck

Robert Aldwinckle


Monday, December 19, 2016 1:59 AM | 1 vote

Hi ,

Considering get-appackage command does not work for you, I suggest use the command “sfc /scannow” to repair the system files.

Then we could use DISM Command:
I) Press Windows + x on your keyboard.
ii) Select Command prompt (Admin) to open Administrator Command Prompt.
iii) In the Administrator: Command Prompt window, type the following commands. Press the Enter key after each command:
dism.exe /online /cleanup-image /scanhealth 
dism.exe /online /cleanup-image /restorehealth

If these steps don’t work, I suggest that we could try create a new account to check.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, December 20, 2016 1:33 PM | 1 vote

I've tried all of those.

Jason


Tuesday, December 20, 2016 4:04 PM

I've tried all of those.

Help us help you.  You aren't giving enough detail about what you are seeing (or hearing, if using Narrator).  Remember, your words have to substitute for what our eyes might notice.

Robert Aldwinckle


Tuesday, December 20, 2016 6:22 PM

No problem, I've run the SFC/Scannnow and DISM commands, they all complete with no errors but don't fix the start menu. I found some sort of start menu repair utility from Microsoft. It finds this  "Microsoft.Windows.ShellExperienceHost" and "Microsoft.Windows.Cortana" applications need to be installed correctly error is the problem?

But the commands to fix this as I've found:

Get-AppxPackage Microsoft.Windows.ShellExperienceHost | Foreach {Add-AppxPackage -DisableDeDisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Get-AppxPackage Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

They run but don't appear to do anything they just return the prompt to the next line as if they have not actually installed anything .

Jason


Tuesday, December 20, 2016 10:03 PM

They run but don't appear to do anything they just return the prompt to the next line as if they have not actually installed anything .

I think when you give  Get-AppxPackage  an argument the  Foreach  becomes superfluous. 

Oh.  In fact, there is a typo in the first one.  Did you not get any error messages?

Here's another way to represent the processing that you want to be done.  Take off the -whatif if you want to make it actually do something.  However, I suspect that that is the only feedback you can expect from these syntaxes (after you get all of the "syntax errors" dealt with).

PS>$appslist = ("Microsoft.Windows.ShellExperienceHost", "Microsoft.Windows.Cortana")
PS>$appslist | Foreach {$IL = (Get-AppxPackage -Name $_ | select InstallLocation | Out-string); $ILLL = ($IL -Split " " | select -Last 1).Trim(); $RL = "$ILLL\AppXManifest.xml";  Add-AppxPackage -DisableDevelopmentMode -Register "$RL" -whatif }

Good luck

Robert Aldwinckle


Wednesday, December 21, 2016 2:03 PM

Right I don't get any error messages it just moves quickly to the next line. For your commands I get the below errors it seems to be looking for an xml file on the c drive that isn't there.

Add-AppxPackage : Cannot find path 'C:\AppXManifest.xml' because it does not exist.
At line:1 char:177

  • ... fest.xml";  Add-AppxPackage -DisableDevelopmentMode -Register "$RL" - ...
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Add-AppxPackage : Cannot find path 'C:\AppXManifest.xml' because it does not exist.
At line:1 char:177

  • ... fest.xml";  Add-AppxPackage -DisableDevelopmentMode -Register "$RL" - ...
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Jason


Thursday, December 22, 2016 3:36 PM

seems to be looking for an xml file on the c drive that isn't there.

You can break it down one step at a time to try to see what is happening. Here is Stage 1:

$appslist | Foreach {$IL = (Get-AppxPackage -Name $_ | select InstallLocation | Out-string); $IL}

Stage 2 is just a way of extracting the InstallLocation from the results of Stage1.  There should be a PowerShell syntax which could extract it properly but I couldn't figure out what it was and got fed up with battling PS's unhelpful messages, so I resorted to editing string output.   Did you see that I had to add a Trim() function to it?  Perhaps you were looking at my first version.  But if that's the case I have no idea how your $ILLL variable got to be just  C:  I think you probably have something wrong that needs to be repaired and that will explain your symptoms with both methods of trying to register these packages.

HTH

Robert Aldwinckle


Thursday, December 22, 2016 4:25 PM | 1 vote

How about this way?  And do a similar thing for the other one.

$cortana = get-appxpackage microsoft.windows.cortana

$cortana

$manifest = $cortana.installlocation + "\appxmanifest.xml"

$manifest

add-appxpackage -disabledevelopmentmode -register $manifest

$?


Thursday, December 22, 2016 4:41 PM

I get this

PS C:\Windows\system32> $cortana = get-appxpackage microsoft.windows.cortana
>>
>> $cortana
>>
>> $manifest = $cortana.installlocation + "\appxmanifest.xml"
>>
>> $manifest
>>
>> add-appxpackage -disabledevelopmentmode -register $manifest
>>
>> $?
\appxmanifest.xml
add-appxpackage : Cannot find path 'C:\appxmanifest.xml' because it does not exist.
At line:9 char:1

  • add-appxpackage -disabledevelopmentmode -register $manifest

    + CategoryInfo          : ObjectNotFound: (C:\appxmanifest.xml:String) [Add-AppxPackage], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

False

Jason


Thursday, December 22, 2016 4:42 PM

Yea I juts can't figure out that it is that needs repairing. If it was just the one machine I'd reimage it but its starting to happen to more and more of them so I'm trying to find a fix thats quicker then reimaging all of them

Jason


Thursday, December 22, 2016 5:14 PM

Yeah $cortana should look like this:

Name              : Microsoft.Windows.Cortana
Publisher         : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : Neutral
ResourceId        : neutral
Version           : 1.4.8.152
PackageFullName   : Microsoft.Windows.Cortana_1.4.8.152_neutral_neutral_cw5n1h4txyewy
InstallLocation   : C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy
IsFramework       : False
PackageFamilyName : Microsoft.Windows.Cortana_cw5n1h4txyewy
PublisherId       : cw5n1h4txyewy
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False

Did you delete C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy ?


Thursday, December 22, 2016 6:21 PM

 can't figure out what it is that needs repairing.

Is it the Get-AppxPackage  command that's the problem?

Get-AppxPackage   | sort |  ft Name, InstallLocation  -AutoSize

E.g. maybe it isn't just Cortana and ShellExperienceHost  that show this symptom of either not being listed or having a blank InstallLocation.

Robert Aldwinckle


Thursday, December 22, 2016 7:42 PM

No C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy is still there

Jason


Thursday, December 22, 2016 7:43 PM

No that command Get-AppxPackage   | sort |  ft Name, InstallLocation  -AutoSize seems to work and brings up a list of apps Not the Shell Experience or Cortana.

Jason


Thursday, December 22, 2016 7:47 PM

Not sure if its relevant or part of the same problem but on the effected machines I can't get into Windows settings. Of course the start menu not working I'm trying it from start run and ms-settings:home. On my PC it works but on effected ones I get and error that says Install failed, please contact your software vendor. If I right click on the desktop and select personalize the error is. "this file does not have a program associatd with it...

Jason


Thursday, December 22, 2016 8:34 PM

No C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy is still there

So maybe you should try ignoring all the fancy syntax and just enter what the result of it would be.

PS>(Get-Help Add-AppxPackage).Syntax

Add-AppxPackage [-Path] <String> [-DependencyPath <String[]>] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-InstallAllResources] [-Volume <AppxVolume>] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-AppxPackage [-DependencyPackages <String[]>] [-ForceTargetApplicationShutdown] [-InstallAllResources] -MainPackage <String> [-Confirm] [-WhatIf] [<CommonParameters>]

Add-AppxPackage [-Path] <String> [-DependencyPath <String[]>] [-DisableDevelopmentMode] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-InstallAllResources] -Register [-Confirm] [-WhatIf] [<CommonParameters>]

Add-AppxPackage [-Path] <String> [-DependencyPath <String[]>] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-InstallAllResources] -Update [-Confirm] [-WhatIf] [<CommonParameters>]

So, since the first, only required argument, is a string, I think what we get from that is that the original syntax could be replaced by (in Cortana's case)

Add-AppxPackage "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml" -disabledevelopmentmode -register

What does that do?

Robert Aldwinckle


Thursday, December 22, 2016 10:21 PM

It gets this

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CF9)
NOTE: For additional information, look for [ActivityId] 3c29ff52-5c69-0001-5f41-2a3c695cd201 in the Event Log or use
the command line Get-AppxLog -ActivityID 3c29ff52-5c69-0001-5f41-2a3c695cd201
At line:1 char:1

  • Add-AppxPackage "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n ...

    + CategoryInfo          : WriteError: (C:\Windows\Syst...ppxmanifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Jason


Thursday, December 22, 2016 10:39 PM

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed.

Did you forget the -Register switch?

PS>Add-AppxPackage "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml" -whatif
What if: Performing the operation "Deploy package" on target "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml".
PS>Add-AppxPackage "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml"-disabledevelopmentmode -register  -whatif
What if: Performing the operation "Register package" on target "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml".
PS>net helpmsg (0x3CF9)

Install failed. Please contact your software vendor.

Robert Aldwinckle


Thursday, December 22, 2016 10:55 PM

Shouldn't it be this?

Add-AppxPackage -register "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml"
 -disabledevelopmentmode

Friday, December 23, 2016 2:44 AM

Shouldn't it be this?

Add-AppxPackage -register "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxmanifest.xml"
 -disabledevelopmentmode

Having the switch first seems to be the way that it is used most frequently in posted examples but is not the way that I read the syntax description.  I suspect a  -whatif  with either syntax will show a message about  Register  (not Deploy).  So similarly, if there is an error when a -whatif is not used I would expect any error messages to refer to that operation instead of the other (e.g. not the Deploy etc. that Jason gave us in his example).   ; )

Robert Aldwinckle


Tuesday, December 27, 2016 5:10 PM

Yes I'm using it exactly as you recommended

PS C:\Windows\system32> Add-AppxPackage -register "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h4txyewy\appxman
ifest.xml" -disabledevelopmentmode
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CF9)
The parameter is incorrect.
NOTE: For additional information, look for [ActivityId] 3c29ff52-5c69-0002-0a4e-443c695cd201 in the Event Log or use
the command line Get-AppxLog -ActivityID 3c29ff52-5c69-0002-0a4e-443c695cd201
At line:1 char:1

  • Add-AppxPackage -register "C:\Windows\SystemApps\Microsoft.Windows.Co ...

    + CategoryInfo          : WriteError: (C:\Windows\Syst...ppxmanifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Jason


Tuesday, December 27, 2016 7:34 PM

For additional information, look for [ActivityId] 3c29ff52-5c69-0002-0a4e-443c695cd201 in the Event Log or use
the command line Get-AppxLog -ActivityID 3c29ff52-5c69-0002-0a4e-443c695cd201

Any clues from that?  Actually what I would do is  Get-AppxLog -All | clip  and then open Notepad to Paste the whole thing in--in case there would be more clues from other event failures. 

In fact what I would do is run ProcMon to capture what is happening.  E.g. its registry and file system events would supplement whatever the defined logging is supposed to tell us.  E.g. you have told us that the target directory is there but maybe there is something wrong with its manifest.xml file?  Or maybe the manifest points to something that is missing or has a permissions problem?  Etc.

Good luck

Robert Aldwinckle


Sunday, April 30, 2017 7:10 PM

Did you ever find a fix for this?  We are in the same boat.  About 10% of the PCs we upgrade to Anniversary Update end up with this problem.  Cortana, ShellExperienceHost and ImmersiveControlPanel are completely broken.  They are completely absent from the list generated by the command get-appxpackage -all.  On a healthy PC, all 3 can be seen listed in the output from this command.

I've tried reinstalling using this command:

Add-AppxPackage -DisableDevelopmentMode -Register C:\WINDOWS\SystemApps\ShellExperienceHost_cw5n1h4txyewy\AppxManifest.xml

But, like you, I get this error:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CF9)


Monday, May 15, 2017 9:49 AM

If anyone's still having this problem, this is what fixed it for us:

Delete the stale entries after taking backup at :
HKLM\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\UpdatedApplications\
(All Subkeys)

You can do this with the following Powershell command:

Remove-Item HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\UpdatedApplications\****

Many thanks to ESCuk for finding this


Thursday, August 24, 2017 12:49 PM

Hi,

When I press the start button, the following error appears 

CRITICAL ERROR

Your Start menu isn't working. We'll try to fix it the next time you sign in.

And then asks me to sign out.

Will the above command solve this issue?

I have tried Powershell commands and nothing happens. Forgot to add, i have upgraded my system to Windows 10.

Thanks