1.right click on my computer.
2.go to device manager.
3.Select System devices.
4.right click on high defination audio controller.
5click on disable and disable the driver.
6.right click on it again.
7.uninstall the driver.
8.restart the computer.
9.now install the audio driver again and it will not fail this time.