How to handle forgotten passwords in Windows Server 2008 R2

How to handle forgotten passwords in Windows Server 2008 R2

What to do if you forget Windows Server 2008R2

Sometimes, we forget the server password for various reasons, such as too many servers, too many servers, or being hacked. At this time, we want to log in, but we find that we have no way to do it. In fact, to avoid this problem, we can make a password reset disk, but this is not the focus of our discussion this time. We are now discussing how to change the password in the event of forgetting.

The first method: through the system disk

The steps are cumbersome and require computer knowledge. At least you need to know how to add an administrator account under cmd, which is of course the basics.

Let’s look at a picture

1

Does it look familiar? Let's pay attention to the circle in the lower left corner. Let's click it and take a look. Pay attention to the "On-Screen Keyboard" in the figure below. There is a file called osk.exe in our system, which is located under SYSTEM32. This time we will try it.

2

First, we put the 08R2 CD into the machine, then restart and boot from the CD-ROM drive. After we select the language in the figure below, click Next. Don't worry, we will not reinstall the system.

3

Here, we click "Repair Computer", note, do not click Install

4

The same system recovery options appear. Here we select the system and click next.

5

Here we just click "Command Prompt"

6

As shown below, in the first step, we backed up osk.exe and put it in D:\. Since my system has that 100M partition, my system area here is D:\

In the second step, we delete osk.exe

In the third step, we copy cmd.exe to system32 and re-command it as osk.exe

quit

7

Here we choose Restart

8

In the picture below, we have restarted the server. Click the circle in the lower left corner.

9

Check the "On-Screen Keyboard" checkbox and click OK.

11

Then the following screen will appear. Since we have replaced the real osk with cmd.exe, the cmd interface will appear.

22

Here we can directly change the password to what we want, as shown below

33

We exit cmd, log in to the server again, and use the password we just changed

44

Perfect success

The second method: by burning a disc

Something terrible happened at work today. Someone changed the server password, and when I asked him about it, he said he forgot it. Oh! My God! So I checked it online and tested it again, and it succeeded at once. I can only say that there are many experts on the Internet. I made a record below to share with my colleagues.

First, make a bootable USB disk. There are many tools for making it on the Internet, such as Dabaicai and Laomaotao. You can just find one. After the USB disk is made, use it to start the server, enter the menu, and select item 9.

Select option 1 again.

If you choose 1 or 2, the search speed may be very slow.

Once you find it, just press Enter.

Select the account whose password you want to clear.

Don't select anything, just press Y to save and restart the system.

The familiar desktop appears in front of you again.

You may also be interested in:
  • How to create a user and set a password using the Windows Server 2008 R2 command line
  • How to solve the problem of forgetting the administrator password in Win2008 R2
  • How to solve the problem of forgetting the administrator password in Windows Server 2008 R2

<<:  How to allow all hosts to access mysql

>>:  Vue simple implementation of turntable lottery

Recommend

Vue implements dynamic routing details

Table of contents 1. Front-end control 1. In the ...

Detailed explanation of JQuery selector

Table of contents Basic selectors: Level selector...

HTML Table Tag Tutorial (47): Nested Tables

<br />In the page, typesetting is achieved b...

MySQL5.7 single instance self-starting service configuration process

1.MySQL version [root@clq system]# mysql -v Welco...

js to achieve simple magnifying glass effects

This article example shares the specific code of ...

Docker implements cross-host container communication based on macvlan

Find two test machines: [root@docker1 centos_zabb...

Implementation of MYSQL (telephone number, ID card) data desensitization

1. Data desensitization explanation In daily deve...

MySQL Innodb key features insert buffer

Table of contents What is insert buffer? What are...

Example of stars for CSS rating effect

What? What star coat? Well, let’s look at the pic...

Docker image access to local elasticsearch port operation

Using the image service deployed by docker stack,...

Detailed explanation of how Node.js handles ES6 modules

Table of contents 1. Differences between the two ...

Understand the initial use of redux in react in one article

Redux is a data state management plug-in. When us...

13 Most Frequently Asked Vue Modifiers in Interviews

Table of contents 1. lazy 2.trim 3.number 4.stop ...

In-depth understanding of the creation and implementation of servlets in tomcat

1. What is a servlet 1.1. Explain in official wor...