Windows Server R2 Solution After forgetting the administrator password

Source: Internet
Author: User
Tags administrator password

In daily work, the saddest thing for a network administrator is to forget the local Administrator account password without an alternate administrator account and password recovery disk. In the early days of the system, this kind of thing can be solved by using many Windows PE CDs in China at present. However, for Windows Server R2, the simple operation is temporarily unable to resolve the password problem. However, you can add a local administrator account or modify the Administrator account password by using the command prompt line in the case of bypassing the login by replacing the file and using the workaround method. How to do this: first, use the Windows Server R2 installation CD to boot the computer. After the installation image is loaded, enter the language selection screen, at this point, press "SHIFT+F10", open the command prompt interface, enter the partition of the Windows directory (if Windows is installed by default, and use the "system reserved" partition, or D-drive), and set to "windows\ System32 "directory (1). Figure 12, locate the "Osk.exe" file in the directory and delete it (2). Figure 23, copy the "cmd.exe" rename under the current directory to "Osk.exe" (3). Figure 34, restart the computer, wait for the boot to complete, click on the bottom left corner of the "Easy access" button, in the Pop-up dialog box, tick "Do not use the keyboard type (on-screen Keyboard)", and click "OK" (4). Figure 45, because the file was replaced before, it will now open not on-screen keyboard, but the cmd command prompt interface (5). Figure 56, use the Net user command to modify the password for the local Administrator account (6). Figure 6 Note: If you are unsure of the administrator account name, you can create a new user here and add it to the local Administrators group by following these commands: NET users Adminuser [email protected]/add net localgroup Administrators Adminuser/addUse the local admin account and the modified password for normal login (7). Figure 78, the ability to log in successfully, to prove the password changes effective (8). When Figure 8 is complete, on the computer from other Windows Server R2, locate Osk.exe, copy it to the current computer, and replace the file with the Cmd.exe modified to restore it. Note: By default, Normal Osk.exe can only be deleted and cannot be copied, so copy Osk.exe you must first treat it NTFS permissions to modify. Finally, as time goes by, Microsoft will fix this type of local administrative password modification in the form of an upgrade patch, so it is still advisable to create an alternate administrator account or use a password recovery disk to perform the operation.

Windows Server R2 Solution After forgetting the administrator password

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.