[SOLVED] Windows 7 audio gone.

KeithAdv

Member
Joined
Mar 21, 2014
Posts
6
I think it all started when my Win 7 system drive started to go bad. The first thing I noticed (in addition to the disk errors) was that I no longer had audio and midi. I have a specialized audio driver/interface that is still working but everything else is gone.


I'm running 64-bit professional on a home built machine.


The Windows Audio Endpoint Builder service will not start, which keeps the Windows Audio service from starting. If I try to start the Endpoint Builder manually through services.msc, I get "Error 5: Access is denied."


sfc /scannow reveals that MMDevAPI.dll.mui, MMDevAPI.dll, and AudioSes.dll have problems, but it can't fix them. I'm assuming that's why the Endpoint Builder service won't start?

Sadly, I have to confess that I may have made things worse. I grabbed the above two dlls off a web site and tried to do some voodoo Take Ownership to copy them over the existing files that appear to be damaged. I was at least partially successful but I realize now that I may have simply created more problems. I have restored ownership to TrustedInstaller, as far as I know. But then again that also means that I restored ownership to illegitimate files.

I've tried uninstalling and reinstalling my various audio drivers to see if the files get replaced but nothing doing.

This one is way beyond my meager abilities. Any advice/next steps?

Thanks for all consideration!
 
Hello, and welcome to Sysnative!

Thanks for letting me know the past history & the previous repair attempts. I'll get the files patched up and a repair done on the permissions/ownership.


Please run sfc /scannow from a command prompt, then follow the posting instructions as linked above so you can upload the CBS logs here. Make sure to upload the logs *after* performing the sfc /scannow.

Richard
 
Thank you so much! Quick question--do you need the whole cbs folder (including cab files--looks like about 15 mg zipped) or do you just need cbs.log?
 
Hello again :)

I normally ask for all of the files including the cabinet files, because I sometimes need them after looking in the main CBS.log. However, after looking in your log, I don't need them from your machine so all's good.

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe and save this to your Desktop.
  2. Download the file below, SFCFixScript.zip, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.zip.
  5. Drag the file SFCFixScript.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.


Then re-run SFC, let me know the result from that, and re-test your sound.

Richard
 
Last edited:
Richard, I am deliriously happy! Thank you so much!

The fix appears to have run without errors and when I re-ran sfc, it finished with this message: "Windows Resource Protection did not find any integrity violations." All of my audio services appear to be back! After I finish this post I'm going to make an image of the disk! :-)

Here are the results of your script. Please let me know if you need me to anything else. Oh, and did I mention how grateful I am?

Code:
SFCFix version 2.2.0.0 by niemiro.
Start time: 2014-03-22 14:15:49.138
Using .zip script file at C:\Users\Keith\Desktop\SFCFixScript.zip








PowerCopy::
Successfully took permissions for file or folder C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7601.17514_none_570bad8317a3f395\MMDevAPI.dll
Successfully took permissions for file or folder C:\Windows\winsxs
Successfully took permissions for file or folder C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_c7ba8479664636cc\MMDevAPI.dll.mui
Successfully took permissions for file or folder C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioEng.dll
Successfully took permissions for file or folder C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AUDIOKSE.dll
Successfully took permissions for file or folder C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioSes.dll
Successfully took permissions for file or folder C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\prod_wow64_Audio-AudioCore.ptxml
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_b0f9353ed312e131\MMDevAPI.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_23d91ffd1ea3a802\MMDevAPI.dll.mui
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiodg.exe
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioEng.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AUDIOKSE.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioSes.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiosrv.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\EncDump.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\prod_Audio-AudioCore.ptxml


Successfully created directory tree \\?\C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_54da99bb1ab56ffb.
Successfully created directory tree \\?\C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c.


Line blocked (SFCFix.txt): "C:\Users\Keith\AppData\Local\niemiro\Archive\SFCFix.txt" C:\Windows\winsxs\SFCFix.txt.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7601.17514_none_570bad8317a3f395\MMDevAPI.dll to C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7601.17514_none_570bad8317a3f395\MMDevAPI.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_54da99bb1ab56ffb\MMDevAPI.dll to C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_54da99bb1ab56ffb\MMDevAPI.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\x86_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_c7ba8479664636cc\MMDevAPI.dll.mui to C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_c7ba8479664636cc\MMDevAPI.dll.mui.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioEng.dll to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioEng.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AUDIOKSE.dll to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AUDIOKSE.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioSes.dll to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioSes.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\prod_wow64_Audio-AudioCore.ptxml to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\prod_wow64_Audio-AudioCore.ptxml.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\AudioEng.dll to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\AudioEng.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\AUDIOKSE.dll to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\AUDIOKSE.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\AudioSes.dll to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\AudioSes.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\prod_wow64_Audio-AudioCore.ptxml to C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7600.16385_none_dce9602032b1887c\prod_wow64_Audio-AudioCore.ptxml.
The file \\?\C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_b0f9353ed312e131\MMDevAPI.dll is in use and must be replaced over a reboot.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_23d91ffd1ea3a802\MMDevAPI.dll.mui to C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_23d91ffd1ea3a802\MMDevAPI.dll.mui.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiodg.exe to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiodg.exe.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioEng.dll to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioEng.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AUDIOKSE.dll to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AUDIOKSE.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioSes.dll to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioSes.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiosrv.dll to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiosrv.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\EncDump.dll to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\EncDump.dll.
Successfully copied file C:\Users\Keith\AppData\Local\niemiro\Archive\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\prod_Audio-AudioCore.ptxml to C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\prod_Audio-AudioCore.ptxml.


Successfully pended file for replace over reboot: \\?\C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_b0f9353ed312e131\MMDevAPI.dll


Successfully restored ownership for C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7601.17514_none_570bad8317a3f395\MMDevAPI.dll
Successfully restored permissions on C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7601.17514_none_570bad8317a3f395\MMDevAPI.dll
Successfully restored ownership for C:\Windows\winsxs
Successfully restored permissions on C:\Windows\winsxs
Successfully restored ownership for C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_c7ba8479664636cc\MMDevAPI.dll.mui
Successfully restored permissions on C:\Windows\winsxs\x86_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_c7ba8479664636cc\MMDevAPI.dll.mui
Successfully restored ownership for C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioEng.dll
Successfully restored permissions on C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioEng.dll
Successfully restored ownership for C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AUDIOKSE.dll
Successfully restored permissions on C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AUDIOKSE.dll
Successfully restored ownership for C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioSes.dll
Successfully restored permissions on C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\AudioSes.dll
Successfully restored ownership for C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\prod_wow64_Audio-AudioCore.ptxml
Successfully restored permissions on C:\Windows\winsxs\wow64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_df1a73e82fa00c16\prod_wow64_Audio-AudioCore.ptxml
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_23d91ffd1ea3a802\MMDevAPI.dll.mui
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi.resources_31bf3856ad364e35_6.1.7600.16385_en-us_23d91ffd1ea3a802\MMDevAPI.dll.mui
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiodg.exe
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiodg.exe
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioEng.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioEng.dll
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AUDIOKSE.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AUDIOKSE.dll
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioSes.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\AudioSes.dll
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiosrv.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\audiosrv.dll
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\EncDump.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\EncDump.dll
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\prod_Audio-AudioCore.ptxml
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-audio-audiocore_31bf3856ad364e35_6.1.7601.17514_none_d4c5c995fb3f4a1b\prod_Audio-AudioCore.ptxml
PowerCopy:: directive completed successfully.








Reboot:: directive completed successfully.








PostRebootCorruptionDetection::
No hash verification failures detected.
PostRebootCorruptionDetection:: directive completed successfully.








PostRebootRestorePermissions::
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_b0f9353ed312e131\MMDevAPI.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7600.16385_none_b0f9353ed312e131\MMDevAPI.dll
PostRebootRestorePermissions:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.2.0.0 by niemiro has completed.
Currently storing 16 datablocks.
Finish time: 2014-03-22 14:18:09.140
----------------------EOF-----------------------
 
Excellent! I'm so happy for you! If there are no further problems, you are free to go :)

Thank you for being so pleasant and easy to work with.

Richard
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top