DAX driver fix batch files

  • 3
  • Idea
  • Updated 9 months ago
  • (Edited)
I will attempt to give credit where due.  These are based off work done by another member here so not my original work.  Unfortunately I cannot remember who that member was.   CRS disease!

There are two batch files:

DaxFixPart1.bat - This removes all dax drivers

DaxFixPart2.bat - This installs all dax drivers

You need to be administrator for these to work.  The way I use them is to put them somewhere easy like C:\DaxFix. 

  1. First, reboot your computer for a fresh start
  2. Then hit your Windows command key or mouse to the Windows symbol.  
  3. Type in:  command
  4. In the list you should see "Command Prompt".  Do NOT hit ENTER or click to run it.  
  5. Instead, right-click on it and select "Run as administrator"
  6. Once that window comes up type:
  7. cd c:\DaxFix     (or whatever directory you put them in)
  8. Then type:  DaxFixPart1   and let it finish.
  9. Optional but highly recommended is another reboot here
  10. If you rebooted, re-run the command prompt again as administrator and CD into your DaxFix directory.
  11. Type: DaxFixPart2
  12. Optional again, but another reboot is highly recommended.
  13. If all goes well you should have working DAX drivers at this point.
https://www.dropbox.com/s/6je9imnqunavk8a/DaxFixPart1.bat?dl=0

https://www.dropbox.com/s/ru74tsswgns4zde/DaxFixPart2.bat?dl=0

Also please note... At the top of each batch file there is code to specifically tries to CD into 2.0.19.  If you have a different version of SmartSDR you will need to change that CD location to match.
Photo of Mark - WS7M

Mark - WS7M

  • 1009 Posts
  • 360 Reply Likes

Posted 10 months ago

  • 3
Photo of James Del Principe

James Del Principe

  • 278 Posts
  • 28 Reply Likes
Thanks, Mark...but so that I fully understand. What do you mean by CD in the above?   I am running version 1.11.12.....so what would I need to do?...Hopefully in simple terms.   Many Thanks and 73, Jim     KD1I
Photo of Larry - W8LLL

Larry - W8LLL

  • 398 Posts
  • 78 Reply Likes
CD = Change Directory.
Photo of Mark WS7M

Mark WS7M

  • 414 Posts
  • 114 Reply Likes
Hi James,

CD does equal Change Directory. 

For 1.x what you will need to do is figure out the exact path to where the SmartSDR stuff is installed.  If you look below at Tim's answer the step by step directions do lead you to where the files would be and you would simply change the CD command at the top to go to that location
Photo of James Del Principe

James Del Principe

  • 278 Posts
  • 28 Reply Likes
Thanks, Mark. I hate to ask such obvious questions but you set it straight. &3, Jim
Photo of WA2SQQ

WA2SQQ

  • 421 Posts
  • 87 Reply Likes
So is this the magic bullet that can be used to restore operation after a Windows update failure?
Photo of Mark WS7M

Mark WS7M

  • 414 Posts
  • 114 Reply Likes
Cool, let me know if they work for you.  As I said above, if you look at Tim's instructions really the batch file just does those automatically.  

Tim is right that if one line fails the next will has no clue and will keep going.  But in my case, twice now, after windows updates these batch files have worked perfectly.
Photo of Clay N9IO

Clay N9IO

  • 528 Posts
  • 123 Reply Likes
Yep Tim's right and I really have had no issue whatsoever doing it that way so second thought probably shouldn't change a thing.
Also can't do anything right now anyway, no radio in the house. "Soon" ;-)
Photo of Mark WS7M

Mark WS7M

  • 414 Posts
  • 114 Reply Likes
"no radio in the house"  Ouch... Hope it comes soon!
Photo of Clay N9IO

Clay N9IO

  • 528 Posts
  • 123 Reply Likes
Me too Mark. Bouvet? Still praying really hard for my friends at FRS.
Did I mention "Programmers RULE"...
Photo of Tom N5MOA

Tom N5MOA

  • 70 Posts
  • 16 Reply Likes
Need to borrow a radio, Clay?
Photo of Bob G   W1GLV

Bob G W1GLV

  • 670 Posts
  • 112 Reply Likes
Works great.
Photo of Clay N9IO

Clay N9IO

  • 528 Posts
  • 123 Reply Likes
You convinced me Bob, guess I'll save that batch file for future use.
Thanks!
Photo of James Del Principe

James Del Principe

  • 278 Posts
  • 28 Reply Likes
Not to beat a dead horse but I'd like your input on an experience I am having with a DAX driver error I am experiencing. On boot up I get: DAX Driver Error:

an error has occurred while trying to open a DAX sound device. The following fault conditions may apply:
-the DAX driver may not be properly installed
-another application has exclusive use of a reserved DAX sound device
-the DAX sound device may have been manually disabled.
If this problem persists, please submit a help desk support request for technical assistance.

I use FLDIGI and it works just fine despite this error warning. So my question is: "Should I reload the DAX drivers per Tim's instructions?" or something else?

Many Thanks and 73, Jim        KD1I
Photo of James Del Principe

James Del Principe

  • 278 Posts
  • 28 Reply Likes
Thanks, Mark. Not sure what other app would use DAX but I will check and take your advice to reload.    Very Best, Jim
Photo of James Del Principe

James Del Principe

  • 278 Posts
  • 28 Reply Likes
 OK, so I tried to follow Tim's procedure to reload the DAX files. I had no luck using CMD commands.  Kept getting directory not found. I am not new to command line work but after the 12th try I went to plan 'B', Windows Explorer.  In Windows Explorer, I located the correct directory for the drivers and right clicked on each of the 4 drivers uninstall file and ran as administrator. After each uninstall, I ran install. After doing all four, I rebooted and wonder of wonder.... no more DAX error and FLDIGI worked fine once more.
So it presents a question:" Why use the CMD prompt if it can be done in Explorer with a few clicks?   73, Jim
Photo of Tim - W4TME

Tim - W4TME, Customer Experience Manager

  • 9152 Posts
  • 3478 Reply Likes
Because if there is an error in the uninstall or reinstall, you cannot capture it for additional diagnostic troubleshooting.

If you were getting directory not found, I suspect that you were not using the directory path of the latest version of SmartSDR.
Photo of James Del Principe

James Del Principe

  • 278 Posts
  • 28 Reply Likes
Thanks Tim. I changed the numbers to match the release level of my current software, 1.11.12.     Was this not correct?       Jim
Photo of Tim - W4TME

Tim - W4TME, Customer Experience Manager

  • 9152 Posts
  • 3478 Reply Likes
That is the correct version.  You can find the batch files using Windows Explorer and validate the path