Windows 10: can't delete files after use dism command

Discus and support can't delete files after use dism command in Windows 10 Gaming to solve the problem; HelloI used dism command "dism /mount-wim /wimfile:d:\recovery /index:1 /mountdir:d:\recovery\mount /readonly"after I get what I want , can't delete... Discussion in 'Windows 10 Gaming' started by ao1793ZQ., Oct 6, 2023.

  1. ao1793ZQ. Win User

    can't delete files after use dism command


    HelloI used dism command "dism /mount-wim /wimfile:d:\recovery /index:1 /mountdir:d:\recovery\mount /readonly"after I get what I want , can't delete folders created by dism commandhow can I delete themThanks

    :)
     
    ao1793ZQ., Oct 6, 2023
    #1
  2. Kem Mon Win User

    Unable to delete a file

    Hi Brent,

    There are a lot of possible reason why the issue occurs, we suggest that you access
    safe mode
    and
    delete the files there. If the same issue occur,
    reboot
    your PC and run these following
    methods of troubleshooting
    steps:

    Method 1:
    Run SFC Scan.  

    To run an
    SFC scan, follow these steps:  


    • Run
      Command Prompt as Administrator.  

    • Type
      sfc /scannow
      and hit
      Enter.   

    Method 2:
    Run DISM Tool.  

    To run
    DISM Tool, follow these steps:


    • Run
      Command Prompt as Administrator.  

    • Type the following command:  

      • DISM.exe /Online /Cleanup-image /scanhealth  

      • DISM.exe /Online /Cleanup-image /Restorehealth  

    NOTE:
    This might take a while to finish scanning.
    Do not cancel. 

    Method 3: Clean Boot.

    To perform a
    Clean Boot, click
    here.

    Note:
    Reset the computer back to
    Normal Mode
    once you are done with the troubleshooting by following the section
    "How to reset the computer to start normally after clean boot troubleshooting"
    from the same article.

    Let us know how it goes.

    Regards.
     
    Kem Mon, Oct 6, 2023
    #2
  3. could not delete file

    Since the issue persists even after using System File Checker tool, the suggested solution you provided is also a brilliant idea. You might want to try to follow the steps below first to run the DISM tool before booting your device:


    • Press Windows key + X and select the Command Prompt (Admin).

    • In the Administrator: Command Prompt window, enter the following commands (Press the Enter key after each command):



    DISM.exe /Online /Cleanup-image /Scanhealth



    DISM.exe /Online /Cleanup-image /Restorehealth




    • To close the Administrator: Command prompt window, type Exit, and press Enter.

    • Restart the machine

    Regards.
     
    Leviozar Gam, Oct 6, 2023
    #3
  4. Alex Conn Win User

    can't delete files after use dism command

    DISM command /RestoreHealth unable to find source files

    I am unable to perform SFC Scan or DISM Restore Health Successfully.

    Windows 10 Pro Version 21H1 Build 19043.1083.

    • sfc /scannow finds corruption its unable to fix.
    • DISM /Online /Cleanup-Image /CheckHealth
      • Results in "The component store is repairable
    • DISM /Online /Cleanup-Image /ScanHealth
      • Results in "The component store is repairable"
    • DISM /Online /Cleanup-Image /RestoreHealth
      • Results in "The Source files could not be found"
    I've downloaded what I believe to be the correct .iso file for the version of Windows I am running/needing. See below:


    can't delete files after use dism command c13aa991-1a35-41d6-a39f-eda2b3a191d8?upload=true.png


    Mounting the .iso file to F: and pointing DISM to use its install.wim file is also failing.

    • DISM /Online /Cleanup-Image /RestoreHealth /Source:F:\Sources\install.wim
    • Results in "The source files could not be found".
    Could anyone help me decipher the log files?

    Log File of DISM command without source specified:
    Error

    Log File of DISM command with source specified:

    Error
     
    Alex Conn, Oct 6, 2023
    #4
Thema:

can't delete files after use dism command

Loading...
  1. can't delete files after use dism command - Similar Threads - can't delete files

  2. Identify deleted files in using commands

    in Windows 10 Network and Sharing
    Identify deleted files in using commands: Background: I use ROBOCOPY in a scheduled daily command file to make a mirror copy of my C:\users folder Documents, Pictures, etc.. My concern is that if a file is deleted, it will propagate to the mirror backup. That's no big deal if I realize it right away...I can manually...
  3. can't delete files after use dism command

    in Windows 10 Software and Apps
    can't delete files after use dism command: HelloI used dism command "dism /mount-wim /wimfile:d:\recovery /index:1 /mountdir:d:\recovery\mount /readonly"after I get what I want , can't delete folders created by dism commandhow can I delete themThanks...
  4. can't delete files adter use dism command

    in Windows 10 Gaming
    can't delete files adter use dism command: HelloI used dism command "dism /mount-wim /wimfile:d:\recovery /index:1 /mountdir:d:\recovery\mount /readonly"after I get what I want , can't delete folders created by dism commandhow can I delete themThanks...
  5. can't delete files adter use dism command

    in Windows 10 Software and Apps
    can't delete files adter use dism command: HelloI used dism command "dism /mount-wim /wimfile:d:\recovery /index:1 /mountdir:d:\recovery\mount /readonly"after I get what I want , can't delete folders created by dism commandhow can I delete themThanks...
  6. dism command

    in Windows 10 Network and Sharing
    dism command: Hi so when i did dism /Online /Cleanup-Image /StartComponentCleanup it stopsnon 20% and says it done https://answers.microsoft.com/en-us/windows/forum/all/dism-command/a622031b-1790-4347-b76c-75d4a06b7d0b
  7. dism command

    in Windows 10 Gaming
    dism command: Hi so when i did dism /Online /Cleanup-Image /StartComponentCleanup it stopsnon 20% and says it done https://answers.microsoft.com/en-us/windows/forum/all/dism-command/a622031b-1790-4347-b76c-75d4a06b7d0b
  8. dism command

    in Windows 10 Software and Apps
    dism command: Hi so when i did dism /Online /Cleanup-Image /StartComponentCleanup it stopsnon 20% and says it done https://answers.microsoft.com/en-us/windows/forum/all/dism-command/a622031b-1790-4347-b76c-75d4a06b7d0b
  9. DISM commands

    in Windows 10 Installation and Upgrade
    DISM commands: I am attempting to repair an external drive connected to this computer. In command prompt, administrator level, I entered the command "dism /Image:f:\ /cleanup-image /restorehealth" and it returned the message "Error 126; An Error occurred while attempting to start the...
  10. Mounting a windows 10 Wim file using DISM command in command prompt

    in Windows 10 Customization
    Mounting a windows 10 Wim file using DISM command in command prompt: Hii, I am facing error while mounting windows 10 Wim file using DISM. The error i am getting is Error:5 Access is denied The DISM log file can be found at C:\windows\Logs\DISM\dism.log I have attached the screen shot of the command prompt. Kindly provide any...