How to add auto generate password link for admin?
You can used hook_user_presave() to get the changed password in your module:

function mymodule_user_presave(&amp;$edit, $account, $category){
 echo $_REQUEST['pass']['pass1'];
}


and use the functions hook_mail() &amp; drupal_mail() to send the email in hook_user_presave() with the changed password in $_REQUEST['pass']['pass1'].