Windows 10: Troubles while trying to repair windows with DISM and SFC, disk is write protected

Discus and support Troubles while trying to repair windows with DISM and SFC, disk is write protected in Windows 10 Software and Apps to solve the problem; Hello !I am trying to repair windows 10 on my computer which can't boot because some files are corrupted. Si i did create a USB with windows with the... Discussion in 'Windows 10 Software and Apps' started by Raphaël Monachon, Jan 22, 2025.

  1. Troubles while trying to repair windows with DISM and SFC, disk is write protected


    Hello !I am trying to repair windows 10 on my computer which can't boot because some files are corrupted. Si i did create a USB with windows with the windows media création tool. And i am booking on this USB and running thé dism command with the USB install.esd file as the source.Dism /image:d:\ /cleanup-image /restorehealth /source:x:\sources\install.esdWhere d is my nvme drive where windows is corrupted and x is the USB key.But when i run the command i have thé following error :Error 19 Media is write protected After checking the logs i see that it's my "d" disk that is write protected. How

    :)
     
    Raphaël Monachon, Jan 22, 2025
    #1
  2. RejZoR Win User

    Can't get SFC and DISM to work anymore on Win10

    Ok, can someone help me out because this crap is starting to piss me off. There was once a time when you could simply run SFC and DISM to check Windows files integrity and if there were any problems found with the local files, Windows repaired it automatically. The reason why I want to run this is because I'm getting stupendously huge amount of errors and warnings in Event Viewer, but I don't want to run refresh because it'll mess up tons of apps.

    Commands I used:
    sfc /scannow
    Dism /Online /Cleanup-Image /RestoreHealth

    Fast forward few years and we now have glorious Windows 10. Trying to run the same tools, they find errors but stubbornly refuse to fix ANYTHING. What's the god damn point of it then?

    Sfc finds issues but can't repair them and DISM constantly bitches how it can't find the source. All this used to work directly in Windows 7, but in Win 10, nothing. This was one of the best features to get OS back in good state and they go and ruin it. Because Microsoft!

    I've checked this thread:
    https://social.technet.microsoft.co...sfc-failed-to-repair?forum=win10itprohardware

    Nothing worked. And they keep mentioning install.wim where my Windows image downloaded from Microsoft itself! only carries install.esd which I can't seem to use with anything.

    I've also tried this tool:
    https://dismgui.codeplex.com/releases/view/133331

    Which again wants .wim file and refuses to work with esd.
     
    RejZoR, Jan 22, 2025
    #2
  3. Fernandz Win User
    How To Format A Write Protected Flash Memory ?

    ¿You already tried this one?...

    Run CMD


    1. diskpart
    2. list disk

    Then in the 3º step, put the correct number of disk in the list for the usb flash (if it's listed in disk 3, then you'll have to write select disk 3).

    2. select disk #
    3. clean
    4. create partition primary
    5. select partition 1
    6. active
    7. format fs=fat32
    8. assign
    9. exit

    with that commands you will format the flash drive in fat32, if you have a large drive you can select also "format fs=ntfs" in step 7.

    good luck!
     
    Fernandz, Jan 22, 2025
    #3
  4. OneMoar Win User

    Troubles while trying to repair windows with DISM and SFC, disk is write protected

    How to get damn DISM to work?

    you need to run DISM first before running SFC
    SFC query's the local component stores to make repairs
    DISM is targeted for rebuilding the component stores and a offline image the 'live' section is still handled by SFC in some cases
    except on windows 8.1 and up because they changed it
    but only for certain files and only if x part of the store is corrupt
    so yea pretty confusing eh
     
    OneMoar, Jan 22, 2025
    #4
Thema:

Troubles while trying to repair windows with DISM and SFC, disk is write protected

Loading...
  1. Troubles while trying to repair windows with DISM and SFC, disk is write protected - Similar Threads - Troubles while trying

  2. disk write protection

    in Windows 10 Gaming
    disk write protection: Cant delete and save files https://answers.microsoft.com/en-us/windows/forum/all/disk-write-protection/0715ab37-1ac9-40a8-bba0-ce42478c7bde
  3. disk write protection

    in Windows 10 Software and Apps
    disk write protection: Cant delete and save files https://answers.microsoft.com/en-us/windows/forum/all/disk-write-protection/0715ab37-1ac9-40a8-bba0-ce42478c7bde
  4. Troubles while trying to repair windows with DISM and SFC, disk is write protected

    in Windows 10 Gaming
    Troubles while trying to repair windows with DISM and SFC, disk is write protected: Hello !I am trying to repair windows 10 on my computer which can't boot because some files are corrupted. Si i did create a USB with windows with the windows media création tool. And i am booking on this USB and running thé dism command with the USB install.esd file as the...
  5. Troubles while trying to repair windows with DISM and SFC, disk is write protected

    in Windows 10 Installation and Upgrade
    Troubles while trying to repair windows with DISM and SFC, disk is write protected: Hello !I am trying to repair windows 10 on my computer which can't boot because some files are corrupted. Si i did create a USB with windows with the windows media création tool. And i am booking on this USB and running thé dism command with the USB install.esd file as the...
  6. "This disk is write-protected"

    in Windows 10 Network and Sharing
    "This disk is write-protected": I have pictures in my disk drive C and moved one onto my local disk D. The action was interrupted and a pop-up window appeared that the Disk is "write-protected". What does it mean? Should I remove it?...
  7. Automatic Repair, SFC and DISM Problem ...

    in Windows 10 BSOD Crashes and Debugging
    Automatic Repair, SFC and DISM Problem ...: Hi Everyone, This is the first time I have posted here. Here goes. After a power surge when coming out of hibernation windows crashed. Windows 10 Pro x64 then went into automatic repair which fails to diagnose a problem and so enters a loop. Where it is not possible to go...
  8. The disk is write protected, while trying to format SD card

    in Windows 10 Drivers and Hardware
    The disk is write protected, while trying to format SD card: HI, I tried to format SD card and received a "write protected "message . After that i searched for online solution like: I have edited my registry to remove write protection. I have gone through command prompt and diskpart to attempt to format It goes upto stage of...
  9. The disk is write protected, while trying to formatt SD card

    in Windows 10 Drivers and Hardware
    The disk is write protected, while trying to formatt SD card: HI, I tried to format SD card and received a "write protected "message . After that i searched for online solution like: I have edited my registry to remove write protection. I have gone through command prompt and diskpart to attempt to format It goes upto stage of...
  10. The Disk Is Write Protected - How To Remove Write Protection

    in Windows 10 Drivers and Hardware
    The Disk Is Write Protected - How To Remove Write Protection: Hi I just join my computer with autopilot and mi HDD of storage don't allow me to write for permission, I try modify permission from properties ->security->advance option and nothing, I try with cmd with the comand diskpart --> attributes disk clear readonly and nothing....