I've run into an issue with DS 7.1 where, upon doing a Scripted OS Install of Windows 7, the Autologon portion of Sysprep will fail when using a custom answer file. My answer file is pretty basic, but a couple particulars about it are below:
* I'm using many of the tokens taken from the sample SOI unattend files, such as @Display, @license, @DiskID, etc.
* I'm creating only a local Administrator account, no secondary account (bypassing the user accounts creation process)
* The local Administrator account has special characters in it, specifically @ and 0 (i.e., p@ssw0rd)
This is indeed a problem with DS 7.1 SP1, and not with my answer file. When I enter automation and take a look at the X:\unattend.xml answer file, I see that where my password used to be, it has been truncated to the following:
<AutoLogon>
<Password>
<Value>p >
<PlainText>true</PlainText>
</Password>
<Username>Administrator</Username>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
</AutoLogon>
<UserAccounts>
<AdministratorPassword>
<Value>p </Value>
<PlainText>true</PlainText>
</AdministratorPassword>
Well, after writing this, a big lightbulb went off in my head. I know exactly why these values are being truncated. Deployment Server has got to be interpreting the @ in my passwords for another token and then garbling up the value. One way I have found to circumvent this flaw is to use an encrypted password for the <AdministratorPassword> value, with the <Plaintext>False entry. Unfortunately, I haven't been able to get an encrypted password to work for the Autologon entry as well. So while my Administrator password ends up being correct in the unattended install, it still tries to logon unsucessfully as local Administrator.
So, here's my question: is there a way to use quotes or the like around the value in an answer file so that DS passes the value AS-IS, and doesn't try to "interpret" it?
Ah, the joys of using Altiris! :o)