gm.dls cache file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to get around Windows File Protection (which I only learned about
in an earlier post here). I want to replace the gm.dls sound file supplied
by Microsoft with one of my own. I had done this, and used it successfully
for a while, but suddenly WFP stops me from making any changes and has
reverted to the original file.
One way suggested was to change the cached version of this file, which is
not protected. But I can't find it. It's not in any of the .cab files in
windows\driver cache\I386 (where one source suggests) and I can't find a
folder called dllcache (which another source suggested).
Does anyone know where to find it?
 
Hi

You may find you'll have problems if you replace, amend etc. an MS file that
is protected by WFP.
 
Sebastian said:
I'm trying to get around Windows File Protection (which I only learned
about
in an earlier post here). I want to replace the gm.dls sound file
supplied
by Microsoft with one of my own. I had done this, and used it
successfully
for a while, but suddenly WFP stops me from making any changes and has
reverted to the original file.
One way suggested was to change the cached version of this file, which
is
not protected. But I can't find it. It's not in any of the .cab
files in
windows\driver cache\I386 (where one source suggests) and I can't find
a
folder called dllcache (which another source suggested).
Does anyone know where to find it?


What happens if you use Start -> Run to enter
"C:\Windows\System32\dllcache"? Does Explorer then open to show that
*hidden* folder? You won't see hidden or system folders in Explorer
unless you configure its options to do so.

http://support.microsoft.com/?id=222193
 
I'm not quite there yet but I'll get there eventually. Thanks for all the
help/suggestions/links.
 
Actually I'm less close than I thought. I've started a new thread about
this, but in case that gets lost or overlooked, what I said was:

I'm trying to replace the Microsoft default sound file
c:\windows\system32\drivers\gm.dls with another file. I ussed to be able to
do this, but since SP2 it is automatically replaced by a copy, apparently
from C:\windows\system32\dllcache. I was suggested I could delete that copy
of the file, but I can't - it too gets replaced almost immediatley - from
where????

Also, it was suggested I use the program "Replacer.com" but it says gm.dls
is "not in the database"

Any other suggestions gratefully received.
 
Sebastian said:
Actually I'm less close than I thought. I've started a new thread about
this, but in case that gets lost or overlooked, ....

Best idea is to maintain a thread until the problem is resolved. Creating a
new thread daily said:
I'm trying to replace the Microsoft default sound file
c:\windows\system32\drivers\gm.dls with another file. I ussed to be able
to do this, but since SP2 it is automatically replaced by a copy,
apparently from C:\windows\system32\dllcache.

The resolution remains the same as it was in your first thread on the 8th.

Rename the file you wish to replace in the \dllcache folder, the \i386
folder if it is there, in the lastknowngood folder if it exists, and in the
\system32\drivers folder. Then copy the new one to the \drivers folder.

You will have to do this each time you wish to replace that file.
 
Sky King said:
Best idea is to maintain a thread until the problem is resolved. Creating a
new thread daily <g> won't make fixing the problem easier.

Quite right - but I'm new to all this and couldn't, at that moment, find my
earlier post. We learn from our mistakes, and I'm learning a lot.

Rename the file you wish to replace in the \dllcache folder

I've done that - it just gets replaced.
the \i386 folder if it is there

That's where it used to live before SP2. It's not there now, nor is it in
the .cab files now in that directory.
in the lastknowngood folder if it exists

I've never heard of this. I'll see if I can find it. Thanks
 
Sebastian said:
and I said:

But I can't find it. Where should I look?

As I said "if it exists" <g>. It may not exist on your system. That folder
only gets created if multiple backups are needed for protecting system-level
files, for example during the installation of several updates. When you
Restart the system those files are synched with the dllcache folder and then
the "lastknowngood" folder is removed.
 
I'm still in the dark about a lot of this but I've learned a lot. One way or
another I've managed to get my file back where I wanted it. Thanks for all
the information and tips.
 
Some said:
I'm still in the dark about a lot of this but I've learned a lot. One way or
another I've managed to get my file back where I wanted it. Thanks for all
the information and tips.

I did recently find the <b>real</b> answer and I'm putting it here in case
anyone with the same problem ever reads this:- I simply had to change the
pointer in the Registry which points to GM.DLS and change it to point to the
file I wanted.

HKEY_LOCAL_MACHINE\Software\Microsoft\DirectMusic
GMFilePath=SystemRoot%\SYSTEM32\drivers\GM.DLS

Simple when you know how.
 
Back
Top