Many times users will only have the portal admin account and not the host account which contains the highest level of permissions and allows for installing modules and overall portal maintenance.
One of the most common issues website owners have is they outsource the setup and maintenance of their website then for one reason or another they need to bring in another developer and the first thing that developer will ask is: “What is your HOST password?”.
If you don’t have the answer to that question don’t worry there are a few ways to recover this password. The long way is to find a user whos password you do know replace the encrypted password and salt key of the host user with the user you do know. That works fine and is useful and all but requires a firm understanding of using SQL and the inner workings of DNN. But there is a better way.
Forgot Password system will not work.
DotNetNuke for security reasons will not return a password in the forgot password system when sending emails to the host user accounts.
I have FTP access to my website.
If you have FTP access to your website you can recover your host password with a little bit of coding. Follow the steps below and we’ll create a webpage that will return your host password.
- Create a new text file called RecoverPassword.aspx
- Paste in the follow code:
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
- Now upload the file to the root of your DotNetNuke installation and visit the page.
- Copy the password and REMEMBER to delete this page IMMEDIETELY so you don’t forget and your host password is exposed.
Slight variations to this script can be made if the developer removed the default host user account or you simply want to retrieve the password for another user.

Worked like a charm