Saturday, August 2, 2008

To enable sound in Virtual PC 2007

I resolved this problem in my VirtualPC2007 by following the below steps. wdma_ctl.inf and ctlsb16.sys should resolve the problem. These files can be extracted from a Windows XP product CD.

Insert the XP CD in host OS, then using CD--> Use Physical Drive option to access the CD Drive inside VPC.

Create a folder named SoundBlaster16 in C: drive. Open the command prompt and give the following commands one by one after changing the CD drive appropriately. This will extract the required files to C:\SoundBlaster16
        expand d:\I386\driver.cab -F:ctlsb16.sys c:\SoundBlaster16 
expand d:\I386\WDMA_ctl.IN_ C:\SoundBlaster16\wdma_ctl.inf
Start-->Run and type "Compmgmt.msc." Go to Device Manager and select the problematic soundblaster16 audio device. Right click and select the update driver option.

Choose "yes this time only option" and "Install from a list or specific location" option in the wizard.

Browse and select the C:\soundblaster16 folder created newly. Press Next ignore if any warning messages. This will install the required drivers. Click on finish once the installation is completed.

Go to start-->Settings-->control panel-->Sounds and Audio devices. Check the enable sound option. Restart the virtual machine.This will enable the audio. Check the "Place volume icon in the taskbar" option to get the sound icon in system tray.

This resolves the problem in most of the virtual PCs with windows2003 server, however it was asking the following list of files when i was configuring sound in my virtual PC. This might be because i haven’t installed SP2 yet.
[aec.sys,dmusic.sys,drmk.sys,drmkaud.sys,kmixer.sys,ks.sys,ksproxy.ax,ksuser.dll,portcls.sys,splitter.sys,swmidi.sy,sysaudio.sys,wdmaud.sys]

It was also asking few other files, i was able to select those from C:\windows\system32\ and c:\windows\system32\drivers folder of the Virtual PC itself.

These files also can be extracted from windows XP product CD using the following commands. Select these files from the SoundBlaster16 folder when the popup window asks for the file.
        expand d:\I386\sp2.cab -F:ksuser.dll c:\SoundBlaster16 
expand d:\I386\sp2.cab -F:ksproxy.ax c:\SoundBlaster16
expand d:\I386\sp2.cab -F:ks.sys c:\SoundBlaster16
expand d:\I386\sp2.cab -F:drmk.sys c:\SoundBlaster16
expand d:\I386\sp2.cab -F:portcls.sys c:\SoundBlaster16
expand d:\i386\sp2.cab -F:WDMAUD.SYS C:\soundblaster16
expand d:\i386\sp2.cab -F:sysaudio.SYS C:\soundblaster16
expand d:\i386\sp2.cab -F:splitter.sys C:\soundblaster16
expand d:\i386\sp2.cab -F:aec.sys C:\soundblaster16
expand d:\i386\driver.cab -F:swmidi.sys C:\soundblaster16
expand d:\i386\sp2.cab -F:dmusic.sys C:\soundblaster16
expand d:\i386\sp2.cab -F:kmixer.sys C:\soundblaster16
expand d:\i386\sp2.cab -F:drmkaud.sys C:\soundblaster16

1 comment:

Anonymous said...

what about if host is Vista Home Premium?

please email me at sales(at)cyberpine(dot)com