I'm writing system file patcher for my customization program. The problem is that Windows [2000 SP4] does not allow to replace system files, e.g. browseui.dll, comdlg32.dll I use MoveFileEx with MOVEFILE_DELAY_UNTIL_REBOOT flag. It creates proper PendingFileRename key, however, if program is started not in Safe Mode, then file replacing does not happen on next boot. Windows 2000 SP4, sfc disabled via nLite [no dllcache folder at all] So - what to do? How to circumvent this issue?