Remove your hard drive, put it in an enclosure, and try to copy the data from it. If you're successful, simply continue with the password change and just reinstall everything if you lost any data.
Thank you for replying. Ihave forgotten the password. How to proceed.Please guide me sir.