Damn, I forgot my windows 7 admin password and Ubuntu 12.04 root password

So? Whats the solution?

Win7: A little search gave me this link: http://pcsupport.about.com/od/toolsofthetrade/tp/passrecovery.htm

Which has quite few tools with tested feedback. After going through few of them, I have used number 2: Offline Windows Password & Registry Editor, Bootdisk / CD. Because it is damn small and easy. It comes with small app to make your pendrive /flash drive bootable. No need for extra hassle. Just extract the usb version to your pendrive and run the command:

X:syslinux.exe -ma X:

Where X is your pendrive letter. Reboot and follow the simple steps: Here.

Ubuntu 12.04: It is far easier if you have no grub password. If don’t know what is grub, it is more likely you do not have password protection. Again simple google search gave me few links, but some were missing one vital info. This one worked for me: http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-root-password. Actual missing instruction was:

mount -rw -o remount /

You need to use this command just before changing the password, as the shell we get doesn’t have write permission to those required files yet. Before running this command I was getting: authentication token manipulation error

Hope this helps someone out there.

Advertisements

One thought on “Damn, I forgot my windows 7 admin password and Ubuntu 12.04 root password

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s