You decide to deploy AVD session host VMs based on a preconfigured master image.
The master image will be stored in a shared image gallery.
You create a VM named Img1 to utilize as the master image.
You install apps and apply configuration modifications to Img1
You need to make sure that the new session host VMs created based on Img11 have unique names and security identifiers.
What would you do on Img1 before adding the image to the shared image gallery?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: C
System Preparation Tool (sysprep.exe) is a typical process that is run for resetting a Windows installation.
Sysprep offers an "out of the box" experience by deleting all personal data and resetting multiple components.
sysprep.exe is typically run for creating a template from which several other virtual machines having a specific configuration can be deployed.
This template is known as a generalized image.
Option A is incorrect.
The Rename-Computer cmdlet is used to rename a local or remote computer.
Option B is incorrect.
Set computername is the incorrect command to run.
Option C is correct.
You need to run the sysprep command at the command prompt to meet the goal.
Option D is incorrect.
Performing a Windows Autopilot Reset won't meet the goal.
To know more about how to Prepare a Windows VHD or VHDX to upload to Azure, please visit the below-given link:
To ensure that the new session host VMs created based on Img1 have unique names and security identifiers, you should run the sysprep command at the command prompt before adding the image to the shared image gallery.
Sysprep is a built-in Windows utility that prepares a Windows installation for cloning or imaging by stripping out all hardware-specific information, as well as resetting the security identifier (SID) to a new unique value. This ensures that the resulting VMs created from the master image will have unique SIDs and computer names, allowing them to function properly in a networked environment.
The other options, such as running the rename-computer cmdlet or set computername command, only change the name of the computer without resetting the SID. This can cause issues with domain authentication, as multiple VMs with the same SID will not be able to authenticate with the same domain controller simultaneously.
Applying a Windows Autopilot Reset is also not an appropriate solution for this scenario, as it is a process that resets a device to its original state and removes all user data and apps, which is not necessary or desirable in this case.
Therefore, to ensure that the new session host VMs created based on Img1 have unique names and security identifiers, you should run the sysprep command at the command prompt before adding the image to the shared image gallery.