Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Query to list the service accounts ?

    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%' ...

Viewing post 1 (of 1 total)