it took me 2 days of searching for this answer and it worked the first time I did it.
My history with this issue goes back to april 2018 update to version 1803.
This answer is what I was looking for as my hard drive was failing at the time, I cloned my drive to a new HDD and fixed most of the issues but the update would fail everytime. After installing the update to 1809 from an ISO mount to a drive the black screen
would appear with the mouse cursor after login but nothing else even the Task Manager would not seem to start.
I restarted in safe mode with command prompt and after login the only thing that started was the command prompt window the desktop did not start.
I tried to start Task Manager and after 10 minutes the Task Manager appeared but was slow as hell and stopped responding. I was able to see explorer.exe had started twice, and I could start other programs that did not rely on Windows API or the system to
run, they started up right away no delay at all. This lead me to try the method posted here.
My conclusion is that at least 1 of the 6 files had been corrupted when my old HDD had started to fail as there where a bunch of other files that had been corrupted at the time SFC.exe had reported that much and after replacing them by copying them from
my laptop my PC would boot and 99.9% of the issues were gone but the update to 1803 would fail.
After applying this fix my PC now works as if nothing had ever happened and all remaining issues were resolved.
What I did was to create a batch file and put it into the root directory of my system drive, reboot into recovery mode > command prompt the changed the current drive and searched the root directory untill I found the root directory that contained the batch
file I created "updatefix.cmd" and then ran the batch file and restarted my PC into normal mode and everything started properely.
My batch file is the following lines of code:
cd "ProgramData\Microsoft\Windows\AppRepository"
ren "StateRepository-Deployment.srd" "StateRepository-Deployment-Corrupted.srd"
ren "StateRepository-Deployment.srd-shm" "StateRepository-Deployment-Corrupted.srd-shm"
ren "StateRepository-Deployment.srd-wal" "StateRepository-Deployment-Corrupted.srd-wal"
ren "StateRepository-Machine.srd" "StateRepository-Machine-Corrupted.srd"
ren "StateRepository-Machine.srd-shm" "StateRepository-Machine-Corrupted.srd-shm"
ren "StateRepository-Machine.srd-wal" "StateRepository-Machine-Corrupted.srd-wal"
2 days of searching? how about nearly 2 years?!!! I wish I'd found this back last October when you posted it, but there's SO MUCH rubbish out there about simply launching task manager, which of course, never starts.
This is the only solution, and I can't believe Microsoft haven't implemented it as a fix themselves. I didn't bother creating a batch file, just did the renames manually after booting into command prompt (for those that don't know, just click the power icon
from the bottom right of the sign-in screen, then HOLD SHIFT while clicking restart. I keep holding shift until the blue screen appears, then click Troubleshoot and then command prompt).
I was amazed when I then typed 'exit' on command prompt, then continue to Windows 10 and it rebooted and when I logged in I was presented with all the new setup options regarding Cortana Voice, Location, Privacy, etc. I knew this was going to be good, then
- STRAIGHT BACK INTO MY DESKTOP with an updated working Windows 10 1803 - FINALLY!!!
Thank you so much!
Now to update to 1903, wish me luck!