sysprep and image

Glenn Maxwell 8,466 Reputation points

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.
8,927 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,836 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
6,071 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 42,546 Reputation points


    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 :

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

    0 comments No comments

0 additional answers

Sort by: Most helpful