Introduction There are several tutorials on the internet on how to change the default admin password.
Introduction
There are several tutorials on the internet on how to change the default admin password.
The method involves changing the system administrator account. This method works in some cases but not in others. The reason is the hash that is being used is not always understood by your server. The answer is to use the basutility to generate a has before changing the password by using the following method.Steps (3 total)
a. For a 32bit (x86) Operating System:
<drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\bin
b. For a 64bit (x64) Operation System:
<drive>:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\bin
<drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\bin
b. For a 64bit (x64) Operation System:
<drive>:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\bin
a. For BlackBerry Enterprise Server 5.0 to 5.0 SP2:
basUtility "C:\Program Files\Java\jre1.6.0_45" "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS" encode "blackberry" > C:\temp\Output.txt
b. For BlackBerry Enterprise Server 5.0 SP3:
basUtility "C:\Program Files\Java\jre1.6.0_48" "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS" hash "blackberry” > C:\temp\Output.txt
basUtility "C:\Program Files\Java\jre1.6.0_45" "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS" encode "blackberry" > C:\temp\Output.txt
b. For BlackBerry Enterprise Server 5.0 SP3:
basUtility "C:\Program Files\Java\jre1.6.0_48" "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS" hash "blackberry” > C:\temp\Output.txt
a. use besmgmt
update dbo.basusers set loginpassword = 'Hash' where displayname = 'system administrator'
update dbo.basusers set loginpassword = 'Hash' where displayname = 'system administrator'
b. Run the following command in a command window
sqlcmd -S .\blackberry -i C:\temp\password.sql
sqlcmd -S .\blackberry -i C:\temp\password.sql
Conclusion
You should now be able to log into bes with the username admin and the password blackberry. Change the admin password though the BES admin console.
No comments
Post a Comment