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 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. 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. Here, we click "Repair Computer", note, do not click Install The same system recovery options appear. Here we select the system and click next. Here we just click "Command Prompt" 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 Here we choose Restart In the picture below, we have restarted the server. Click the circle in the lower left corner. Check the "On-Screen Keyboard" checkbox and click OK. Then the following screen will appear. Since we have replaced the real osk with cmd.exe, the cmd interface will appear. Here we can directly change the password to what we want, as shown below We exit cmd, log in to the server again, and use the password we just changed 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 allow all hosts to access mysql
>>: Vue simple implementation of turntable lottery
Table of contents 1. Front-end control 1. In the ...
An image link <img src="" /> I wa...
Table of contents Basic selectors: Level selector...
<br />In the page, typesetting is achieved b...
1.MySQL version [root@clq system]# mysql -v Welco...
This article example shares the specific code of ...
Find two test machines: [root@docker1 centos_zabb...
1. Data desensitization explanation In daily deve...
Table of contents What is insert buffer? What are...
What? What star coat? Well, let’s look at the pic...
Using the image service deployed by docker stack,...
Table of contents 1. Differences between the two ...
Redux is a data state management plug-in. When us...
Table of contents 1. lazy 2.trim 3.number 4.stop ...
1. What is a servlet 1.1. Explain in official wor...