Installation and deployment
Version 7.x > Installation and deployment > I need to reset administrator password the "hard" way, editing the database View modes: 
User avatar
Member
Member
magnus-tenk - 7/31/2013 9:45:56 AM
   
I need to reset administrator password the "hard" way, editing the database
I tried to follow some old advise here in the forum about resetting the UserPassword of the CMS_Users table to '' (empty). But the system still don't let me log in as administrator.

I just restored this site (Kentico 7.0) from backups and it seem to work, i just can't log in.

Any advise would be most appreciated.

/Magnus.

User avatar
Member
Member
magnus-tenk - 7/31/2013 10:01:10 AM
   
RE:I need to reset administrator password the "hard" way, editing the database
Ok. I will answer myself. The change didn't "go through" right away, not even restarting IIS helped. I decided to give the old "Delete everything in Temporary ASP.NET Files"-trick. That worked and the problem is solved. It could of course be totally unrelated, perhaps just a cache timer that expired whilst I cleared the temp folder.

/Magnus

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 7/31/2013 1:43:02 PM
   
RE:I need to reset administrator password the "hard" way, editing the database
Hello Magnus,

you can also use the web.config key mentioned in Developers Guide: Password recovery section.
Anyway, I'm really glad that you were successful!

Best Regards,
Martin Danko

User avatar
Member
Member
magnus-tenk - 8/5/2013 8:52:30 AM
   
RE:I need to reset administrator password the "hard" way, editing the database
Thank you, always good to have an option. Also a good reminder of that reading the documentation always is a good idea :)

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 8/5/2013 10:16:06 AM
   
RE:I need to reset administrator password the "hard" way, editing the database
Hi Magnus,

No problem and you're welcome. Reading the documentation is the best idea as first :)
But don't worry, sometimes I don't that there are some "hidden"chapters just a little bit deeper in the tree.

Best Regards,
Martin Danko