Recover SQL Server SA User Password

Опубликовано: 17 Август 2026
на канале: Ricardo Aniceto
4,751
74

Video showing how to reset the SQL Server SA administrator password.
---------------
http://ral1.no-ip.org
---------------
Stop the SQL service: net stop MSSQLSERVER
Restart SQL in single-user mode: net start MSSQLSERVER -m
Connect to SQL: sqlcmd -S localhost

Reset the SA password:
ALTER LOGIN sa WITH PASSWORD = 'NewPassword';
GO
Execute the Ctl + C combination

Stop the service and start it again in multi-user mode:

net stop MSSQLSERVER && net start MSSQLSERVER