How to change a lost SA password in SQL Server 2000

How to change a lost SA password in SQL Server 2000

1 -  download sysinternals from :

http://technet.microsoft.com/en-us/sysinternals/bb897553

 

2  – Put it in c:\bin

 

 

 

3 –  kickoff a cmd window (running as Administrator) that will run PsExec and launch another cmd window running as cmd – the parameters I used for PsExec are: Interactive (-i) and Run as System (-s):

 

4 – you’ll get a another  windows  as internal admin now you can run the OSQL command to change the password

 

 

 

5 – Test it :

 

 

 

 

 

 

 

 

 

 

 

sp_password @old = null, @new = ‘test123′,  @loginame =’sa’

 

Posted in Tipps | Tagged , , , | Leave a comment

My xing Profile

Please feel free to take a look at my xing profile :

https://www.xing.com/profile/Abdelhak_Khayi?sc_o=mxb_p

 

Posted in Career | 1 Comment