I was doing some testing in my local AEM in useradmin console.
I have created one test user and modifying his role.
I did impersonation with test user and unclicked the box of root folder from the permission tab.
After that everything goes 404 and even after restarting my aem server it didn't ask to login and for all console giving 404.
Can I reset it without re-installing the aem?
Can anyone help me to solve this please
login-token cookie session might exist in the browser which could cause the user to get 404 because user become anonymous after you modified the permission.
Could you try with removing all AEM cookies ?