Corrupted registry

The registry is corrupted. It causes many problems:

+ The computer internal keyboard and mouse (laptop touchpad) is not usable in normal Windows. Device Manager says that is because the registry is corrupted. However when I use Advanced Recovery option they work as usual.

+ mspaint.exe is not working (without any message box or anything)

+ Photos app cannot open ".png" files, also report registry error.

I am quite confident that the computer has no virus.

So I decide to reset the PC before the problem get worse in any way. However it stucks. Not at a particular percent, but the computer stuck after it rebooted, when it done with "Resetting this PC (k%)". I think it ran from 0% to 100%, but I am not sure.

It takes about 3 hours from "Getting started - Preparing... " to "Resetting this PC (100%)", but then I have waited for 7 hours and the screen still hang there. Only the Windows 10 logo and spinning dots.

I choose "Keep my files" option. I find some pages say that I should turn off "Fast startup", but I think that is unrelated because at that point the PC has been resetted. If I hard shutdown the computer it will says "Preparing" then "Undoing changes"...

Now it works almost normally, with the above problems. Because I don't have an external keyboard, please help me as I can't program with osk. Alternatively you can help me resetting the registry only.

|

Hi,

Your concern occurs due to some corruption on your system files. We suggest that you try the methods below and check if it helps.  

Method 1: Perform System File Checker (sfc) scan.  

System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. To perform this, follow the steps on this link. Steps mentioned on the link for Windows 8 and 8.1, will work fine with Windows 10.  

Method 2: Run DISM commands.  

Follow the steps below on how to run the DISM commands:  

  1. Press Windows + X on your keyboard.  

  2. Select Command prompt (Admin) to open Administrator Command Prompt .  

  3. In the Command Prompt, type the following commands. Press the Enter key after each command. 
    dism.exe /online /cleanup-image /scanhealth  
    dism.exe /online /cleanup-image /restorehealth  

Reply to us with the status of your issue. We will be happy to assist you. 

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Result:

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>dism.exe /online /cleanup-image /scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.0

Image Version: 10.0.14393.0

[==========================100.0%==========================] No component store corruption detected.
The operation completed successfully.

C:\WINDOWS\system32>dism.exe /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.0

Image Version: 10.0.14393.0

[========                   14.8%                          ]
Error: 1223

Operation was incomplete because of a cancel request.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

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 found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

The system file repair changes will take effect after the next reboot.

C:\WINDOWS\system32>

After reboot the problem remains. Because "No component store corruption detected." I cancel the next operation.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Regarding your concern, we suggest that you reset your device using the recovery options in Windows 10. To perform this, follow the steps on Reset this PC on this link.

Let us know it goes.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

But I told you I can't reset the PC from my first post.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,


To assist you better, you can follow these 2 options to repair your laptop:

Option 1 - Perform a clean install, but make sure that you backup your files to an external hard drive.

Option 2 - If the Option 1 still failed to work, refer to your local Microsoft Store or to your device manufacturer.

For further queries, feel free to post back.


Regards.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I have reset the computer, by choosing "Remove everything" option in Advanced Recovery screen. Why doesn't "Keep my files" option work?

Some notes:

0. Although the problem is solved now, I think it is not good to reinstall whole Windows while only some keys are corrupted. For some (only those who are experienced with computers) people, "refer to your local Microsoft Store or to your device manufacturer" is even a worse idea.

1. When the computer done, it shows a message with content (approximately) "Your PC have been reset. Some files can't be cleaned. If you are going to sell this PC you should reset it again". I think it should not require user pressing "OK", because after that "Installing Windows" screen appear, which takes time.

2. (For other users who is going to reset the PC) There are two sub-options "Only clear drive which Windows is installed" or "Clear all drives". If you choose option 1 then you don't need to backup to external hard drive.

3. When reset, use compmgmt (Computer Management) to remap disk drive names.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

By the way I notice a (small) bug of Windows 10:

1. Set name of 3 drives to C:, E: and F:. Restart computer.

2. Open F: by Explorer.

3. Use Compmgmt to set F: to D:.

4. It will warn that F: is currently in use, it can still be used until the computer is restarted, meanwhile character F: is not usable. Accept that.

5. Now plug in a USB. It is mapped to drive F: (weirdly)

6. You can't change the character of the USB drive.

Obviously it can be fixed by simply restart the computer, but that is not a good idea.

Another problem is that if you rename a username (account) to another name with same character but different capitalization (for example Name1 and nAmE1) you will need to rename it to a temporary name.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 16, 2021 Views 2,413 Applies to: