Jump to content

Recommended Posts

Posted

Hi all i have lost my sa password, which up til now hasn't really caused me any problems but i'm forever trying to force off users when doing sims updates and need to know this password, i'm aware that i could change it somewhere within sql but need to know of any knock effects to sims?

 

can i safely change the password with no dramas or if it will cause loads of problems hoe can i find it out (i have full access to the server)

Posted
I presume you have local administrator password for the server hosting the SQL server. Navigate to "E:\Program Files\Microsoft SQL Server\MSSQL$SIMS\BIN" and look for a program called ChSaPwd.exe
Posted

I have created a special admin user for this. As an admin for the sql server you can create a user, then give that user full admin rights over the database. You don't have to disturb the original sa account.

 

It works for me anyway.

 

Best wishes

 

Jay Rubinstein

  • Thanks 1
Posted
full sql server

 

Then you can reset the password using the SQL Server Enterprise Manager GUI tool. Drill down to the logins node for the server you managing:

 

SIMS_server (should the one with white arrow in green circle) then Security then logins then right-click on sa

Just put the desired password in the field labelled password.

 

You can use the sp_password stored procedure to reset the SA password without knowing the original.

 

Hmm interesting. Can you post some example code. Thanks :)

Posted

Have you tried the school's number?

 

If you can set up a different user with full rights, it can be used to force users off. I login to SOLUS with my usual rights, download the new stuff, then go into dbupgrade again as my usual self. When it tells me (and it always does) that there are users logged in, I use the new admin user to force the users off. It works for me.

Posted
You can use the sp_password stored procedure to reset the SA password without knowing the original.

 

Hmm interesting. Can you post some example code. Thanks :)

EXEC sp_password @new = 'newpassword', @loginame = 'sa';

You need admin rights to do this obviously (simplest way is presumably via Windows authentication).

Posted
have tried blank and password and all the usual ones no joy, if i do manage to reset, will it effect sims?

 

I don't think so. The sa password is for the entire SQL Server RDBMS (Relational Database Management System) not the SIMS DB.

 

That's why Capita don't don't ask for your sa password when they you send them your data. They can attach the SIMS database with sa password for their SQL Server.

Posted

EXEC sp_password @new = 'newpassword', @loginame = 'sa';

You need admin rights to do this obviously (simplest way is presumably via Windows authentication).

 

Is domain admin or server local admin rights enough and should hybrid authentication been enabled during MSDE setup?

Posted

EXEC sp_password @new = 'newpassword', @loginame = 'sa';

You need admin rights to do this obviously (simplest way is presumably via Windows authentication).

 

Is domain admin or server local admin rights enough and should hybrid authentication been enabled during MSDE setup?

I just tested it with server local admin rights, and it worked fine. The machine is a test box that's not on a domain, however, so your mileage may vary. ;)

 

Hybrid authentication should have been enabled during MSDE setup for you to be able to use Windows authentication. If not, if it's SQL Server 2005, you can enable it with SQL Server Management Studio; right-click the server, choose "Properties", click "Security" and choose "SQL Server and Windows Authentication mode."

 

If you know the logon details for a member of the SQL 'sysadmin' group, you can use that instead.

 

Hope that helps. :)

Posted

you can uninstall the MSDBE and reinstall it (there is a knowledge base article on it)

 

Re-set up the engine, changing the password to whatever you want, log in again as sa!

 

It only takes a couple of minutes to uninstall / install.

Posted
you can uninstall the MSDBE and reinstall it (there is a knowledge base article on it)

 

Re-set up the engine, changing the password to whatever you want, log in again as sa!

 

It only takes a couple of minutes to uninstall / install.

 

Uraken has the full SQL Server 2000. That's not the kind of thing that you want to uninstall and reinstall unless it's an absolute last resort. You'd also have to be sure you don'r break any other apps that may be hanging from it.

 

I think in this particular case either the Enterprise Manager or an quick SQL script (thanks AJBritton and jonno) should be used.

  • 2 weeks later...
Posted
hi all i'm a bit lost with this post now. I now assume i can change the sa password with no knock effect to sims but whats the best way?
Posted
forget my last post and please except my apologies for being a numpty i just had a quick poke about sql server management came across the sa user right clicked changed the password job's a gud un, good job i only spen ttwo months on this problem then lol

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...