Got any ideas where to find settings of MMAgent in registry? I accidentally found MaxPrefetchFiles in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Prefetcher It configures MaxOperationAPIFiles which specifies how many files being operated by prefetcher ApplicationLaunchPrefetching and ApplicationPreLaunch actually being indirectly configured by EnablePrefetcher in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters But the other ones, MemoryCompression and PageCombining. Where to find them?
They are completely irrelevant, I have MaxOperationAPIFiles 256 and 298 files in the prefetch folder. See the document.
maybe it's because prefetcher in your system turned off this parameter instantly changes mmagent MOAF setting for me
OK, I see that as well, but again, I have prefetcher enabled and the number of files in the prefetch folder is not limited by that setting. PowerShell itself is already good for automation.
https://learn.microsoft.com/en-us/powershell/module/mmagent/set-mmagent?view=windowsserver2022-ps MaxOperationAPIFiles is not about prefetcher, it is about applications which use prefetcher API to speed up their own file access. I am sure such applications are rare. And from description it is not clear whether the limit is global or per each application.