The Kat's Work - Blog
Main | Blog | Registration | Login
Thursday
2024-03-28
1:04 PM
Welcome Guest | RSS
Main » 2011 » September » 20 » Unlocking SA password in Microsoft SQL Server 2008 on windows server.
5:57 PM
Unlocking SA password in Microsoft SQL Server 2008 on windows server.
Recently due to transposition errors ( I typed it in wrong,) i had to unlock the SA password on one of our servers (in my defence i didn't even know this database existed.)

Good thing with having an all Microsoft solution is that local admins ,if set up correctly, have access to sql servers as sysadmin.

To enable this behaviour though you must add the local admin to the user group SQLServer2008MSSQLUser$<servername>$<instance>. Which should already exist. A word of warning when I say local admin I mean local admin, not domain users with local admin rights I mean <servername>\<Administrator UserName>.

Now to log in using windows authentication using the local admin you must run the server in "single user mode.” To do this stop the SQL Server service. Add -m as a startup parameter than start the service.

You will now be able to login into to the sql server using enterprise manager and windows authentication. Once logged in unlock the SA user (you will need to change its password to unlock,). Once SA is unlocked restart the sql service without the -m parameter and log on as SA.

I would recommended at this point making a backup SA user and storing its details securely.

Views: 3461 | Added by: The_Kat | Tags: SA Password, Locked SA Password, SQl 2008 | Rating: 5.0/1
Total comments: 2
2 Darb  
0
Hey there would you mind letting me know which web host you're using? I've loaded your blog in 3 different browsers and I must say this blog loads a lot faster then most. Can you recommend a good web hosting provider at a fair price? Many thanks, I appreciate it! раскрутка бесплатно http://www.dv-magic.ru/optimizatsiya-i-prodvizhenie/

1 raskrutka-saytov-prodvizhenie  
0
У меня есть проблема с моими родителями .. В то время как я действительно ценил моими учителями и друзьями за всю работу я делаю, они (мои родители ) , как правило, забывают о всей моей работы и высоких достижений , и сосредоточиться только на часы я облегчить себя, смотреть телевизор и веб-серфинг . Это , по иронии судьбы , создали негативный образ моего дома , по сравнению с моим школьного где я чувствую себя счастливым и опытный ( думать о выходные быть негативный опыт , звучит как другой мир , не так ли? ) .. Должен ли я игнорировать мой родители мнение и поведение по отношению ко мне , или попытаться сделать их изменить свое отношение .. Если вы можете найти меня некоторые психиатрические мнения и цитаты , я буду действительно счастлив ..

Name *:
Email *:
Code *:
Login form
Adverts
Search
Calendar
«  September 2011  »
SuMoTuWeThFrSa
    123
45678910
11121314151617
18192021222324
252627282930
Entries archive
Site friends
  • Create your own site
  • Spree4.com
  • My Blog
  • Statistics

    Total online: 1
    Guests: 1
    Users: 0
    spree4
    Copyright MyCorp © 2024
    Website builderuCoz