Long Story Short. Creators update broke my start menu. I tried to fix it, see below and failed. Attempting to run the OOBE killed windows. I pulled the SSD from my PC and copied files that I wanted to keep and then returned it to my dead PC. I then loaded Windows boot media and deleted all the partitions on the SSD. Installed Win 10. Start menu works (small yay!). Win 10 immediately wants to update - it updates to creators update. Once again the start menu stops working. I attempt a repair windows... fail. Back to where I started immediately prior to deleting the SSD.
The rest of the story:
My PC finished updating to Win 10 creators update: 1703 15063.483 and now I am unable to:
TL;DR:
I am running Win10 Pro on a Dell Optiplex 9020. Based on information that I have found in various forums I have tried the following without success:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
net user newUserName newUserPW /add
sfc /scannow
The new user profile that I created has the same problem and I have rebooted the PC many times using the following command to disable hibernation: powercfg /h off
.
I have also reviewed these posts, which are basically the same problem but (annoyingly) none of the solutions work for me:
It seems like I'm running out of options before having to reinstall Windows - dreading that thought :-( I have applications that will be very difficult to re-install.
Appreciate any insights, thanks :-)
Edit1: I have now also tried system restore which apparently rolled back to 'yesterday' but made no difference. I subsequently booted into safe mode with networking. Whilst in safe mode the Win button works as expected, both with the mouse and keyboard. Rebooting normally and the issue reappears. Drivers?
Edit2: Stumbled across the Microsoft Start Menu Trouble shooting tool and found that, apart from only running from cmd prompt / powershell as admin, that it reports the following:
Required applications are not installed correctly. Not fixed "Microsoft.Windows.ShellExperienceHost" and "Microsoft.Windows.Cortana" applications need to be installed correctly.
This led me to an an article Windows 10 start up menu how to reinstall ShellExperienceHost, Cortana? which purports to be a way of reinstalling said applications. But it does NOT work for me. I feel like I am getting closer!
One user (@Vlad Schnakovszki) seems to have similar issues as reported here: Windows 10 ShellExperienceHost crashes but links to a tool with a rather dubious name: http://www.tweaking.com/content/page/windows_repair_all_in_one.html
I'm not sure I've been through enough pain yet to put my faith in tweaking.com :-/
Edit3: Tried to run the Start Menu Repair tool in safe mode, that does not work because the 2 services in question can't start in safe mode. Have also tried shutting down (hibernate disabled) then unplugging the PC then pressing the power button until it exhausts all the residual power from the MB - and rebooting (another fail). Currently looking here https://www.kapilarya.com/fix-microsoft-windows-shellexperiencehost-and-microsoft-windows-cortana-applications-need-to-be-installed-correctly-windows-10 and it seems promising in that system went from reparable to healthy
Powershell output...
PS C:\WINDOWS\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
PS C:\WINDOWS\system32> ^C
PS C:\WINDOWS\system32> Repair-WindowsImage -Online -CheckHealth
Path :
Online : False
ImageHealthState : Healthy
RestartNeeded : False
PS C:\WINDOWS\system32> Repair-WindowsImage -Online -ScanHealth
Path :
Online : False
ImageHealthState : Repairable
RestartNeeded : False
PS C:\WINDOWS\system32> Repair-WindowsImage -Online -RestoreHealth
Path :
Online : False
ImageHealthState : Healthy
RestartNeeded : False
PS C:\WINDOWS\system32> Repair-WindowsImage -Online -ScanHealth
Path :
Online : False
ImageHealthState : Healthy
RestartNeeded : False
Edit4: Still not working. After reboot running Powershell: Repair-WindowsImage -Online -ScanHealth
to see if the system still seems healthy (see edit3 report went from Repairable to Healthy after running Repair-WindowsImage -Online -RestoreHealth
. Latest scan after a reboot suggests that the system is still healthy but the start button still does not work and Start Menu Repair tool is still unable to fix the issue. I guess I am 1 step closer to tweaking.com
Edit5: Downloaded the tweaking program via Major Geeks. Ran the fixes multiple times in 'Safe Mode with Networking' (but to no avail, at least not for the Start Menu issue). Then ran tweaking while logged in as Admin in normal mode; again multiple times. Start Menu is still not working.
Edit6: Attempted proposed solution by cybernard but to no avail (see comments below). Start Menu is still not working.
Edit7: Found a thread explaining a similar issue with MS Edge not working after Creators Update: https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-msedge/edge-not-running-on-creators-update/cb57b694-3664-4265-af24-e6c03c81687c Attempted the solution (delete everything including folder here: C:\Users\%username%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
in safe mode, run get-appXPackage... command in PS while logged in normally) and restarted but Start Menu is still not working.
Edit8: Found a thread providing a solution for MS Edge not working: https://www.kapilarya.com/fix-windows-store-cache-may-be-damaged-in-windows-10 Despite that I have the exact same issue as addressed by the article (Windows Store cache may be damaged Not fixed) still no luck for me. It's looking more and more like a wait and hope OR windows in place update?
Edit9: 'Partially' following the advise of @cybernard I deleted what I could from C:\Users\<username>\AppData\Local\TileDataLayer\Database\
and then ran: PS C:\windows\system32\sysprep>.\sysprep /generalize /oobe
, (in Safe Mode) here is the resulting log file:
2017-07-20 14:15:27, Info SYSPRP ========================================================
2017-07-20 14:15:27, Info SYSPRP === Beginning of a new sysprep run ===
2017-07-20 14:15:27, Info SYSPRP ========================================================
2017-07-20 14:15:27, Info [0x0f004d] SYSPRP The time is now 2017-07-20 14:15:27
2017-07-20 14:15:27, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\windows\system32\sysprep\Panther
2017-07-20 14:15:27, Info [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
2017-07-20 14:15:27, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2017-07-20 14:15:27, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2017-07-20 14:15:27, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2017-07-20 14:15:27, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2017-07-20 14:15:27, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
2017-07-20 14:15:27, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2017-07-20 14:15:27, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2017-07-20 14:15:27, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2017-07-20 14:15:27, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2017-07-20 14:15:27, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2017-07-20 14:15:27, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
2017-07-20 14:15:27, Info SYSPRP spopk.dll:: Sysprep will run on an upgraded OS.
2017-07-20 14:15:27, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
2017-07-20 14:15:27, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
2017-07-20 14:15:27, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
2017-07-20 14:15:27, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
2017-07-20 14:15:27, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2017-07-20 14:15:27, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2017-07-20 14:15:27, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2017-07-20 14:15:27, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2017-07-20 14:15:27, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2017-07-20 14:15:27, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
2017-07-20 14:15:27, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
2017-07-20 14:15:27, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
2017-07-20 14:15:27, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
2017-07-20 14:15:27, Error SYSPRP Package Microsoft.DesktopAppInstaller_1.0.10332.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2017-07-20 14:15:27, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2017-07-20 14:15:27, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2017-07-20 14:15:27, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2017-07-20 14:15:27, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2017-07-20 14:15:27, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
2017-07-20 14:15:27, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2017-07-20 14:15:27, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2017-07-20 14:17:21, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2017-07-20 14:17:21, Info [0x0f004d] SYSPRP The time is now 2017-07-20 14:17:21
Edit10: After finally deleting the files specified I was able to get the OOBE to run. BAD - PC won't boot. Now I have a problem as described here: Can't Reset PC with Win10 & No BIOS Access (except I have BIOS access). Windows recovery is stuck in a loop always returning to a Hello there Let's get a few basic things out of the way. After seeing this screen a few times my heart sank. I have started to follow the advice here: https://answers.microsoft.com/en-us/windows/wiki/windows_10-performance/troubleshooting-windows-8-and-10-failure-to-start/bcf8503c-1b39-4827-9734-a64fef725d0f?tm=1461970966687 specifically running these commands:
But I feel I might just be wasting time now. Time to pull the HDD, back it up and format for a fresh install. Thanks for playing!
Thank you to everyone that chimed in to help, especially cybernard.
I did several more tests trying to resolve this issue and ultimately started pulling out hardware. It turned out that functionality returned after removing a Nvidia NVS-310 dual display port graphics card.
Rest of the story:
Unfortunately I have completely wiped my original OS and now face the challenge of reinstalling all the software I use on a daily basis.
For what it's worth I installed a fresh version of Win10 from a USB that was a few months old. I thought it would be a good idea to disable updates and run the repair tool from Tweaking.com - surprisingly this crippled my system in the same way as Win 10 update did. I checked the update status and there were none - update history was empty. So... it was something on the PC OR the USB.
Decided that perhaps the SSD had died so I found a painfully slow 5400 HDD and loaded windows onto that. Same problem - conclusion: not the SSD.
From there I created a new Win 10 install USB which was based on Build 1703.0 - on the fresh install everything worked, after update PC is crippled again. That's when I turned to hardware.
I pulled half the ram, the extra graphics card, and an extra PCIe NIC - Win 10 works (well, lets not get carried away - start menu was back). A thorough process of trial and error eventually proved that the issue was somehow related to the graphics card.
Here is where you need to be looking: C:\ProgramData\Microsoft\Windows\apprepository and within here is the damaged file StateRepository-Machine.srd
You can install a second of copy of windows in a virtual machine like virutal box and get a new copy from there.
Is it possible, but difficult to use portable apps SQLiteBrowser to open the database file. You might be able to figure out what is wrong and fix it, but maybe not.
Try this delete or rename these files. StateRepository-Machine.srd StateRepository-Deployment.srd
sysprep /generalize /oobe
wait......... Reboot
Windows will go through a bunch of motions including redetecting your drivers and more, but it should generate new files.
For the start menu issue...
run this as admin.
rmdir C:\Users\Default\AppData\Local\Microsoft\Windows\WebCache /s /q
Login with a new user account.
User contributions licensed under CC BY-SA 3.0