Deleting files [DELETED] in the build install.wim Windows 10 Pro

Vladimir Russia 0 Reputation points
2023-03-06T15:08:16.4866667+00:00

Hello, tell me how to delete the [DELETED] folder from the modified install.wim Windows 10 Pro 22H2 distribution because this cache takes up 3GB of space and the image does not fit on a flash drive?

Thank you

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,697 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,376 Reputation points
    2023-03-07T17:00:32.48+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query.

    You can try using the DISM to do this. But before that, you will have to use the DISM command so you can mount the install.wim:

    DISM /Mount-Image /ImageFile:install.wim /Index:1 /MountDir:mount

    After that, you can use this command to dleet the folder:

    Del /F /S /Q mount[DELETED]

    You can use this command so you can unmount the and save the changes using this command:

    DISM /Unmount-Image /MountDir:mount /Commit

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.