You have no restore points, but you have dome something to the OS and you want to get it back to normal without doing a clean install.
@@@@@@@@@@@@@@@@@@@@@@@@
Each Method/step below progresses to the next if the first does not fix any corrupted files that are found, etc.
Have you read this Microsoft information about repairing corrupt system files and errors?
"Use the System File Checker tool to repair missing or corrupted system files"
https://support.microsoft.com/en-us/kb/929833
_________________________________________________
And these eightforums.com Tutorials are very detailed for problems resulting from SFC Scan:
"How to Run "SFC /SCANNOW" Command at Boot or in Windows 8 and 8.1"
http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-windows-8-a.html
Read this Section there in conjunction with the rest of the information they give in above link.
Note
If SFC could not fix something, then run the command again to see if it may be able to the next time. Sometimes it may take running the sfc /scannow command 3 times restarting the PC after each time to completely fix everything that it's able to.
If not, then run the **Dism /Online /Cleanup-Image /RestoreHealth**command to repair any component store corruption,
Repair-WindowsImage -Online -CheckHealthRepair-WindowsImage -Online -ScanHealthRepair-WindowsImage -Online -RestoreHealth
Restart the PC afterwards, and try the sfc /scannow command again.
If still not, then try using OPTION ONE above to run the sfc /scannow command at boot
If still not, then you could do a refresh of Windows 8, or run a System Restore using a restore point dated before the bad file occured to fix it. You may need to repeat doing a System Restore until you find a older restore point that may work.
If still not, then you can use the steps in the TIP box in the OPTION THREE section to manually replace the files that SFC could not fix.
__________________________________________________
"How to Refresh Windows 8 and Windows 8.1"
http://www.eightforums.com/tutorials/2293-refresh-windows-8-a.html
Refreshing your PC goes like this:
- The PC boots into Windows RE (RecoveryEnvironment).
- Windows RE scans the hard drive for your data, settings, and apps, and puts them aside (on the same drive).
- Windows RE installs a fresh copy of Windows.
- Windows RE restores the data, settings, and apps it has set aside into the newly installed copy of Windows.
- The PC restarts into the newly installed copy of Windows.
_________________________________________________
I've scanned my system with system file checker and dism but both didn't report any significant errors. So I assume only OPTION THREE is valid now.
After some time digging with ProcessMonitor I've found the root cause of this creepy ngen behaviour. Registry key HKLM\Software\Wow6432Node\Microsoft.NETFramework\v2.0.50727\NGenService\Roots has been corrupted. It contains keys which are not normally processed by regedit tool but ngen still enumerates values from them:
Do you know any good implementation of registry reader/writer which doesn't relly on registry win32 api or I need manually navigate through registry HBINS trying to fix them?
Note