I’ve just uploaded a new minor release of dbdesc. This version adds a couple of command line switches to facilitate the integration of dbdesc in custom scripts.
Now you can type:
dbdesc SqlServer -Ls
It will output all the SQL Server instances visible from your computer. Also you can use -Ld to list the databases stored in a server:
dbdesc SqlServer -S Server1 -Ld
I’ve also changed the code to discover SQL Server instances on the network. The old one used a special ODBC network call which sometimes was unable to discover some servers. Now I’m using the .NET 2.0 API that should work much better.
As always, this is a free update for registered customers. Simply download and run the new installer and it will update any previous version of dbdesc.


The link Get Help didn’t bring any help as the error code was not in the list. So I googled for it. Surprisingly I get very few results and most of them were the same Microsoft forum post republished by others sites. The post was simply someone asking for help and a couple of ‘me too’ responses.
As you can see in the image, the installer was not able to start the service. (Note that the error number here is 11402; 2B22 in decimal). After checking the service properties, it turned out that it was configured to run under a user account which password had changed recently. I fixed the problem and run the update again.
The service SQL Server VSS Writer (SQLWriter) was disabled. Changing the Start Up property to Manual did the trick. Finally the Service Pack 2 install succeeded.