Microsoft SQL Server: Accessing Registry using XPs
While xp_regread read values from registry under exact path specified. To read instance specific registry entries from registry you can use xp_instance_regenumvalues andxp_instance_regread.
My Experience with SQL Server:
DBA Useful Keys: DBA Scripts for SQL & DBA Scripts for SQLServer & DB2 Performance Scripts & SQL Server Performance Scripts & General Useful Commands for Windows & General Useful Commands for UNIX
For DBAKeys(DB2)Visit My DB2 Blog: http://db2key.blogspot.com