June 3, 2013 at 11:57 am
Hi,
I need to find account name that SQL Server instance is installed. Is it possible ?
Thanks
June 3, 2013 at 11:58 am
You could use the SQL Server Configuration Manager
June 3, 2013 at 12:18 pm
Installed or running?
June 4, 2013 at 4:23 am
Try this,
DECLARE @ServiceaccountName VARCHAR(250)
EXECUTE master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE',
N'SYSTEM\CurrentControlSet\Services\MSSQLSERVER', N'ObjectName',
@ServiceAccountName OUTPUT, N'no_output'
SELECT @ServiceaccountName
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply