Question

I know Windows Vista (and XP) cache recently loaded DLL's in memory...

How can this be disabled via the command prompt?

Was it helpful?

Solution

The only thing you can do is disable SuperFetch, which can be done from the command prompt with this command (there has to be a space between the = sign and disabled).

sc config Superfetch start= disabled

There is a myth out there that you can disable DLL caching, but that only worked for systems prior to Windows 2000. [source]

OTHER TIPS

Perhaps it would be helpful to know why you want to do this and then try to help solve the original problem...

Windows does not cache recently used DLLs in memory.

It does cache the contents of the files in the file cache, like it would normally do with data files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top