We use Parallels RAS Templates on Nutanix AHV, with one template image per customer/host pool. We use RASPrep for personalization.
Over time, we frequently encounter the error:
"The trust relationship between this workstation and the primary domain failed"
We suspect this is caused by RASPrep booting the template image multiple times during its lifecycle, potentially affecting the computer account's secure channel with Active Directory.
The RAS Agent continues to report the template as healthy (OK), even when the domain trust relationship is broken.
Suggested enhancement:
Add an option for the RAS Agent to automatically validate the domain secure channel at template startup using:
"Test-ComputerSecureChannel -Verbose"
If the secure channel is broken, the RAS Agent should automatically attempt to repair it using its Local System account, for example through:
"Test-ComputerSecureChannel -Repair"
or by using a privileged domain accound using the command
"Reset-ComputerMachinePassword -Server %ADC-SERVER% -Credential %DOMAIN-ADMIN%"
This would eliminate the need for manual intervention using local administrators/LAPS credentials to restore the domain trust relationship. Also, this error is making the upgrade process of Parallels RAS (Agent upgrade after platform upgraded) a quite bigger task than it needs to be
All the best,
Runar Verwaal
Over time, we frequently encounter the error:
"The trust relationship between this workstation and the primary domain failed"
We suspect this is caused by RASPrep booting the template image multiple times during its lifecycle, potentially affecting the computer account's secure channel with Active Directory.
The RAS Agent continues to report the template as healthy (OK), even when the domain trust relationship is broken.
Suggested enhancement:
Add an option for the RAS Agent to automatically validate the domain secure channel at template startup using:
"Test-ComputerSecureChannel -Verbose"
If the secure channel is broken, the RAS Agent should automatically attempt to repair it using its Local System account, for example through:
"Test-ComputerSecureChannel -Repair"
or by using a privileged domain accound using the command
"Reset-ComputerMachinePassword -Server %ADC-SERVER% -Credential %DOMAIN-ADMIN%"
This would eliminate the need for manual intervention using local administrators/LAPS credentials to restore the domain trust relationship. Also, this error is making the upgrade process of Parallels RAS (Agent upgrade after platform upgraded) a quite bigger task than it needs to be
All the best,
Runar Verwaal
Upvote
0