Bobcares

How to Fix CHKDSK Write Protected Error in Windows

by | Mar 21, 2025

Learn how to fix CHKDSK Write Protected Error in Windows. Our Windows Support team is here to help you with your questions and concerns.

How to Fix CHKDSK Write Protected Error in Windows

Having trouble with the following error message?

How to Fix CHKDSK Write Protected Error in Windows

Luckily for you, our Experts are here to help. Generally, write-protected status means the drive is in read-only mode. In other words, we can view files without adding new ones or modifying existing data. By understanding the causes behind this error, we will be able to resolve it quickly.

Possible Causes of CHKDSK Write Protected Error

  • Some hard drives or disk enclosures come with a physical write protection switch from the manufacturer. If present, switch it to the “Off” position.
  • A virus infection or unknown errors can damage the file system, making the drive inaccessible and read-only.
  • The drive might have been set as read-only, preventing modifications.

Once we identify the reason behind the write-protected status, we can take steps to remove it and successfully run CHKDSK.

Quick Fixes to Remove Write Protection for CHKDSK

1. Fix CHKDSK Write Protected Disk Using CMD

  1. First, open the Command Prompt as Administrator.
  2. Then, enter the following command and press Enter:
    chkdsk F: /f /r x
    We can replace "F" with the actual drive letter.


If this does not work, proceed to the next method.

2. Remove Write Protection Using Diskpart

For drives set as read-only, Diskpart can clear the write protection attribute:

  1. To begin with, open the Command Prompt as Administrator.
  2. Then, type `diskpart` and hit Enter.
  3. In Diskpart, type the following commands one by one and press Enter after each:


    list volume
    select volume n # Replace 'n' with the volume number of the write-protected drive
    attributes disk clear readonly
    exit

  4. Once done, run `CHKDSK F: /f` to check if the issue is resolved.

3. Modify the Write Protection Key in Registry Editor

  1. Press `Win + R`, type `regedit`, and hit Enter.
  2. Then, go to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies

  3. Next, locate the `WriteProtected` key, right-click it, and select Modify.
  4. Change its value from `1` to `0`.
  5. If the `StorageDevicePolicies` folder does not exist, create it by right-clicking the `Control` folder, select `New > Key`, and naming it `StorageDevicePolicies`.

    Then, create a new DWORD (32-bit) value named `WriteProtected` and set it to `0` in this key.

4. Remove Write Protection by Formatting the Drive

We may have to format the drive if the file system is severely damaged. However, standard Windows tools like Disk Management or Diskpart may lead to a “Format write protected” error.

Our Experts recommend AOMEI Partition Assistant Standard, a free partition management tool to bypass this. It will format the write-protected drive effectively. This tool supports internal and external hard drives, USB flash drives, and SD cards.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

Running into the CHKDSK write-protected error can be frustrating, but with the right approach, it can be fixed. Try the solutions above, starting with simple command-line fixes and registry modifications before resorting to formatting. Tools like AOMEI Partition Assistant can be the solution if all else fails.

In brief, our Support Experts demonstrated how to set up DMARC in cPanel for email security.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF