Logo

Repairing or rebuilding the WMI Repository

There are times when the WMI Repository gets corrupted which results in the Provider Load Failure. To resolve this issue, you need to repair or rebuild the WMI Repository in your Windows 10 computer. In this post, you will be guided on how exactly you can do that.

In case you don’t know, the WMI which stands for Windows Management Instrumentation is a set of specifications from Microsoft to consolidate the management of devices and applications in a network. The WMI is a database that stores meta-information and definitions for WMI classes. Using only these, the conditions of the systems can be known.

You can find the WMI Repository in %windir%System32WbemRepository. It provides end-users with the status of the local or remote computer system. Keep in mind that you must not use this on the Server 2012 Cluster machine.

Although there are command-line tools that can fix or restore the Windows Management Instrumentation repository. However, Microsoft suggests that it’s better if you verify if there is corruption. Here are a list of errors as well as permission issues you might encounter:

  • Unable to connect to root default or rootcimv2 namespaces. It fails with the error code “0x80041002” pointing to “WBEM_E_NOT_FOUND.”
  • 0x80041010 WBEM_E_INVALID_CLASS
  • When you open Computer Management and Right Click on Computer Management (Local) and select Properties, you get the following error: “ WMI: Not Found” or it hangs trying to connect
  • Trying to use wbemtest , and it hangs
  • Schemas/Objects missing
  • Strange connection/operation errors (0x8007054e)

To verify if there is corruption, you can try running the following command in an elevated Command Prompt:

winmgmt /verifyrepository

 After you enter the command, if there is a response saying, “repository is not consistent”, then the repository has an issue. If not, then something else is causing the problem. Since you are certain that corruption exists in the WMI repository, then here are some suggestions you need to check out to repair or rebuild the WMI repository.

Option 1 – Try to reset WMI Repository

  • Type “command prompt” in the Start Search and right-click on Command Prompt from the search results and then select “Run as administrator”.
  • After opening Command Prompt with admin privileges, type and enter this command: winmmgmt /salvagerepository

The command you entered is used when the winmmgmt command performs a consistency check. So if an inconsistency is detected, it will rebuild the repository.

  • Next, execute this command to see if the WMI repository now comes back as consistent: winmgmt /verifyrepository

This command will perform a consistency check on the WMI repository.

  • If it states that the WMI repository is not consistent, then you need to type and enter this command: winmgmt /resetrepository

This command is used to reset the repository to its initial state when the operating system was first installed.

Option 2 – Try to force recover the WMI Repository

The WMI Repository comes with a built-in self-recovery process so when the WMI service restarts or detects any corruption, it will automatically trigger the self-recovery procedure. This can happen in two ways:

  • AutoRestore: This will use the backup images if the Volume Shadow copy or VSS backup is turned on.
  • AutoRecovery: The rebuilding process will generate fresh images of the WMI repository based on the registered MOFs. The MOFs are available in the registry located at HKLMSoftwareMicrosoftWBEMCIMOM: Autorecover MOFs

Note: Autorecover MOFs is a key so double click on it to check its value.

On the other hand, if the self-recovery procedure does not work, you can try to use the force-recovery process instead. How? Refer to these steps:

  • First, you need to check the reg key value is empty or not under this registry path: HKLMSoftwareMicrosoftWBEMCIMOMAutorecover MOFs
  • If the reg key value is empty, you have to copy-paste the reg key value from another computer. Just make sure that it’s from the System which is equivalent to the computer in question.
  • Next, type and enter this command: Winmgmt /resetrepository
  • After you enter the command, if you get an error that says, “WMI repository reset failed. Error code:0x8007041B. Facility: Win32”, then you have to stop all the Dependency Services on the WMI service by running the following commands:
    • net stop winmgmt /y
    • Winmgmt /resetrepository

This should fix the problem.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

VirtualBox FATAL:No bootable medium found!
If you continuously encountered the “VirtualBox FATAL: No bootable medium found, System halted” error when you try to install Windows 10 in VirtualBox, read on as this post will give you some potential fixes to resolve the problem – you will be guided on how to choose the ISO image to fix this error in VirtualBox. This kind of error is a very common one especially if you have a corrupted ISO file or if you have not selected an ISO file for your virtual machine. Like pointed out, this error pops up when you have a corrupted ISO file or if the ISO file is not attached to the virtual machine. You have to select the ISO file while you create the virtual hard disk, else, you will most likely face this problem, and to fix it, you need to download fresh Windows ISO, create a new IDE Controller, assign Windows ISO to the IDE Controller and then boot your virtual machine. For detailed steps, follow the instructions below but before you start, make sure that you have a valid and uncorrupted Windows ISO. Step 1: First, you need to open the VirtualBox program on your computer and select the virtual machine. Step 2: Next, click on the Settings button or you can also right-click on the virtual machine and select Settings from the context menu. Step 3: Once you’re in the Settings panel, go to the Storage section and from there, create a Controller: IDE. Step 4: To create a Controller: IDE, click the Add new storage controller icon and select the “Add IDE Controller” option. Step 5: After that, click the Add optical drive icon and click on the Choose disk button. You will then see all the attached and non-attached ISO files. However, you have to add the new ISO file that you just downloaded. Step 6: To add the new ISO file, click the Add button and select the ISO file and then select the .iso file from the Non Attached section. Step 7: Now click the Choose button and afterward, make a checkmark in the Live CD/DVD checkbox and then select the IDE Primary Master from the drop-down menu of the Optical Drive. Step 8: Once you’re done, save the changes made and try booting into your virtual machine again.
Read More
Onscreen keyboard becomes transparent
If you suddenly noticed that your Onscreen keyboard in Windows 10 has become completely white or transparent for some reason, then you’ve come to the right place as this post will guide you on what you can do to resolve this kind of issue in your computer. As you know, the on-screen keyboard is included in Windows 10 and has an executable file named “osk.exe”. The on-screen keyboard is a part of the Ease of Access feature in Windows 10 which allows users to navigate the computer with the help of the mouse instead of the physical keyboard. However, there are times when you might encounter some issues when using the on-screen keyboard. One of the issues reported recently is that the on-screen keyboard becomes transparent or it only displays the borders but there is no way for you to access it. You also won’t be able to move it from the view completely. To fix this problem, there are several suggestions you can check out. You can try to check the Fade button or run the Windows Touch Keyboard troubleshooter. You can also restart its process in the Task Manager. For more details, refer to each one of the given options below.

Option 1 – Try to check the Fade button

The first thing you can do is to check the Fade button on the on-screen keyboard. You can find it at the bottom right corner of the keyboard. If it is enabled, then it’s probably the reason why your on-screen keyboard is transparent as it lets it fade in the background. Thus, you have to disable it to resolve the problem.

Option 2 – Try to run the Windows Touch Keyboard troubleshooter

The next option you can check out is running the Windows Touch Keyboard troubleshooter. This troubleshooter will help you identify the problem and would fix them automatically.

Option 3 – Try to restart the process of the on-screen keyboard via Task Manager

The next thing you can do is to restart the on-screen keyboard’s process in the Task Manager. Just follow the steps below.
  • First, tap the Ctrl + Shift + Esc keys to open the Task Manager.
  • Next, go to the Processes tab and look for the option that says, “Accessibility On-screen Keyboard”.
  • Once you found it, click on the drop-down arrow next to it and right click on the “On-screen Keyboard” option, and select End task to end its process.
  • After that, tap the Win + R keys to launch the Run utility and type “osk.exe” in the field, and then hit Enter to open the on-screen keyboard.
Read More
Computer makes a beeping noise when you turn it on
Recently, a few users reported that they were unable to turn on their computers for some reason and at the same time their computers Computer makes a beeping noise couple of times or continuously whenever they try to turn them on. The sounds the computers are making can be quite annoying and it also signifies that there is something wrong with them. The problem might have something to do with the hardware inside of the computer system rather than Windows 10 itself. As you know, a computer is designed to deliver audible error sounds every time some part of the hardware is not properly working. For instance, if you hear a single beep, this indicates that your GPU is having some issues and if you’re hearing two beeps, it indicates that your RAM is not working properly, whereas three beeps that repeat after a pause when you turn on your computer means that there is something wrong with the system memory. On the other hand, if your computer is beeping continuously, this means that the problem lies with the processor. To fix this issue, here are some suggestions that might help but before you proceed, make sure that you know how to manage your computer’s hardware, if not, better have some expert do it for you.

Option 1 – Try checking the RAM

One of the basic things you can do in this kind of case is to check the RAM. Prepare some screwdrivers and dig into your PC and then look for the RAM slots and ensure that they are attached firmly. There are times when moving around your computer daily can cause certain components in your computer to become loose. Worst case scenario is that the RAM might be broken so really have to replace it.

Option 2 – Try checking the graphics card

After digging into your computer, check the graphics card and give it some good cleaning. As you know, you have to remove certain components like the graphics card regularly and clean them to help increase their lifespan and avoid errors in a startup. And if it turns out that the graphics card is broken, you have to replace it with a new one to fix the problem.

Option 3 – Try checking the processor

The processor is the brain of every computer so if it ends up not working, everything else is useless. Thus, you need to check it to see if it’s firmly attached and see if it needs some cleaning of dust and other debris. After that, try turning on your computer again. If it doesn’t work, then you might have to take your system to a technician to resolve the problem for you.
Read More
Disable Windows print spooler in PowerShell
The third time is charm saying goes but not when we are talking about Microsoft. Print spooler is again in focus, in a bad way. This is the third print spooler vulnerability to emerge in just five weeks. While a critical flaw was originally identified and patched in June, a similar flaw came to light shortly after and was subsequently patched (with mixed success). print spoolerMicrosoft is once again advising its customers to disable Windows print spooler after a new vulnerability that allows hackers to execute malicious code on machines has emerged. While a patch fixing the flaw will be released in due course, the most effective workaround currently on the table is to stop and disable the print spooler service entirely.
"An elevation of privilege vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights."

Stop this service right away or you are risking a potential attack.

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on Power Shell (admin)
  3. In Power Shell type in the following command to check if spool service is running: Get-Service -Name Spooler followed by ENTER
  4. If spooler service is running type in the next command to stop it: Stop-Service -Name Spooler –Force and press ENTER
  5. Then follow with this command to disable it at startup: Set-Service -Name Spooler -StartupType Disabled followed with ENTER
That’s it, we hope a patch will come soon for all the people that are using network printing and indeed need this service running in order to do work.
Read More
TitleBar, Minimize, Maximize and Close missing
In case you don’t know, the Title bar comes with the Maximize, Minimize, as well as the Close button. However, there are instances when you might notice that the Title bar, Maximize, Minimize and Close buttons are missing in the File Explorer. This kind of problem might be due to some glitch in the computer, or it could also be caused by some built-in tool or an installed program in your computer. Moreover, there are also other factors that you have to consider such as corruption in the system files as well as errors in the user profile which is generated on a domain network, and so on. There are several suggestions you can check out to fix the problem. You can try to boot your computer in a Clean Boot State to see if a third-party program is the root cause of the problem. You can also try to run built-in tools like System File Checker and the DISM tool. You could also get the video buffer emptied, reset or reinstall the program, or recreate the User Profile.

Option 1 – Put your computer in a Clean Boot State

As pointed out, it is possible that some third-party program or service is the one that’s behind the problem. To isolate this possibility and to identify the culprit, you have to put your computer into a Clean Boot State. To do so, follow the steps below.
  • Log onto your PC as administrator.
  • Type in MSConfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” check box.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
  • You need to disable one third-party app after the other to really isolate the issue. And once you’ve narrowed down the problem, you can either disable the third-party app that’s causing the problem or remove it.

Option 2 – Run System File Checker scan

You might also try running the System File Checker or SFC scan to fix the issue. System File Checker is a command utility built into your computer that helps restore corrupted files and missing files. Refer to the following steps to run it:
  • Hit the Win + R keys to launch Run.
  • Type in cmd in the field and tap Enter.
  • After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Restart your computer and see if the System32 folder still pops up at startup or not.

Option 3 – Try running the DISM tool

You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the Windows Upgrade problem. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • exe /Online /Cleanup-image /Restorehealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.

Option 4 – Try to empty the Vide buffer

These kinds of problems could also be due to bad data in the Video Buffer. Thus, you can try to empty the Video buffer to resolve the problem. All you have to do is tap the Shift + Ctrl + Win key + B keys on your keyboard. After that, leave your computer idle for about 10 seconds until you notice it blink once. Now you try using your computer as usual and see if the glitch is now fixed or not.

Option 5 – Try to reset or reinstall the program

Another thing you can do to fix the issue is to reset or reinstall the program where you encounter the problem. Chances are, you are running the application in the Full-screen mode but you can exit it by simply tapping the Esc or F11 key. However, if nothing changed, then consider resetting or reinstalling the program. Just go to the Windows 10 Settings app and navigate to Apps > Apps & Features. From there, look for the entry of the application you’re having problems with and select it and then click on the Advanced options. After that, click on the Reset button under the Reset section.

Option 6 – Try recreating the User Profile

You might also want to try recreating the User Profile on your computer since some errors in the creation of a User Profile can result in problems like this one. Thus, you have to try deleting the User Profile and then recreate it.
Read More
Fix rtf64x64.sys Blue Screen error on Windows
rtf64x64.sys Blue Screen error happens in random intervals but it is a regular occurrence, it can happen when playing games, when watching movies, or even when the computer is idle. in this article we will guide you on how to resolve this error from the most simple steps you could take and do not worry, altho the error seems dreadfully and scary, it is nothing to worry about. If you can boot Windows normally after error great, proceed with instructions, else reboot into safe mode or use installation media to boot.
  1. Use official Microsoft online troubleshooter Microsoft has an online blue screen troubleshooter that was made specifically for this kind of situation. Go to Troubleshoot screen error and answer questions needed. Most of the time this will be enough to solve any blue screen issue.
  2. Update network and sound drivers How is this error traced back to Realtek devices, go to the Realtek website and download drivers. Install them and reboot the system.
  3. Use a dedicated software solution DRIVERFIX is an application made for these and other kinds of driver issues and problems, it is one click automated solution for driver fixing. Visit the Driverfix site and download the application
  4. Perform system Restore If you have not managed to fix the issue with previous steps roll back to a previous restore point when everything was working.
  5. Replace network or sound card If everything failed including system restore then it is likely that it is a hardware malfunction. Replace faulty components and you should not receive errors anymore.
Read More
System Image Backup 0x807800A1 & 0x800423F3
System image backup error 0x807800A1 & 0x800423F3 appears when you are trying to create a system image backup and the operation fails to do so. If you’re faced with any of these error codes, try our recommended solutions in the order presented below and resolve the issue.

Check Volume Shadow Copy & Software Protection Services

To restart the Volume Shadow Copy Service (VSS) on Windows 10, do the following:
  • Press ⊞ Windows + X to bring up the Windows menu.
  • Click on command prompt (admin)
  • In the command prompt window, type the commands below and hit Enter after each line:
net stop vss net start vss
Once the commands execute successfully, try the system image backup again. The operation should complete successfully. You need to also check if the Software Protection Service is disabled. If it is, then Start it and ensure that it is set to default which is Automatic (Delayed Started).

Create System Image using PowerShell

Command lines are less prone to errors provided the syntax is correct, unlike GUIs that can suffer a glitch every now and then. To create a system image with PowerShell do the following:
  1. Open the Windows PowerShell as administrator. To create a System Image in Windows 10 using PowerShell, you will have to run the Wbadmin command.
  2. Inside the Powershell window type, then press Enter: wbadmin start backup-backup target: E:-include: C:-quiet-allCritical E: is the target drive where you’re going to save the system image, and C: is the system root drive where Windows is currently installed
  3. To extract the created system image, starting over from Windows 10 USB installation media, select advanced startup or open run and type: C: \ Windows \ System32 \ Shutdown.exe / r / o

Use third-party imaging software

If the previous two solutions have not managed to solve the issue there is always an option to use a third-party imaging solution. There are free open source and buying options offering various advantages each. Find out which one works best for you and use it.
Read More
How to Use and Configure Active Hours
The issue with the abrupt system reboots to force Windows 10 updates on a computer has been lessened with Active Hours. This feature keeps a record of the hours during which a system remains active and prevents the installation of updates during such hours. For example, when a system restart is needed to complete the installation of an update, Active Hours delays the update and allows you to finish what you’re doing on your computer. Thus, if you haven’t heard of this feature, then now is the time you do, read this post to configure and use Active Hours in your Windows 10 computer. There are three ways you can configure Active Hours. The first one is for general users, whereas the rest of the two methods are for users who knows their way about the Windows Registry and Group Policy. To get started, refer to every given option below.

Option 1 – Configure Active Hours via Windows 10 Settings

  • Go to Settings > Update & Security. From there, click on the “Change active hours” option under the Windows Update section.
  • Next, you can select a time (“Start time” and “End time”) during which the restart can occur.
  • After that, click on the Save button and exit.
Note: Keep in mind that the values you’ve entered indicate the hours during which your system is in use, namely, ACTIVE. It is important for your active hour’s interval period and it can be anything between 1 and 18 hours since you can’t go beyond 18 hours. In addition, there is no option to configure different active hours on different days and you can’t specify different active hours for weekends and weekdays as well. On the other hand, Windows 10 also offer users an option to override Active Hours. All you have to do is go to Settings > Update & Security > Windows Update > Restart Options. From there, you can choose a custom restart time when your computer will restart to install the updates but this is only a one-time setting.

Option 2 – Configure Active Hours via Registry Editor

  • Tap the Win + R keys to open the Run utility and type “Regedit” in the field and tap Enter or click OK to open the Registry Editor.
  • Next, navigate to this registry path: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsUpdateUXSettings
  • In the given registry path, you can choose to change “ActiveHoursStart” and “ActiveHoursEnd”.
Note: There are no extra settings available in the Registry Editor but you can change the remote computer’s Active hours settings using the Registry Editor.

Option 3 – Configure Active Hours via Group Policy

Note that this option is available for the Windows 10 Pro and Educational or Enterprise versions. It is mostly used by computers in Business or through remote access. To get started, follow these steps:
  • Tap the Win + R keys to launch Run and type “gpedit.msc” in the field and tap Enter or click OK to open the Group Policy Editor.
  • Next, navigate to this group policy setting: Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Updates.
  • From there, look for a policy labeled “Turn off auto-restart for updates during active hours” and double click on it. This will open a new window.
  • Click on the Enabled radio button to enable Active Hours. You also have the option to choose active hours just like in the first given option above. It works just fine except when the following policies don’t override:
    • No Auto-restart with logged-on users for scheduled automatic updates installations.
    • Always automatically restart at the scheduled time.
  • Since Group Policy allows you to reduce the range of active hours, you can configure it if you want it to be less than 18 hours. Just find the policy setting labeled “Specify Active hours range for auto -restarts. The minimum is 8 hours”.
  • After you set the Active Hours, click the Apply and OK buttons to save the changes made.
Read More
How to Rectify Error 0xC1900101, 0x20017 in Windows 10

Error Code 0xC1900101, 0x20017 – What is it?

Error code 0xC1900101, 0x20017 in Windows 10 occurs when Windows users attempt to upgrade to Windows 10 but fail to complete the installation process. This Windows error code may occur due to issues with a third-party antivirus program or problems related to a driver or hardware. When this occurs users will receive an error message and their machine will automatically revert to the original operating system on the device. Common symptoms of the error code include the following:

  • Error code 0xC1900101-0x20017 message box
  • Inability to complete Windows 10 upgrade

Solution

Restoro box imageError Causes

Like many other error codes affecting Windows 10 users, 0xC1900101-0x20017 may result due to several different reasons. Oftentimes, error code 0xC1900101 -0x20017 affects users who attempt to upgrade their operating system but have incompatible drivers or hardware as well as antivirus or other security systems which prevent the upgrade from occurring. If this error message is not resolved, it could give birth to other error messages such as error code 0x80070652

Further Information and Manual Repair

To fix this particular error code affecting Windows 10 devices, you will need to employ at least one manual repair method mentioned within this article. Manual repair methods offer effective solutions as they seek to address the root causes related to Windows error codes. When the manual repair methods are implemented correctly, users are usually able to quickly overcome issues that cause Windows error codes and can thereafter access all the benefits Windows has to offer to its users.

Note, however, that in a few cases where technical skills are required, the need for a Windows repair technician may present itself. In such a case, resort to Windows forums and other resources to access help from a certified Windows professional. Also, consider using an automated tool where necessary.

Method One: Temporarily Disable or Uninstall Third-party Security Software

Some third-party security programs or antivirus software may interfere with the installation process when Windows users attempt to upgrade to Windows 10. To verify if this is the issue causing error code 0xC1900101-0x20017 on your device, temporarily uninstall or disable these applications. You may easily do so by checking the settings of these programs or visiting Settings within the Windows Start Menu.

Once you have disabled these programs on your device, reboot your machine and attempt to update to Windows 10. If the issue was caused by a third-party app, error code 0xC1900101-0x20017 will no longer occur and your machine will successfully upgrade to the version of Windows 10 you attempt to download.

However, in the case where error code 0xC1900101-0x20017 in Windows 10 reoccurs during the installation process, you will need to resort to another manual repair method listed below.

Method Two: Disable Firewall Software

Like method one, this manual repair method can be effective in combating issues related to 0xC1900101-0x20017. This is of course, dependent on whether or not the error code is due to an incompatible security program.

Temporarily disable your firewall by adjusting its settings. Once this step is complete, reboot your machine and attempt to install the latest version of Windows 10. If you are able to complete the process, this means the problem was due to an issue with your firewall. You can then enable the firewall you previously disabled or download another program as its replacement.

If the error code reoccurs, however, consider implementing the next manual repair method on this list.

Method Three: Use Command Prompt to Check for Damaged System Files

Command Prompt can be very effective in helping regular as well as technically skilled users repair issues with their PC. In the case of error code 0xC1900101-0x20017 in Windows 10, access Command Prompt using the following instructions.

  • Step one: Right-click Start Menu
  • Step two: Select Command Prompt (Admin)
  • Step three: Type sfc /scannow

Be sure to enter the command as it is written above, with a space between “sfc” and “/scannow”. Wait until the scan is complete. If there are any errors related to system files, i.e. if any system files are damaged, corrupted, or missing, your machine will begin to fix it. Once the process is complete, reboot your PC then reattempt the Windows 10 upgrade process via Windows Update. If you are successful, it means that you have rectified error code 0xC1900101-0x20017. Otherwise, you may need to contact a Windows repair technician.

Method Four: Download an Automated Tool

If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.

Read More
CHKDSK cannot continue in read-only mode
As you know, the CHKDSK utility is proven to be one of the useful tools to fix any issues that concerns file system, storage, and disk. However, as useful as it may be, it is still not immune to issues as you could encounter errors when running it. One of these errors is the “One such error is the CHKDSK cannot continue in read-only mode” error. If you receive such an error message while running CHKDSK, then you’ve come to the right place as this post will help you sort the problem out. It is possible that the drive is read-only or that the Write Protection is enabled. It could also be that the drive is already being used and scanned by a different program or utility. To get rid of this error, there are a couple of suggestions you need to check out. You can try to run the CHKDSK utility from Recovery or run it on Boot. You could also try to disable Write Protection. For more detailed steps, follow the given instructions below.

Option 1 – Try to run the CHKDSK utility from Recovery

The first thing you can do to resolve the error in CHKDSK is to run the CHKDSK utility from Recovery. How? Follow these steps:
  • First, boot into the installation environment for Windows 10 from a Windows installation media.
  • Next, click on the “Repair your computer” option.
  • After that, select Troubleshoot > Advanced options > Command Prompt.
  • After opening Command Prompt, type this command and tap Enter: chkdsk <Partition Letter>: /r /f
  • Wait until the disk error checking process is completed.
  • Once it’s done, exit the Command Prompt window and restart your computer and then see if the error is fixed.

Option 2 – Try running the CHKDSK utility on Boot

On the other hand, you can also try to run the CHKDSK utility on Boot so you can fix the error and recover any damaged segments of the drive.
  • Open an elevated Command Prompt and enter this command: chkdsk /r
  • After that, you will a message that says, “Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)”
  • Type Y and tap Enter to schedule a CHKDSK scan once your computer reboots next time.

Option 3 – Try to remove the Write Protection from the drive

As mentioned, removing the Write-Protection on the concerned drive could also help you fix the problem and there are two ways to get rid of the write protection – you can either use the Diskpart utility or the Registry Editor. How? Refer to the following steps.

Via Diskpart utility:

  • Open Command Prompt with admin privileges and then type the “diskpart” command and tap Enter to execute it.
  • Next, type “list disk” and tap Enter to get the list of all the Disk connects or all the partitions that are formed on those disks.
  • After that, you need to choose one command depending on the list of commands you entered. Type “select disk #” and tap Enter to select the disk or partition you want to select.
  • Then type “attribute disk clear readonly” and tap Enter to Disable the Write Protection on the selected disk or partition.

Via Registry Editor:

  • Tap the Win + R keys to open the Run utility and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to the following registry key:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies
  • After that, look for the DWORD named “WriteProtect” and double click on it, and then set its Value Data to “0”.
  • Now restart your computer and see if the problem is now fixed or not.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status