Login to SQL Server

  • Hi All,

    We have SQL Server 2005 installed on local system.

    I have access to that instance through 'sa' only. I dont have windows login to that system.

    Now the issue is I have forgot the 'sa' login password and no is there to help me in this issue.

    Don't know whether that instance had builtin login or not.

    Can any one help me ?

    Thanks in advance!!

    Thank You.

    Regards,
    Raghavender Chavva

  • try selecting windows authentication and login to the system. If you have not removed builtin\administrators(it's present by default), you'll be able to login using ur windows login..



    Pradeep Singh

  • ps. (4/13/2010)


    try selecting windows authentication and login to the system. If you have not removed builtin\administrators(it's present by default), you'll be able to login using ur windows login..

    Its also not working......

    Thank You.

    Regards,
    Raghavender Chavva

  • hi,

    Is it possible to run from CMD prompt.....

    if possible we can execute the commands...the authentication mode is set to Mixed mode....

    & Then restart the server.....

    Correct me if i am wrong......:discuss:

  • Sasidhar Pulivarthi (4/13/2010)


    hi,

    Is it possible to run from CMD prompt.....

    if possible we can execute the commands...the authentication mode is set to Mixed mode....

    & Then restart the server.....

    Correct me if i am wrong......:discuss:

    Its already set to Mixed Mode only....

    any way can you tell me how to execute the commands from Command Prompt ?

    Thank You.

    Regards,
    Raghavender Chavva

  • ok.....Thank you.

    Can any body give me the solution how to connect to the SQL Server ?

    Thank You.

    Regards,
    Raghavender Chavva

  • For this one I have a solution, suggest me whether it can be a feasible solution or not:

    As SQL Server is running on local groups --- > We will create a new user on that system and change the SQL Sever service accounts to that new user ---> and then we will login to the server using that new user and then we can login to that instance ?

    Thank You.

    Regards,
    Raghavender Chavva

  • unless you explicitly removed BUILTIN\ADMINISTRATORS login from the server, you should be able to log in using windows authentication with an user who is a member of the local ADMINISTRATORS group on the server... you're sure the account you tried with was in the administrators group?

    If that's not going to work than the method described above (using single user mode) shouldn't work either as that method assumes you have access through windows authentication.

    If that's the boat you're in, I think you need to basically recover the instance- perform a reinstall, set and sa password, restore all the databases except master.

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply