Hi,
Passwords for new users or for joining a domain could defined in plain text or encrypted at sysprep.xml or unattend.xml file. But they are not “really” encrypted.
Continue reading Windows: Script to recover lost Passwords from a unattend/sysprep.xml file