Viewing post 1 (of 1 total)
For SQL Server 2008 R2 and later you could take advantage of DMV's and use a script like the one below:
USE [master]
GO
SELECT value_data as [AccountName], registry_key
FROM sys.dm_server_registry
WHERE
registry_key LIKE '%MSSQLSERVER%' ...
October 5, 2012 at 10:13 am
#1546198