I'm finding myself a bit confused on how I can automatically insert passwords into sysprep.
Say I have the following for account creation or autologin:
<Password> <Value>PasswordGoesHere</Value> <PlainText>true</PlainText> </Password>
What would my sysprep look like to replace the PasswordGoesHere with the password I want?
Further - is there a way to replace some arbitrary placeholder? For example adding the password to a commandline argument:
<CommandLine>net use * \\server\sharedfiles /user:myuser PasswordGoesHere /persistent:yes</CommandLine>
The docs mention replacing sysprep tags and appear to hint at some form of environment variable replacement using braces but isn't clear enough for me to grasp the syntax or know exactly where to provide the values.