You will create session hosts from a master VM (Image1) stored in a shared image gallery. What must you run on Image1 before adding it to the gallery so new session hosts have unique names and SIDs?
Choose an answer
Tap an option to check your answer.
Correct answer: At a command prompt, run the sysprep command..
Why this is the answer
The sysprep command (System Preparation Tool) is essential for generalizing a Windows installation before capturing it as an image. When you run sysprep with the /generalize option, it removes system-specific information, such as unique Security Identifiers (SIDs) and computer names. This ensures that every new virtual machine deployed from the generalized image starts with a unique SID and can be assigned a unique computer name, preventing conflicts in a networked environment like Azure Virtual Desktop. Running set computername or rename-computer would only change the name of the current VM, not prepare the image for generalized deployment. A Windows Autopilot Reset is for resetting a device to its factory settings for redeployment, but it doesn't generalize an image for creating multiple unique instances.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed