Stupidly I have messed with the Windows 10 Reg Key:
ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftCommand Processor following advice I found in this thread (I was suffering the exact issue described using Unity): https://answers.unity.com/questions/1675509/copying-assembly-from-tempunityenginetestrunnerdll.html
Long story short (short as possible!): I cleared the value of ‘AutoRun’ first. Too late I noticed the comment at bottom of his answer warning me of this very problem.
Now when Windows boots I get just a black screen and CMD window. I can type ‘explorer’ in and my computer functions as normal after that.
I have 2 profiles on my PC, the other one works fine. But I navigate to that same key in the working profile and the whole folder didn’t exist in RegEdit. So I tried deleting on my broken profile but this didn’t help. Before I deleted it I tried several values I found online, none of them seemed to have any effect at all.
So I really don’t want to reinstall Windows, or even just delete this User Profile. But I have exhausted my knowledge on the matter and learned never to fiddle with RegEdit again. However since the profile works perfectly except the startup it seems to me there might be a way to still recover from this.
My guess with the limited knowledge I have is that the AutoRun value needs to contain ‘Explorer.exe’ or ‘Startup.exe’ or something like this. Any experts here can help me, I would be very grateful. Many thanks
I also tried the following:
1.sfc /scannow = Windows Resource Protection did not find any integrity violations.
2.Windows>Startup Repair = Could not fix any problems
The answer was to go in Windows 10 > Recover > Open System Restore and follow the steps to rollback to the restore point. I was fortunate that there was a point backed-up as I thought I had disabled this behaviour.