Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Critical Error – Start Menu and Cortana Aren’t Working

0.00/5 (No votes)
10 Jan 2016 1  
Critical Error – Start Menu and Cortana aren’t working

Introduction

In the middle of December of 2015, I got a message informing me that Cortana and Start Menu of my Windows 10 stopped working. The message looked as follows:

So, after a couple of minutes, I found a solution, but I have to apply it in several steps:

  1. The commandlet sequence must be executed with elevated rights.
  2. The following script doesn't run as expected on my machine:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode 
	-Register "$($_.InstallLocation)\AppXManifest.xml"}
And a simple solution turned into a sophisticated one. Unfortunately, I don't remember all the errors that occured during scripts execution, but the thing is... a variable $_.InstallLocation was undefined. So, I rewrote script as follows:
   $manifest=(Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml'
   Get-AppXPackage -AllUsers | Foreach {
      Add-AppxPackage -DisableDevelopmentMode -Register $manifest
   }
Finally it worked. So I restarted my computer and noticed that Start Menu is working. I almost forgot about this error 'til a day before yesterday: it happened again! I just gather all the commands in one script and placed it on the desktop. So if one might find it useful, I attach an archive of the script.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here