[32] The process cannot access the file because it is being used by another process

LegionX

New Member
Hi, I bought this program recently and tried to create and customise my iso. The first two times, it was fine, but now I'm facing this issue.

It is so annoying trying to restart the machine, turn off the AV(Kaspersky), re-installed the program, and change the directory.

I am still having this problem.
 

Attachments

  • 2.png
    2.png
    216.7 KB
  • 2023-05-24_08-21.png
    2023-05-24_08-21.png
    10.1 KB
Kaspersky and other 3rd-party AV are more likely to block NTLite as a threat. You should add NTLite.exe to your AV's exclusion list.
 
Kaspersky and other 3rd-party AV are more likely to block NTLite as a threat. You should add NTLite.exe to your AV's exclusion list.
Hi, Thank you so much for your reply. i did, I put the path of the NTlite installed folder, NTLite.exe and the mod folder where I'm saving my os and other files. Still, I'm having this error. Which is kinda weird. Any other fix I should try?
 
Update it is FIXED. After a clean install and adding all the folders and apps AV's exclusion list and restart the machine. I didn't add the AppData\Local\Temp because it is unsafe. but still working smoothly. Thank you
 
AV programs mostly work by using heuristics (rule patterns). They see thousands of system-marked files created and modified in a short time and presume malicious intent. Using exclusions is less dangerous than entirely disabling your AV while NTLite runs.
 
Btw when there are stuck files like this, right-click on Mounted Images and Unload all.
Reboot, then try again.

Note that running DISM in parallel will also cause something like this.

And no, this is not normal, haven't had something similar in years, so the garlin's recommendation about the antivirus is on point.
If this becomes more common, I might need to detect a running antivirus and suggest whitelisting, with the proposed folder/process locations.
 
What about downloading Windows updates through NTLite, are separate exclusions required for that as well?
 
What about downloading Windows updates through NTLite, are separate exclusions required for that as well?
Shouldn't be an issue.

The reasons why mounted image is an issue, and temp files of updates:
- they mimic/are real system files, that triggers some antiviruses to think it needs to get a deeper scan and in some situations lock the potential attack vector file or a reg key/value (from the mounted hives)
- scanning sometimes takes time, or simply unlucky timing, so while unmounting/saving the image it requires full file access, mount folder files are deleted in the process, if any of it is denied, error.

Windows updates download is relatively slow and can be resumed if interrupted, and are not deleted afterwards, so AV background scanning should not matter that much.
 
Shouldn't be an issue.

The reasons why mounted image is an issue, and temp files of updates:
- they mimic/are real system files, that triggers some antiviruses to think it needs to get a deeper scan and in some situations lock the potential attack vector file or a reg key/value (from the mounted hives)
- scanning sometimes takes time, or simply unlucky timing, so while unmounting/saving the image it requires full file access, mount folder files are deleted in the process, if any of it is denied, error.

Windows updates download is relatively slow and can be resumed if interrupted, and are not deleted afterwards, so AV background scanning should not matter that much.
Hi Nuhi, I'm able to generate the problem again. It happened when I deleted the other images from the mount image section [Picture1], but if I left it normally and trimmed [trim] it at last, the problem did not occur everything works fine. But I if delete other editions shown in the [picture1] even If I turned off my AV and exclusion the Path still, that error popup.
 

Attachments

  • S1.png
    S1.png
    148.8 KB
  • S2.png
    S2.png
    9.1 KB
  • trim.png
    trim.png
    11.6 KB
  • picture1.png
    picture1.png
    70.9 KB
Back
Top