• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Reset Password SA MS SQL ***

Newbie Spellweaver
Joined
May 23, 2012
Messages
73
Reaction score
42
If you have forgotten your password you can reset the MS SQL query.
PHP:
GO ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master] GO USE [master] GO ALTER LOGIN [sa] WITH PASSWORD=N’NewPassword’ MUST_CHANGE GO
 
Last edited:
You got reported! :o
Joined
Oct 15, 2011
Messages
634
Reaction score
102
hard translated...:

"if you forgit your SQL password from user SA dont use this query cause u will lose it"

o_O
 
Experienced Elementalist
Joined
Oct 9, 2012
Messages
226
Reaction score
76
yes but you have to run that command from server admin or user with permissions to edit it. If someone have only one account then its harder ^^
 
You got reported! :o
Joined
Oct 15, 2011
Messages
634
Reaction score
102
point A...: there is a little thing... "remember user"....

point B...: there is something, called "textfile".... useable to write something into there.. maybe p0rno links, conversations and maybe, really only maybe, SQL logins also

point C...: if that wont help, go post #6
 
Initiate Mage
Joined
Dec 24, 2013
Messages
2
Reaction score
0
Hi vasyater2

Here are some possible solutions to your problem:-

1. Open the SQL Server express management studio
2.Connect to SQL Server using windows authentication
3.Right click the server name and choose properties
4.Go to security tab. Change server authentication to “SQL Server and Windows Authentication mode”
5.Click OK and restart SQL Server
6.Go to SQL Server studio management express
7.Expand the server and choose security and expand logins
8.Right click on SA, from properties modify the password and confirm password
OR

To reset the sa password, you can make the following:
1. Login to the SQL Server box as the Administrator.
2. Run SQL Server Enterprise Manager.
3. Right-click the server name and choose ‘Edit SQL Server Registration properties’.
4. Choose ‘Use Windows authentication’ and click OK button.
5. Expand a server, expand a Security and click Logins.
6. Double-click the sa login and specify new password on the General tab. (enable Login to)
Or You Can Use

USE [master]
GO
ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master],
DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=ON, CHECK_POLICY=ON
GO
USE [master]
GO
ALTER LOGIN [sa] WITH PASSWORD=N’<insert_new_password_here>’ MUST_CHANGE
GO
or

From a command prompt
OSQL -S <insert_servername_here> -E
1> EXEC sp_password NULL, ‘<insert_new_password_here>’, ‘sa’
2> GO

Further you can check these methods to gain access to you SQL Server Database

wikihow.com/Perform-MS-SQL-Server-Password-Recovery-of-SA-and-Other-SQL-Users-by-a-Software

Regards
henrydesouza
 
Last edited:
You got reported! :o
Joined
Oct 15, 2011
Messages
634
Reaction score
102
hard that you grab out an old threat... pls close it
 
Last edited:
Back
Top