Related to this issue, I apparently have orphaned Windows GROUP level logins SQL Server for which the windows account is gone. When I exec xp_logininfo for these accounts, I get:
exec master..xp_logininfo 'DOMAIN\groupname','members'
Server: Msg 8198, Level 16, State 12, Procedure xp_logininfo, Line 38
Could not obtain information about Windows NT group/user 'DOMAIN\GROUPLOGIN'.
and the script fails.
Anybody know how I can trap this error and not abort the script?