To capture a virtual machine as an image for new Azure Virtual Desktop session hosts, which command needs to be run?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Study for the Azure Virtual Desktop Exam AZ-140. Prepare with flashcards and multiple choice questions. Each question includes hints and explanations. Get ready for your exam!

To capture a virtual machine as an image for new Azure Virtual Desktop session hosts, the command that needs to be run is sysprep.exe. This tool is specifically designed for preparing Windows operating systems for imaging and deployment. It generalizes the Windows installation by removing system-specific data, ensuring that the image can be effectively deployed to different virtual machines without running into uniqueness issues.

Using sysprep sets the machine to a state that is ideal for capturing as an image, allowing multiple instances to be created from that image while maintaining the necessary configuration and system integrity. This process is essential in scenarios like Azure Virtual Desktop, where consistent and reliable deployment of session hosts from a base image is crucial for scalability and management.

The other options do not perform the specific function required for preparing a machine image. CredentialEnrollmentManager.exe is used for managing credentials, desktopimgdownldr.exe is for downloading desktop images, and dism.exe is a tool for servicing Windows images but is not intended for generalizing the installation. Only sysprep.exe serves the purpose of preparing a system image for duplication.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy