- Регистрация
- 30.09.2016
- Сообщения
- 249
- Благодарностей
- 30
- Баллы
- 28
Заплачу 5 долл. битками человеку, который поможет в следующей задаче
Суть: Утерян пароль входа на сервер. Сгорела Винда красным пламенем, отформатировал жесткий диск. Короче добраться до пароля очень сложно.
Есть руководство для Linux-системы.
Не получается реализовать. Сыпятся ошибки, которые я не понимаю. Хелп! 
Skype: zhermen2
M-Agent: [email protected]
Суть: Утерян пароль входа на сервер. Сгорела Винда красным пламенем, отформатировал жесткий диск. Короче добраться до пароля очень сложно.
Есть руководство для Linux-системы.
Код:
You can use our rescue mode to reset a lost Windows password.
First, start the rescue mode via the central customer management interface. To connect to your server in rescue mode, use Putty or any other SSH client of your choice. Enter the following commands:
# ntfsfix /dev/sda2
# mount /dev/sda2 /mnt
# mv /mnt/Windows/System32/Utilman.exe /mnt/Windows/System32/Utilman.exe.bak
# cp /mnt/Windows/System32/cmd.exe /mnt/Windows/System32/Utilman.exe
# umount /mnt
If you use a software raid, repeat these steps, but use /dev/sdb2 in the first command instead of /dev/sda2.
After this, enter the following commands to install a virtualization software, so that you can boot the system:
# apt-get update && apt-get install qemu
Windows Server 2008:
# qemu-system-x86_64 -enable-kvm -hda /dev/sda -vnc :12 -m 1024
Windows Server 2012:
# qemu-system-x86_64 -enable-kvm -hda /dev/sda -vnc :12 -m 1024 -cpu host,+nx
If the following error occurs: failed to initialize KVM: No such file or directory, you will have to load the KVM kernel module:
# modprobe kvm-intel
For 32 Bit operating systems you may have to modify qemu-system-x86_64 to qemu .
Download a VNC client of your choice (for example TightVNC) and connect to your server on port 5912 .
You should now see Windows booting. If you see the login screen, press Windows-Button + U. It should now appear a console window. Enter the following command to set a new password for the user "Administrator":
# net user Administrator newpassword
After this, login with the new password and then shutdown the operating system.
You will have to copy back the Utilman file via the rescue mode:
# mount /dev/sda2 /mnt
# mv /mnt/Windows/System32/Utilman.exe.bak /mnt/Windows/System32/Utilman.exe
# umount /mnt
If you are using a software-raid repeat this for /dev/sdb1. If done, de-activate the rescue mode via the central customer management interface and reboot the server using the following command:
# reboot
After booting you can login with the new password you set before.

Skype: zhermen2
M-Agent: [email protected]
Последнее редактирование: