To recover the administrator password, save the following script to a file:
<?
require($_SERVER['DOCUMENT_ROOT']."/bitrix/header.php");
echo $USER->Update(1,array("PASSWORD"=>'Bitrix*123456'));
echo $USER->LAST_ERROR;
require($_SERVER['DOCUMENT_ROOT']."/bitrix/footer.php");
?>
Upload via FTP to the site and open it in a browser. After this, the user with ID=1 (administrator by default) will have a password: Bitrix*123456
After that, log in and set your password in the control panel.
Attention! Be sure to delete this file after recovering your password!