Тёмный

Reset SQL Server Login Password || (Step By Step) 

MilEstOne CrEaTor
Подписаться 40 тыс.
Просмотров 31 тыс.
50% 1

#sqlserver2019 #sqlserver #sqlservertutorial
There are many more similar situations in which people forgot the SA password shortly after installing the MS SQL Server. This article shows you 3 methods to help you change forgotten SA passwords for your SQL Server 2016/2017/2019/2012/2014/2022 database installation.
✅Option 1:
Change SQL Server Password in Management Studio
If you've forgotten the sa password for your SQL server, you are probably in a panic. Fear not, for you can change the password and once again have access to the powers of the SA account using Windows Authentication mode.
1.)Login into SQL Server using Windows Authentication.
2.)In Object Explorer, open the Security folder, and open Logins folder. Right-click on SA account and go to Properties.
3.)Change SA password, and confirm it. Click OK.
✅Option 2:
Change SQL Server Password Using SQL Script
1.)Open the SQL Server Management Studio.
2.)Open a New Query.
3.)Copy, paste, and execute the following:
GO
ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master]
GO
USE [master]
GO
ALTER LOGIN [sa] WITH PASSWORD=N'NewPassword' MUST_CHANGE
GO
where NewPassword is the password you wish to use for the sa account.
✅Option 3:
Change SQL Server Password with Third-Party Software:-
1.)Download SQL Server Password Changer on your local PC, install and launch it.
2.)Click the Open File button. Select the SQL Server master database file (master.mdf). Typically it is located in the folder: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
3.)The program will automatically decrypt the master database file and display all user accounts in your SQL Server. Select the SA account, click the Change Password button. Type a new password and click OK.
This session will help you understand the following concepts :
1.) How to create a New Login In the SQL Server
2.)How do you give a user access to an SQL Server database?
3.)How do I create a SQL database single user?
4.)What is the command to create a user in SQL?
5.)How do I grant a user in SQL?
6.)How to Delete Or Drop a Login/User From SQL Server?
✅Applicable For:-
#SQL Server 2012
#SQL Server 2014
#SQL Server 2016
#SQL Server 2017
#SQL Server 2019
#SQL Server 2022
For More Details:- tinyurl.com/yc...
Recover a lost SA password:- tinyurl.com/ey...
-------------------------------------------
👋 Additional resources
-------------------------------------------
Introduction To SQL Server [ What is Database ]:-
• Introduction To SQL Se...
What is DBMS || Database Management System [ In Hindi ]:-
• What is DBMS || Databa...
What is RDBMS ( Relational Database Management System ):-
• What is RDBMS ( Relati...
Database Recovery From MDF And LDF File Using GUI:-
• Database Recovery From...
2 Methods To Create LOGIN In SQL Server:-
• 2 Methods To Create LO...
How To Create a New Login/User In SQL Server:-
• How To Create a New Lo...
How To Delete/Drop LOGIN In SQL Server:-
• How To Delete/Drop LOG...
Reset SQL Server Login Password:-
• Reset SQL Server Login...
✅SQL Tutorial Playlist :- tinyurl.com/mr...
🔔 Subscribe to my RU-vid channel:-
www.youtube.co....
Social Media Link
--------------------------------
LinkedIn:- linkedin.com/in/deepan-kumar-patel-777591202
Facebook:- / dipan.patel.. .
---------------------------------------------------------------------------------------------------------
Thanks for watching...
"Milestone Creator"

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@MartyXXXCZ
@MartyXXXCZ 3 месяца назад
Thank you! By myself I got all the way to the properties tab but I wasn't sure if changing the fields would count as changing the pw and didn't want to mess things up. Thank you!
@sametaba2904
@sametaba2904 2 месяца назад
thank you brother, i was thinking for the past 2 days that if I just disconnect and reconnect to the server it'd be just restarted. you saved me and my sanity!!
@tahirzaman6714
@tahirzaman6714 4 месяца назад
thanks alot sir for sharing this video it's solved my problem of who to reterieve the sql server password. thanks alot sir.
@TheFactsPk
@TheFactsPk 7 месяцев назад
in my case Windows Athentication is also disabled
@MadihaMirza-bc7xb
@MadihaMirza-bc7xb 4 месяца назад
sir i have tried it a lot of time but password not changed what should i do please help me
@kirankumar-oe5fz
@kirankumar-oe5fz 6 месяцев назад
still its not allowing mw to log-in
@abhishekchoubey7935
@abhishekchoubey7935 3 месяца назад
Very informative. Thanks
@NorboyevMuhammad-h1w
@NorboyevMuhammad-h1w 28 дней назад
thank you,this video is useful for me
@AgoodITguy
@AgoodITguy 9 месяцев назад
Thanks a lot sir
@vladshihov5050
@vladshihov5050 6 месяцев назад
Really you made video, how reset password by Management Studio??? LOL!!!!
@smoothlearning784
@smoothlearning784 Год назад
Best video this is🎉
@pritech8302
@pritech8302 4 месяца назад
Thankyou so much
@sherazak90
@sherazak90 2 дня назад
thank you
@ramazborchashvili7976
@ramazborchashvili7976 10 месяцев назад
thanks!
@mostafamohmmad8179
@mostafamohmmad8179 Месяц назад
thx bro
@radosawmaksymiuk4831
@radosawmaksymiuk4831 4 месяца назад
thanks
@BboyGraphicx
@BboyGraphicx 5 месяцев назад
Thank you
@alinadiachek9497
@alinadiachek9497 6 месяцев назад
thank you
Далее
July 31, 2023
1:17
Просмотров 6 тыс.
This mother's baby is too unreliable.
00:13
Просмотров 7 млн
How to Find SQL Server Instance Name
2:09
Просмотров 522 тыс.
Installing SQL Server 2022 Developer Edition
13:19
Просмотров 43 тыс.