Windows 10 VM for Virtual desktop generalize got stuck

Nadeem Hussain Joo 6 Reputation points
2023-08-25T14:20:30.6866667+00:00

Dear team

I was creating an image for Azure Virtual Desktop and while generalizing image a command prompt gets open with header as "Error Handler" and sysprep continues to be in loop at " Sysprep is working Proceesing generalize phase sysprep plugins ".

Appreciate your support on priority.

Regards

Nadeem

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,842 questions
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,487 Reputation points Moderator
    2023-09-01T01:29:59.77+00:00

    Hello Nadeem Hussain Joo

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Based on the issue description (facing an issue while generalizing the image for Azure Virtual Desktop), can occur due to various reasons such as outdated Windows version, corrupted user profile, or outdated drivers.

    Please try these troubleshooting steps and see if these resolve your issue:

    1. Check if there are any pending Windows updates and install them. Y
    2. Check if there are any outdated drivers and update them.
    3. Create a new user profile and try to generalize the image again. Sometimes, a corrupted user profile can cause this issue.
    4. If none of the above steps work, you can try to generalize the image manually by following the steps below:

    a. Open an elevated command prompt and navigate to the Sysprep folder by running the following command: cd C:\Windows\System32\Sysprep

    b. Run the following command to generalize the image: sysprep.exe /oobe /generalize /shutdown

    c. Wait for the VM to shut down and then create an image from the VM.

    Hope this helps.

    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.