This was an error I found on my computer that I did a search on the web for a quick and easy fix for. I found this forum that had my error and symptoms, but found no one had a solution. The thread was closed because the original poster had not responded to the posts in over a year, even though it sparked a lively discussion with others saying they had same problem (at which Daniweb admins kept scoffing! I say LET THEM POST! Even if they don't have an answer, knowing that others have the same issue and finding out how it was caused in each case can be very good and help toward a solution!). I thought that was @$$ and was what made me join this forum, to give those having this problem the answer they deserved and not the closed thread they got in return. Whataloadacrap.
Background: This error occurs after trying to uninstall the updated (and overrated) C-Media WDM Audio Driver for onboard sound that appears after upgrading to XP SP2 and/or going to WindowsUpdate. Likely the driver didn't work, so you tried uninstalling the driver and were going to put back the old Realtek AC'97 driver, but couldn't get rid of the updated driver.
To fix: Start, Run, type in "regedit" (no quotes), and delete the cmaudio string from
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run. This makes it so it will not run on startup and try to find the cpl file that was deleted during the uninstall or not installed correctly by the installer in the first place, whichever your case depending on when you started seeing the error. If your sound was working perfectly before this, you are done. To get your sound working again if it isn't, read on -
While still in the registry editor, click on the top computer icon in the Registry Editor to highlight it (so that it will do a complete search of the registry and not just from your present point forward), do a Find (Ctrl+F) and find and delete all KEYS related to cmaudio and C-Media, not just the string entries, but the KEYS, except for that entry in the Run key I mentioned above, just delete the cmaudio string for that one.
Delete the string "CMCPlus" from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Cpls to get rid of the Control Panel icon, and delete the file it points to that resides in C:\Windows\System32.
Download this remove utility from
http://ekiis.com/Freesoft/binary/remove11.zip
and run the file you find in the zip file - it can be ran without extracting it from the zip. Take out the C-Media Audio Driver line.
-- NOTE: This utility is for taking the name out of the Add/Remove Programs section only, and does not remove it from your computer, but it is very useful for issues like this when we are MANUALLY uninstalling a program to take it out of the Programs list and should work in 98/ME/2000/XP.
Delete these files from the C:\Windows\System32 directory (or "System" directory for Win98)
cmirmdrv.exe
cmirmdrv.dll
cmuda.dll
Delete everything you can readily delete in C:\Temp, C:\WINDOWS\prefetch (XP only), C:\WINDOWS\Temp, and C:\Documents and Settings\%YourName%\Local Settings\Temp (2000 and XP only), so that there will not be any files left for it to try to recover the driver from. You will likely have to leave things that start with hsperfdata_ and Perflib_Perfdata_***.dat files if you find them, but should be able to delete most others without changing attributes.
Now open the Device Manager (Right-click "My Computer", hit "Manage", then find Device Manager in the Computer Management console). Right-click the C-Media WDM driver under Sound, video, and game controllers, hit Uninstall. Then right-click the top computer icon listed there with your hostname beside it, hit "Scan for hardware changes". It should install a generic "Multimedia Audio Controller" instead of the "C-Media WDM Audio Driver", though you might see that C-Media Audio for just an instant before it reverts back to a generic driver (if it stays, you'll have to go back through the registry again, delete the system files again, and do a full search of your hard drive for those files so they don't get re-copied again). From here you can download your specific Realtek AC'97 Audio Driver setup.exe file here or use your motherboard's installation CD to re-install and you should have sound again.
Good luck.
Forgot to mention: Must delete cmuda.dll from C:\Windows\System32\drivers as well. And that was supposed to be Cmcpls in the other post for the "Cpls" section, not CMCPlus - wrote that kinda hurridly, but hopefully you all could figure it out.
Side note --- I have found that on a computer with muliple users with this issue that, when they log in, the C-Media driver kicks in again, and this fix won't work on their side of the fence, though your side that you started all this on and fixed will work fine. You would have to try to find out where the cab file or whatever it downloaded into/as and delete that for this to work, as it's obviously still pulling that C-Media driver from SOMEWHERE - I haven't found it yet, as I thought it would have been in one of those Temp locations - always good to delete those out from time to time, anyway. I don't know if I'll waste my time with it or if I will find it, since it's just me and my wife and it's just her side that's messed up now, and she has her own computer and doesn't log into mine very often :cool: . Have some other things SP2 messed up that I think I'm gonna just fix with a re-install rather than taking the weeks to find one cab file that has what I'm looking for, but thought I'd pass on the warning to not expect a complete recovery for other users on the computer, unless someone else has a better answer... Best of luck.
Obviously check to see if cmicnfg.cpl is in C:\Windows\System32 and C:\Windows\LastGood, and delete it if it is. I deleted everything in C:\Windows\System32\ReinstallBackups, but to no avail. Sound is still good on my side, though :-) .
FIXED - for both users! But you guys aren't gonna like it 'cause I think I got real lucky.
OK, made sure all files were deleted and registry entries gone, right? Do the Device Manager "Scan for hardware changes", but I had C:\WINDOWS\System32 open at the same time. Saw it putting in those @#$% C-Media files again - cmuda.dll, cmirmdrv.exe, cmirmdrv.dll. Deleted them as soon as they appeared. C-Media could not finish installing. Left me with what I needed, the generic "Multimedia Audio Driver" with an exclamation point that I wanted. Immediately ran setup.exe for Realtek AC'97, rebooted, and works great.
THANK YOU!
Very thorough answer. I did my usual Patch Tuesday updates and when done, NO SOUND!
AARGH.
got it working again by rolling back driver in device manager but this error lingered on every boot up since then.
I'm glad to hear I helped someone out, and for the good comments. I'm just glad, as well, that I was able to get it working again for myself! Of course it's always good to share the wealth. Keep up the good fight. Tom
I have spent 2 days trying to remove this error from my computer. :mad: I have followed all details as above remove all registry files ,, and all system files cmirmdrv,cmuda. Unistalled all software from the add remove program. I have carried out searches on system for any programs left on the system called Realtek,C-audio,c-media,advace 97 and the search comes back all clear. Cleared all temp folders.I restart computer then the error shows up again.
What is causing this nusiance error to come up? :?: PLS HELP!!!!
Quick summary:
- Delete the cmaudio string from
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run. This will get rid of the error on startup, but only because you're taking the command it uses to load this driver at startup out, thus preventing it from loading at startup. This part is a cosmetic fix, essentially.
- Do a Find in the registry (Start, Run, regedit) for all keys related to cmaudio and C-Media and delete them. Delete the string Cmcpls from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Cpls to get rid of the Control Panel icon.
- Delete the files
C:\WINDOWS\System32\cmirmdrv.exe
C:\WINDOWS\System32\cmirmdrv.dll
C:\WINDOWS\System32\cmuda.dll
C:\WINDOWS\System32\cmicnfg.cpl
C:\WINDOWS\System32\Drivers\cmuda.dll
C:\WINDOWS\System32\LastGood\cmicnfg.cpl
- Download this remove utility from
http://ekiis.com/Freesoft/binary/remove11.zip
and run the file you find in the zip file - it can be ran without extracting it from the zip. Take out the C-Media Audio Driver line.
Reminder: This utility is for taking the name out of the Add/Remove Programs section only, and while it can be used for other programs in this way, it removes it from the program list ONLY and doesn't actually remove the program. But it is nice for something like this. (98/ME/2000/XP)
- Go to your Device Manager (right-click "My Computer", hit "Manage", then find Device Manager in the Computer Management console). Right-click the C-Media WDM driver under Sound, video, and game controllers, hit Uninstall. At this point, open up the C:\WINDOWS\System32 folder, make sure there are no blank spaces (View -> Arrange Icons By -> Name) so that any driver files that may get copied don't end up anywhere but at the bottom of the folder once you hit refresh during the re-installation.
- Tricky fail-safe re-installation: Right-click the top computer icon in the Device Manager, hit "Scan for hardware changes". You will need to hit refresh in the C:\WINDOWS\System32 folder window (right-click in the window, hit Refresh) CONSTANTLY during this installation. The files cmuda.dll, cmirmdrv.exe, cmirmdrv.dll may start appearing in C:\WINDOWS\System32 at the bottom of the folder, but MAY show up alphabetically. Delete them as soon as they appear - VERY IMPORTANT! You'll need to delete these immediately in order to head off the installation BEFORE it completes.
- C-Media should not be able to finish installing. It should leave you with the generic "Multimedia Audio Driver" with an exclamation point.
- New Note: Go back through the registry to verify the C-Media, cmaudio, and cmcpls entries have not returned, and delete any if they have.
- As long as you have the generic "Multimedia Audio Driver", run the setup.exe for Realtek AC'97 and it should install correctly.
- You'll need to do these steps for each user on the computer. Sorry, best I can do right now on that one....
You may ask, if the entries are mostly back but you have the "Multimedia Audio Driver" now, what the point was of removing the registry entries in the first place if you were just going to have to delete the entries again when all you had to do was to delete 3 files to prevent the installation from completing. The reason was to buy you time to delete those 3 files before the installation completes, because it takes no time at all for those files to copy.
- As long as you have the generic "Multimedia Audio Driver", run the setup.exe for Realtek AC'97 and it should install correctly.
- You'll need to do these steps for each user on the computer.
Deleting the temp files I mentioned didn't seem to have much effect on this issue, but I put it in just in case before. It can be done or skipped, and can try it with or without.
Sorry, I haven't been able to figure out how to get a driver Windows has in its driver list OUT of that driver list once it has been added. As with any manufacturer, if you install their drivers, Windows remembers them and keeps them in its list from then on and will access that list when trying to install/re-install devices. I don't know how to remove them from it, so this is the best I can do. Maybe someone else knows where that driver record is kept, but it's not in the registry from what I can tell.
It maybe that it simply reads the driver .ini files in the C:\WINDOWS\Inf folder or somewhere to create the list, and just a matter of finding the one and deleting it and its associated PNF file, but it's not among the obvious WDM .ini files, nor does it start with "cm" if it is in the Inf folder, and I don't really have the time right now to look at each .ini to find out where it's pulling its data. Maybe do an "all-files" search of your hard drive for "*.ini" (no quotes) and open them to see what device they're for. That's as much as I can say on that, so that's the reason for my procedure of trying to head of the installation before it completes. When I have more time I may do this myself and post up my findings again. But hopefully it should work if you do everything in order and your timing is right.
HI there,
I thought you guys would be interested in the quick fix I found on the net RE: loss of sound (due to the upgrade to c-media audio driver via windows update) and the recovery of your old RealTek AC 97 driver.
http://answers.google.com/answers/threadview?id=248586#comments
I was up and running in two minutes. Hope it helps,
Jemton. :cheesy:
Thanks a million. This problem drove me close to the brink of madness.
You saved me, the computer, and the window from destruction.
Now I owe the group one, so I hope somebody somewhare has a problem I can help them solve.
If they are running Microsoft, I probably won't have to wait long.
J O
Thank You For Solving This Problem - I Fixed 3 Of My Pc's
Why Doesnt C-media Put This Info Or A Patch On Their Site!!!!!!!!!!!!!!
Will This Problem Ever Come Back And What Causes It?
Thanks Again
Its all very well resolving the problem when it is in XP but once you have done so why not go and do a Windows XP back-up into a nominated separate partition, preferably on a second HD. Partition Magic 8 is best and easiest for partitioning drives in a sensible fashion and it does much else besides - I'd be lost without it. Once you have the back-up stored away, anything that goes wrong can be easily corrected - back-up your own stuff onto a CD or two or three if you can first so that you can update the XP back-up. When using the back-up facility I would advise electing to choose what to back up rather than letting it rip. It is better than the restore function and overrides it in fact. I offer this advice from personal experience with the specific problem in this thread.
Just wanted to comment on that one post a few posts back, referencing a post that referenced an Experts-Exchange solution, for Win98. The solution on that site was to figure out your sound card model and get and install the drivers for it. Well thing is, I would think they wouldn't install after you have the C-Media ones installed - even on Win98 you should have to remove the C-Media ones first. Hopefully those with XP will know that if they did this, it would just find and install the drivers again, so it isn't that simple in XP, so you have to do it in such a way that XP won't put back the C-Media drivers before you get the chance to install your model's previous driver. My way does that, even if a bit tedious - believe me, I tried it their way when I was trying to figure this one out and it didn't work, so hopefully those with XP will know to not follow the Win98 solution, as XP would always put back the C-Media drivers. Win98 doesn't, and so it's a little easier. I didn't go the hard road for no reason.
That said, the idea of having XP installed on a separate partition or hard drive in the same computer is a great idea to take care of issues like this, though you don't necessarily need Partition Magic to do it unless you want a smaller area than the entirety of a second hard drive or smaller than the rest of a single hard drive partitioned - but otherwise, just pop in an XP CD while booted up in XP - it will ask you during the setup where to install it. I have done it on another computer, just not the one with this sound issue. If you can boot from a 3rd medium, like a Bart PE disc ( www.nu2.nu) , you could copy the system32 directory from the good to the bad with no issues, as long as you had every application that you had installed on the bad one also installed on the good one. Otherwise you'd have some programs that will have files, but no registry entries, and so will no longer work and will need to be re-installed. Without a PE disc you could still do it: copy the files from the good to the bad, but put them in a temp directory. Boot into the good side, then copy the files out of the temp directory into the Windows directory. More cumbersome, but effective nonetheless. Good post.
I want to THANK YOU FOR SOLUTION, I was soooo tired of that pop up at startup. It put me back in control without erorr now. all I need to do was go to reg and delete the three files CMaudio, C-media and Cmcplus.
Not a problem, thanks for the praise. I just hope you uninstalled the C-Media driver and re-installed your old one and did a reboot to be sure C-Media didn't come back - I thought I had beat this one a couple of times before my final solution, only to find it come back on me after a reboot. If you had sound the entire time, but just had the startup error, all you had to do was delete the cmaudio string in HKLM\Software\Windows\CurrentVersion\Run.
But this is something XP will always do when you log on, for those that may be wondering why it always re-installs at startup, is a hardware detection. If any driver files are missing for devices it detects, if it has the files, it will reload the files (if it doesn't have them, it prompts you to tell it where they are). Usually this is good. In this case, if the C-Media wasn't working, it can be bad, if C-Media is removed without re-installing a good driver, since XP will be auto-reloading bad files. But if C-Media was working, just giving the cmicnfg.cpl error, just get rid of the Run string for cmaudio to keep it from checking for that on startup and giving the error, as the driver itself is good. Anyway, glad I could help.
I still think PM8 is worth the money, especially as large/second HDDs are the norm these days. But I am now more interested in AdawareSE set-up. I thought somebody in this thread gave a detailed set-up but I cannot trace it as it was perfect for me and I want to copy it out for posterity. Any feedback out there?
:cheesy: THANK YOU!!! I'm NO expert but followed navyjax2's instructions and all fixed :cool:
I followed as many steps as i could to delete everything
I went through regedit and deleted all strings and traces
Now, i dont use my on-board sound, i use my sound card, my sound works fine but the damn error messege on boot is annoying as all hell
I went into BIOS and disabled all on-board properties, and drivers, but still get the error messege
I went into msconfig and unchecked it, but it just comes back up
can anyone help me?