Unix Technical Forum

reset sa password msde (sql server 7)

This is a discussion on reset sa password msde (sql server 7) within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi Guys, We've lost the password for the sa. No other users belong to the admin group. I've tried ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 09:29 PM
eddie
 
Posts: n/a
Default reset sa password msde (sql server 7)

Hi Guys,
We've lost the password for the sa. No other users belong to the admin
group. I've tried logging in using osql -E (windows authentication)
without success. Is there anyway to reset the sa password? The database
is MSDE and the version seems to be 7 (sql server 7 folder on pc). It
is running on Windows 2000 professional.Any help would be greatly
appreciated.
Regards,
Eddie

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 09:29 PM
Helmut Woess
 
Posts: n/a
Default Re: reset sa password msde (sql server 7)

Am 24 Sep 2006 14:10:15 -0700 schrieb eddie:

> Hi Guys,
> We've lost the password for the sa. No other users belong to the admin
> group. I've tried logging in using osql -E (windows authentication)
> without success. Is there anyway to reset the sa password? The database
> is MSDE and the version seems to be 7 (sql server 7 folder on pc). It
> is running on Windows 2000 professional.Any help would be greatly
> appreciated.
> Regards,
> Eddie


AFAIK since SQL 7 you have authentication and it is not possible to disable
login per windows authentication. So if you are logged in as windows admin
you should always be able to connect to a database like "master" (if the
server is running :-)) ). Then you can use sp_password for setting a new
password for sa.
Or you stop the server, save your database-/logfiles, make a new install of
SQL Server and then attach your database files again.

bye, Helmut
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 09:29 PM
eddie
 
Posts: n/a
Default Re: reset sa password msde (sql server 7)

Is it possible to upgrade the database without the sa login (and noone
else belonging to admin group)?
Helmut Woess wrote:
> Am 24 Sep 2006 14:10:15 -0700 schrieb eddie:
>
> > Hi Guys,
> > We've lost the password for the sa. No other users belong to the admin
> > group. I've tried logging in using osql -E (windows authentication)
> > without success. Is there anyway to reset the sa password? The database
> > is MSDE and the version seems to be 7 (sql server 7 folder on pc). It
> > is running on Windows 2000 professional.Any help would be greatly
> > appreciated.
> > Regards,
> > Eddie

>
> AFAIK since SQL 7 you have authentication and it is not possible to disable
> login per windows authentication. So if you are logged in as windows admin
> you should always be able to connect to a database like "master" (if the
> server is running :-)) ). Then you can use sp_password for setting a new
> password for sa.
> Or you stop the server, save your database-/logfiles, make a new install of
> SQL Server and then attach your database files again.
>
> bye, Helmut


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com