4 ms·
It seems that the trick to make Win10 installer work is to move the executable of the tool to the USB drive you will use, then run it from there. Like you it u
by Renaud 6y ago
It seems that the trick to make Win10 installer work is to move the executable of the tool to the USB drive you will use, then run it from there.
Like you it used to drive me crazy and would often doesn't work but I never had issues after doing this.
- rgovostes 6y agoIf the drive needs to be reformatted or the partition map changed, that doesn't seem like it would work.
- Renaud 6y agoI know it goes contrary to common sense, as we could expect a lock on the exe, but it does work. I mean it's easy enough to try for yourself if you do not believe my own experience.
- jhardy54 6y agoWhy not? Once a process is started I'd be very surprised if you couldn't delete the executable from the disk.
- bitwize 6y agoWindows file systems work very differently from Linux. If a file is open, Windows will put a lock on it that prevents moving or deleting the file -- and the executable image of a process is open for as long as the process runs. This is different from the Linux situation, in which a file's name and directory location are separate from its inode, or the data structure holding actual information about the file including where the data lives on disk: once the inode associated with a file name is looked up and the file opened, anything may be done with the file name, including changing or unlinking it. Inodes with no links will also only be freed once every open file descriptor on the unlinked inode is closed. So a process will keep on chugging even if its executable file on disk is deleted, as though nothing happened -- because the file itself is only deleted once its inode is closed and unlinked.