Home > Technical > Reset a Forgotten Blackberry Administration Service password

Reset a Forgotten Blackberry Administration Service password

Download SQL Management Studio Express

Run the following query against BESmgmt and the table dbo.BASUsers

This will create you a user called admin with a password of blackberry.


DECLARE
@DisplayName VARCHAR(256),
@Authentication VARCHAR(256),
@AuthenticatorTypeId INT,
@AuthenticatorInstanceId INT,
@ExternalAuthenticatorId VARCHAR(255),
@EncryptedPassword VARCHAR(256)

/************************************************************
Start of editing required section
*************************************************************/

SET @DisplayName = 'System Administrator' -- Display name (Not always used)
SET @Authentication = 'BAS' -- 'BAS' for BAS authentication
SET @EncryptedPassword = '2951a982f568f15567b7c6e0e50990b9' -- Encrypted string of password 'blackberry'

/************************************************************
End of editing required section
*************************************************************/

IF @Authentication LIKE 'BAS'
BEGIN
SET @AuthenticatorTypeId = 0 -- Set to 0 for BAS
SET @AuthenticatorInstanceId = 0 -- Set to 0 for BAS
SET @ExternalAuthenticatorId = NULL

EXEC SetUpBASorADAuthentication @DisplayName, @AuthenticatorTypeId, @AuthenticatorInstanceId, @ExternalAuthenticatorId, @EncryptedPassword

END
GO

SOURCE : Orginal Source

  • ryan

    awesome!!!!!!

    for some reason my current bes express 5.01 refused AD logins due to kerberos issues in a mixed 2003-2008r2 domain setup. it was working forever then just broke on us

    using this i added a BAS account so i can at least manage the server until we upgrade the domain level

  • Sharing

    Whaoo, it work for me…
    Thank you