Quantcast
Channel: Sqlserver Blog » Scripts to use
Viewing all articles
Browse latest Browse all 10

Script to change SA password without having old password

$
0
0
Change the ‘SA’ password without having old password Use OSQL with the –E option (for authenticated user). If you are an administrator of the OS, you will get in without being prompted for the sa password. Once you are at the OSQL interactive prompt, issue the following command: ————————————————————————————————— EXEC sp_password NULL, ‘newpassword’, ‘username’ GO

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images