December 11, 2013 at 9:29 pm
Hi friends
At one of our client side we are not abled to get logged in sql server through windows login and we donot have sa pwd or any other sql logins.Any idea now how to proceed.
Thanks and regards
Anoop Pandey
December 13, 2013 at 9:32 am
If BUILTIN\Administrators has been left enabled you could try getting your account added to the server Administrator group temporarily to allow you to log in to SQL Server and then grant your windows account permissions.
If BUILTIN\Administrators has not been left in place then to recover the sa password you will still need to be added to the Administrator group on the server but you are going to need to stop SQL and start it in single-user mode e.g. net start mssqlserver /m this will then give members of the Administrator group access to SQL Server. You can then grant access and/or change the sa password.
There are a couple of articles on the web that go into more detail if you search for "recovering the sa password".
December 13, 2013 at 9:34 am
anoop.mig29 (12/11/2013)
Hi friendsAt one of our client side we are not abled to get logged in sql server through windows login and we donot have sa pwd or any other sql logins.Any idea now how to proceed.
Thanks and regards
Anoop Pandey
this script from microsoft has worked flawlessly for me twice now; it's a cmd/bat file which prompts you for the servername,a dn adds the current windows suer as an admin tot eh instance you identified.
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply