views:

746

answers:

3

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

How can this be disabled via the command prompt?

+4  A: 

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]

The How-To Geek
+1  A: 

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

Ben Childs
A: 

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.

Christopher