This message was deleted.
# citrix-vad
s
This message was deleted.
d
just log in as a local account and run Reset-ComputerMachinePassword -Server DomainControllerName -Credential domain\AdminAccount
💯 1
n
okay, so that won't impact the MCS clones when i run an update?
g
Nope. Top tip... look into disabling automatic password update on the computer account, that is a registry setting which can be set inn the master image.
There are some security concerns involved of course, but you can avoid this issue later if you revert to an older snapshot with an invalid machine account password. https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/disable-machine-account-password
r
Exactly what @Geir Sandstad said is what I do at times. Sometimes I have to do this as well
Copy code
Test-ComputerSecureChannel -Repair -Credential corpdsmith
I use this site to help me when I forget https://theitbros.com/fix-trust-relationship-failed-without-domain-rejoining/
n
@Ray Davis thanks...i guess it won't impact the clones...thanks
g
What @Ray Davis said will work as well when the problem arises. I've done that a few times with persistent VDIs that have lost the trust relationship. However, "my" fix should help you avoid that issue with the master image alltogether.
r
No @newbie1998 the clone have there own identity. But do what @Geir Sandstad stated with the machine account. If the master image is turned off, as most are while not in use. The Domain trust may continue to get broken. As I believe it is 30 days. It like we do with PVS Golden image. https://support.citrix.com/article/CTX231620/disabling-automatic-password-change-for-nonpersistent-desktops
use that for the master image.
g
Correct, @Ray Davis
n
I tried all these steps but none of them worked. I checked AD and the computer account was missing. I've never seen that before. I thought a computer AD account loses it's trust if it has been shut down for longer than 30 days.
does it automatically get deleted from AD as well?