Is there a way to replace imageres.dll.mun in the install.wim image?

BKPB

Member
Messages
91
Reaction score
10
RU
Есть ли возможность заменить imageres.dll.mun в образе install.wim ?
EN
Is there a way to replace imageres.dll.mun in the install.wim image ?

RU
Я пытался сделать это во временной папке, куда NTLite монтирует образ, но мне это не удалось. Сообщение этот файл в данный момент используется.
EN
I tried to do this in the temporary folder where NTLite mounts the image, but I failed. The message this file is currently in use.
 
RU
Я сделаю это. Я предполагал, что после замены, NTLite не сможет сохранить изменения. Когда я это сделаю, то напишу получилось или нет.
EN
I will do it. I assumed that after the replacement, NTLite would not be able to save the changes. When I do this, I will write it turned out or not.
 
Windows has several files protected by TrustedInstaller ownership and permissions, to prevent user tampering. When an image is mounted, all the extracted files keep their original security attributes, and they're preserved when written back to the WIM.

Some users will use takeown/icacls to grant themselves control of these files. That is considered bad practice, because they almost never restore the original permissions after making updates. Using PowerRun or NSudo is a safer way than breaking file permissions.
 
recently used PowerRun 1.6 and Q-Dir to mess with a mounted directory without problems.
run with elevated permissions only when you need to.
Never Ever "take ownership" of registry keys.

Some users will use takeown/icacls to grant themselves control of these files.
only do that on files and folders you are going to delete.
 
Last edited:
imageres.dll hold eg. Account pics and bound to registry.
Default Account pics in mounted NTL image have full access without TrustedInstaller.
 
imageres.dll hold eg. Account pics and bound to registry.
Default Account pics in mounted NTL image have full access without TrustedInstaller.
This question is unrelated to user profile images. Replacing imageres.dll.mun allows you to use a different set of icons for File Explorer.
 
Back
Top