error :This VM is generalized. VM disk settings cannot be edited on generalized VMs.

M.GUEND 20 Reputation points
2023-04-19T13:09:27.42+00:00

Hello to all I made by mistake a sysprep on a virtual machine azure I want to restore this machine before the sysprep is possible? the machine is still available but not possible to turn it on I also have the bakcups

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,496 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tech-Hyd-1989 5,816 Reputation points
    2023-04-19T18:42:54.4833333+00:00

    Hello M.GUEND

    If you have taken backups of the virtual machine before the sysprep operation, you can restore the virtual machine to a previous state using the backup. Here are the general steps to restore a virtual machine from a backup:

    1. In the Azure portal, go to the Recovery Services vault that contains the backup of the virtual machine.
    2. In the vault, go to the Backup Items tab and select Virtual Machines.
    3. Select the virtual machine that you want to restore and click on the Restore VM button.
    4. In the Restore Configuration blade, select the restore point that you want to use for the restore.
    5. In the Restore Configuration blade, select the Restore Type as "Create new virtual machine".
    6. In the Restore Configuration blade, specify the details for the new virtual machine, such as the name, resource group, and virtual network.
    7. Click on the Restore button to start the restore operation. Once the restore operation is complete, you should have a new virtual machine that is restored to the state before the sysprep operation. Note that the new virtual machine will have a different name and IP address than the original virtual machine.

    I hope this helps! Let me know if you have any further questions.

    Please accept answer if the above information is helpful for the benefit of the community.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.