March 3, 2010 at 2:44 pm
Hi. I thought I would tighten security by removing BUILTIN\ADMINISTRATORS from the sysadmin role. I connected to SQL using Windows Authentictication, the account used is a domain account and is a member of sysadmins.
After removing BUILTIN\ADMINISTRATORS from sysadmins I was unable to select other logins. I disconnected and reconnected. The only logins visible were BUILTIN\ADMINISTRATORS and sa?
Any ideas?
Thanks,
Phil.
-------------------------------------------------------------------------------------
A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."
Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '
Tommy Cooper
March 3, 2010 at 3:39 pm
So, you basically removed yourself from sysadmin access because your login is a part of the BUILTIN\Administrators group.
A couple of options:
1) Connect with a known SQL account with sysadmin privileges and grant your login sysadmin rights.
2) Put your windows account in the SQL Windows group for that instance, login and add your login explicitly with sysadmin rights, then remove your windows account from the group.
3) Put SQL Server in single user mode and connect using the sa account or DAC. Explicitly add your windows account to SQL Server with sysadmin rights.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 4, 2010 at 1:38 am
Thanks Jeffrey.
-------------------------------------------------------------------------------------
A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."
Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '
Tommy Cooper
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply