sysprep and image

Glenn Maxwell 10,146 Reputation points
2023-02-27T13:30:21.3233333+00:00

Hi All

i have deployed Windows 11 VM in Azure. I want to create an image/template from this VM. Before creating image other than below changes any other changes to be made?. can i also delete Panther Folder?

  1. Delete Panther Folder under C:\Windows
  2. cd C:\Windows\System32\Sysprep> sysprep.exe

System Cleanup Action: Enter System Out-of-Box Experience(OOBE)

check the box: Generalize

Shutdown options: Shutdown

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,604 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,901 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,147 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 43,931 Reputation points
    2023-02-28T14:10:23.2133333+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to Azure sysprep of Image.

    To generalize your Windows VM, follow these steps:

    Sign in to your Windows VM.

    Open a Command Prompt window as an administrator.

    Delete the panther directory (C:\Windows\Panther).

    Then change the directory to %windir%\system32\sysprep, and then run:

    sysprep.exe /oobe /generalize /mode:vm /shutdown

    The VM will shut down when Sysprep is finished generalizing the VM. Do not restart the VM.

    Reference :

    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/upload-generalized-managed

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

0 additional answers

Sort by: Most helpful