Hi @Payne, Scott ,
This happens when SQL Server has a stale or partially dropped machine login in master even though it’s not visible.
Run this to confirm and remove it:
SELECT principal_id, name, sid
FROM sys.server_principals
WHERE name = 'MachineName$';
If a principal_id appears, force-drop it:
DROP LOGIN [MachineName$];
If nothing appears, check for hidden/orphaned permissions:
SELECT *
FROM sys.server_permissions
WHERE grantee_principal_id NOT IN (SELECT principal_id FROM sys.server_principals);
If entries exist → remove them using the principal_id, then add the login again.
If still stuck, run:
DBCC CHECKDB (master);
to rule out corruption in master.
This will clean the invisible login and allow adding the machine name again.
Thanks,
Akhil.