Parallels Remote Application Server 16
RASPrep is the Parallels RAS system preparation tool which prepares an installation of Windows client OS for duplication (imaging). RASPrep personalizes each VDI desktop created from a base image. Comparing to Microsoft Sysprep RASPrep modifies much less configurable parameters.
RASPrep performs the following tasks during the initial startup of each new VDI desktop:
- Creates a new computer account in Active Directory for each desktop.
- Gives guest VM a new name.
- Offline joins the VDI desktop to Active Directory domain.
How it works
Parallels RAS Publishing Agent generates a blob by call to NetProvisionComputerAccount under domain admin context (LogonUser/ImpersonateLoggedOnUser), save the blob as base64 string in sysprep xml and send this xml to guest VM Agent. Guest VM Agent calls NetRequestOfflineDomainJoin with blob provided, which sets organization and owner settings in the registry, sets admininistator password and restarts Windows.
This table lists the main differences between RASPrep and Sysprep:
|Deleting local accounts||No||Yes|
|New SIDs generation||No||Yes|
|Unjoining parent guest VM from domain||No||Yes|
|Changing computer name||Yes||Yes|
|Joining the new instance to the domain||Yes||Yes|
|Language, regional settings, date, and time customization||No||Yes|
|Number of reboots||1||2 (seal, mini-setup and domain joining)|
|Requires unattended file and Sysprep||No||Yes|
Read more details about NetProvisionComputerAccount at https://msdn.microsoft.com/en-us/library/windows/desktop/dd815228(v=vs.85).aspx