Last update at :2024-06-21,Edit by888u
It should be that a few months ago, a netizen changed the password generated by the default system when using a Vultr VPS host to install a Windows system operation project. He actually relied on his clever brain to memorize the password, and finally forgot it and could not remotely control it. login. Although there was no help to solve it at the time, this problem has always been remembered and I just took advantage of this experience "Vultr VPS installation process and experience of built-in Windows 2012/2016 system". I also tried to find a solution to retrieve and reset the forgotten password. Password method.
In fact, the Vultr official also provides a solution (https://www.vultr.com/docs/reset-windows-server-administrator-password), so in this article Snail is also based on this article. methods to solve and record. The methods in the article refer to the official ones, but all the screenshots are recorded by my own personal experience.
First, preparations
The most important thing is to back up the data. Although I was able to solve this problem this time, it is inevitable that netizens may refer to the problem, so it is recommended that we take a snapshot backup first, and then proceed with the operation. Of course, if we have better methods and solutions, we can still try to solve it ourselves. According to the official documentation, 2012 and 2018 systems are supported. I solved it on the 2016 system and it was OK.
Second, install Finnix
1. Finnix download address
Official download address: https://www.finnix.org/Download
Here I use Finnix 111 version, download address
Finnix 111: http://www.finnix.org/releases/110/finnix-110.iso
2. Customized upload
We need to customize the ISO upload. After the upload is completed, we start it with Finnix.
3. Start
Select finnix and click attach iso and reboot.
Third, set and reset the remote password
1. Connect to the server through View Console to perform command operations.
Enter the system and see the above interface, then press Enter.
Check the disk status through the fdisk -l command. The data we need to see here is all in /dev/vda2.
2. Mount
mkdir /mnt/winmount /dev/vda2 /mnt/win
But I saw an error. Then let’s solve it.
ntfsfix /dev/vda2mount /dev/vda2 /mnt/win
We first ntfsfix the disk and then mount it.
3. Clear password
cd /mnt/win/Windows/System32/config/
chntpw SAM
Then I enter 1 and press Enter to clear the password, and then enter y to write.
4. Clear mount
cd ~umount /mnt/win
Clear the mount, and then remove the mounted finnix in the panel.
Fourth, reset password
After restarting, we can log in to View Console. We can directly enter the WIN system without a password. We will set a new password at this time.
This way we can reset the password.
In summary, the setting process is quite simple, after all, it can be set up according to the official tutorial. But no matter what, if we have important data, we still need to take a snapshot backup first. Because there may be various uncertainties during any operation.
Recommended site search: free virtual host, US host rental, server hosting, virtual space free trial, Zhenjiang high-defense server, US host rental, Taobao virtual host, server rental, icp website registration, high-defense server rental,
p>
发表评论