Thursday 23 February 2012

Fix for Forgotten Vista\Windows 7 Password


This is a sequence of steps which requires to boot using the Vista\Win7 OS disc and going to WINRE.

Command prompt needs to be opened. Type what is shown in Red

X:\Sources>

C:  Enter

C:cd windows Enter

In case the system gives error: The system Cannot Find File Specified then Change the Drive to D:

D:\windows:cd system32
D:\windows\system32:ren magnify.exe magnify1.exe
D:\windows\system32:ren cmd.exe magnify.exe
D:\windows\system32:exit

Restart the system

   Click on Ease of access button on the bottom left hand corner.
   Click on Magnify.exe
The command prompt window will open.
Here The administrator account needs to be enabled and it can be done by typing in cmd.
    
      net user administrator /active:yes         and hit enter.

Now restart the computer
The Administrator account would be shown on the Welcome screen along with other user accounts.
Simply clicking on the administrator account will open up to the desktop as there is no password on this account.
Now Go to User Account Control Left Click on the old Account which had the password issue. On the left side the option to remove password is available. Left Click on it.
Log Off. This will show the Welcome screen with all user accounts. Check if the caller is able to log on the old Account which had the password issue. Then Restart the computer.

   Click on Ease of access button on the bottom left hand corner.
   Click on Magnify.exe
The command prompt window will open.
Here The administrator account needs to be disabled and it can be done by typing in cmd.

Disable Administrator account again the command is  net user administrator /active:no

Then Restart the computer.
Go to the Welcome screen with all user accounts. See if the Administrator log in still visible. If it is then repeat last step again. . If it is not then Restart the computer.
Boot using the Vista OS disc and going to WINRE.

Command prompt needs to be opened. Type what is shown in Red

X:\Sources>

C:  Enter

C:cd windows Enter

In case the system gives error: The system Cannot Find File Specified then Change the Drive to D:

D:\windows:cd system32
D:\windows\system32:ren magnify.exe cmd.exe
D:\windows\system32:ren magnify1.exe magnify.exe
D:\windows\system32:exit


Check if the caller is able to log on the old Account which had the password issue.

No comments:

Post a Comment