Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2006, 09:27 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Sql Server Password Retrieve

Hello,

A few weeks back I installed sql server on my local mechine and entered a password for default user 'sa'.
But now, I forgot it's password. How can I retrieve or change the sql server password?

Any Idea..
Any Help...
Will really be appriciated....

Regards,
Zeeshan Ahmed

P.S: The sql server is installed on my local computer which has Windows 2003 Server.





 
Old February 27th, 2006, 11:00 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I have good news and bad news. The bad news is that there is no way to retrieve the 'sa' password. However, the good news is that this is fixable without reinstalling, and it only takes a couple of steps. The first thing to do is to open up SQL Server Enterprise Manager and register the same server using Windows Authentication. Once the server has be registered, you can expand the Security node and open the properties of the sa account and change the 'sa' password.

Just a note: The windows account you register the SQL Server with must have admin privledges.

Hope this helps.

Scott

 
Old February 27th, 2006, 11:43 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Hello Scott,

Thanks for quick response. Is there any possibility to change the password using some other option. I have all the admin privilages and have access to control panel options.

Regards,
ZA

 
Old February 28th, 2006, 09:49 AM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Not unless you have another SQL account that has admin priveledges and can log in with that account. Other than that, no.

Your only other alternative is to physically copy the databases you want to keep to another location (you might need to stop the SQL Server service to do this) then uninstall/reinstall SQL. Then reattach your databases.

Scott






Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to retrieve data from SQL Server abhishekkashyap27 C# 2005 1 February 11th, 2008 09:19 AM
Password Field in Sql Server 2005 Plz help zrtv SQL Server 2005 2 January 7th, 2008 06:26 PM
SQL Server Access ID & Password sosborne BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 4 November 7th, 2006 05:34 AM
using oledb to retrieve data from sql server w A2K nikesierra2306 Access VBA 0 October 20th, 2004 04:36 PM
retrieve data from SQL server wih XML Thebravehearth XML 3 October 7th, 2004 02:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.