How to change Reporting Server password?
Updated: 21 May 2010 | 18 comments
Hi,
I have a client with SAV 10.1.7.7000 installed. No one knows the password to log in to the reporting server. I have tried all of the username/password combinations that we use.
Is there a way to reset this account password?
Any assistance would be greatly appreciated.
Thanks, Neal...
Discussion Filed Under:
Comments
To unlock accounts
Log on as an administrator on the database server.
Execute the following command from a command window:
osql -E
On the osql prompt enter the following lines (the first two lines end with a semicolon):
use Reporting;
update adminuser set Locked='' where user_name='USERNAME'; <--THIS is NOT CORRECT
go
exit
Replace USERNAME with the name of the user to be unlocked.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OK TechSupport ive tried searching for the real KB article to no avail.. Why don't you just tell us HOW TO ACTUALLY FIND THE ARTICLE??????
Reset the password with the osql command
If the reporting database is a MSDE database, you can use the osql command
To reset the password with the osql command.
On the computer that runs the MSDE database, at a command prompt, type the following command:
osql -U sa -P password -Q "use reporting select user_name from adminuser" -o user_names.txt
where password is the password for the sa user account.
Open the user_names.txt file in a plaintext editor, such as Notepad.
Find the user whose password needs to be reset.
To reset the password, at a command prompt, type the following command:
osql -U sa -P password -Q "use reporting UPDATE adminuser SET password = '6b42f8f5d4e916f55e81c97e0eeafdb1c85fe5bb' WHERE user_name = '<user name>'"
where <user name> is the user name.
Log on to the reporting server with the user name and a password of resetme123.
When prompted, change the password.
Reset the password in Microsoft SQL Server Enterprise Manager
If you use Microsoft SQL Server for the reporting database, you can reset user passwords in Microsoft SQL Server Enterprise Manager.
To reset the password in Microsoft SQL Server Enterprise Manager
1)<SCRIPT></SCRIPT> In Microsoft SQL Server Enterprise Manager, expand the server that runs Reporting Server.
2) Expand Databases.
3) Expand Reporting.
4) Click Tables.
5) In the right pane, right click on the adminuser table, click <SCRIPT></SCRIPT> Open Table and then click Return all rows.
6) Find the user in the user_name table whose password needs to be reset.
7) Replace the existing string in the password table with 6b42f8f5d4e916f55e81c97e0eeafdb1c85fe5bb.
8) Close the adminuser table
9) Click on File and Save and close the window.
10) Log on to the reporting server with the name and password of resetme123.
11) When prompted, change the password.
I tried the same for 8-9 times and it works for me everytime..:smileywink:
Do let me know how it goes..
Rgrds,
SAM
Hi Sam
OK , i tried it , but im using SQL Server Management Studio , i log in as sa
Expand the databases , then expand the Reporting Database
Click on tables and then on the right hand side i right click on adminuser table and choose open table
(i dont see a click on Return all rows option)
I go to the password field and then change the password to 6b42f8f5d4e916f55e81c97e0eeafdb1c85fe5bb.
Close the admin table and then click on save all
Tried logging in and still get username disabled or locked
Ken
Hi Sam
Your solution worked 100% , if you have the correct Database :smileyhappy: the solution will work
Thank you very much
:smileyvery-happy:
Sinisterza
Appreciate for your great support.
We have an MSDE setup for our reporting server and I tried the method listed at the bottom of the first page, seemed to work however I still get the error "User name is disabled or locked" when I try to login.
Any other things I can try besides removing and re-installing the reporting component?
Thank you
Gary
EDIT
I went back and re-read all the info, realised I had the answer all along and was able to reset the locked status! Thanks to all for the information contained herein, it has been a real life saver!!!
For those of you with a locked out problem, and are running MSDE.
Just do as mentioned earlier in the thread to get the username, if also needed reset the password.
To unlock the account just write the following syntax in a command prompt, where you replace <password> and <username> The result .txt is just there for you to verify that it was successful.
osql -U sa -P <password> -Q "use reporting update adminuser set locked='off' where user_name = '<user name>'" -o result.txt
Good luck
Would you like to reply?
Login or Register to post your comment.