The Technology Magazine.

Full width home advertisement



Post Page Advertisement [Top]

changing windows 7 /windows xp password with ubuntu live cd

Change Windows Password from Ubuntu/Ubuntu Live CD Enabling Read/Write Access
Install NTFS GUI Configuration Tool by running this code in the terminal
sudo apt-get install ntfs-config
Applications-System Tools-NTFS Configuration Tool

Tick the NTFS partition where Windows is installed and give a suitable mount point like xp. Partions are shown as /dev/sda2 /dev/sda3If you find this confusing,then tick all of them and assign the mount points as xp,xp1 etc. Click on Apply.
In the next window Tick Enable Write Support for Internal Device.
Now your windows partitions are mounted as xp,xp1 etc
You can see your windows partitions mounted here as xp,xp1.Open each one of them and look for the Windows folder.If the Windows folder is in xp then your Windows is installed in that partition.
Installing chntpw
Execute the following command in terminal
sudo apt-get install chntpw Changing the Passwords
The windows passwords are stored in the SAM file located Windows/System32/config.Change the directory to Windows/System32/config bycd /media/xp/Windows/System32/configSince the path is case sensitive you may get an error saying No such file or directory.Open the above path in the Nautilus File Manager and make a note of the Uppercase and Lowercase characters.Sometime the Windows folder might be named as windows with a lowercase w or as Windows with an uppercase W.
Once you are in the config folder execute the following commands in terminal
lsIt display the list of files in the Config folder.Make sure a file called SAM is present.
To display the list of users execute the following command at terminal.
chntpw SAM-l
To change the password of the Administrator account execute the following command at terminal.
chntpw SAM
And follow instructions on the screen to reset or change and press the appropriate key.Example press 1 to reset the password.
To change the password or make a specific user the administrator run the following command in terminal
chntpw -u USERNAME SAM
and follow the instructions on the screen.
Thats it.Now restart and boot into Windows and log into the Administrator Account without any problems.

No comments:

Post a Comment

Dear visitor,
Please do not post spam. All comments will be moderated before approval.

Bottom Ad [Post Page]

| Designed by