Voici la procédure à suivre pour modifier le mot de passe Windows :
Restart the VPS into Rescue mode
Access the VPS either with the KVM, or through SSH with Putty and run the commands:
apt-get update
apt-get install ntfs-3g
fdisk -l
umount /mnt/vdb2(résultat du fdisk)
mount -t ntfs-3g /dev/vdb2 /mnt
cd /mnt/Windows/System32/
mv Utilman.exe Utilman.exe.bak
cp cmd.exe. Utilman.exe
cd (don't use any option)
umount /mnt -l
Restart the VPS on the hard drive from your OVH control panel
Once the reboot is completed, open the KVM
In the bottom-left of the screen, click on the Accessibility options
In the command prompt, use the command: net user administrator your_password to change your password
Try to connect
Now, you'll need to undo the modification on the file Utilman.exe. This step is mandatory, to insure the safety of your VPS. You can proceed as follows:
Restart the VPS into Rescue mode
Access the VPS either with the KVM, or through SSH with Putty and run the commands:
apt-get update
apt-get install ntfs-3g
umount /mnt/vdb2
mount -t ntfs-3g /dev/vdb2 /mnt
cd /mnt/Windows/System32/
mv Utilman.exe.bak Utilman.exe
Nous ne garantissons pas que cette procédure ne posera pas de souci par la suite.
Veuillez l'appliquer si vous êtes sur que vous avez compris la démarche.
Il est fortement nécessaire d'effectuer la sauvegarde totale des données avant de faire l'opération de changement du mot de passe.
Si vous avez vos données et que cette procédure n'a pas abouti, vous pouvez réinstaller l'OS depuis le manager.
Partager