Hey,
While creating a windows server using Sysprep, I found out that Sysprep's unattend.xml file doesn't accept special chars(<, >, &) as input for passwords. I am trying to use the following characters as a password in the unattend.xml file.
![113323-screenshot-2021-06-02-at-81723-pm.png][1]Sysprep unattend.xml code block
Error message
![113318-screenshot-2021-06-09-at-35902-pm.png][2]
After debugging I found out that this is because XML doesn't accept these 5 special chars(<, >, &, ', "). We need to escape and unescape it but windows don't do that. If so please provide proper documentation stating all the valid characters accepted for the password in aunattend.xml.
[1]: /answers/storage/attachments/113323-screenshot-2021-06-02-at-81723-pm.png
[2]: /answers/storage/attachments/113318-screenshot-2021-06-09-at-35902-pm.png