Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi all

I forgot my sql server username and password..now i am working in windows authentication mode.
please tell me how to retrieve the password.
its urgent please
Posted

1 solution

Try this.

SQL
exec sp_password @new='changeme', @loginame='sa'

alter login sa enable


ALso check this if id didnt work.
http://www.tech-recipes.com/rx/3766/sql-server-2005-how-to-reset-a-forgotten-password-for-the-sa-account/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900