Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Tokens and DS7.1

Updated: 05 Sep 2010 | 4 comments
noodleNT's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

How do you go about using tokens in an unattend.xml file with DS 7.1? I am trying to just do a basic image with my custom unattend.xml file but I am falling short.

Comments

mclemson's picture
20
Jul
2010
1 Vote +1
Login to vote

13 tokens pre-defined.. if I can count

Tokens are defined in Settings > All Settings, Settings > Notification Server > Task Settings > Tokens.  You can use them in scripts and answer files; I assume unattend.xml is still an option in DS 7.1.  I always view the variables for the tokens (like %COMPNAME% for Computer Name or %IPADDR% for IP Address) by pretending to create a new Run Script task and then viewing the tokens from there.

What are you wanting tokens to accomplish in your unattend.xml file?

Mike Clemson, Senior Systems Engineer
Intuitive Technology Group -- Symantec Platinum Partner

noodleNT's picture
21
Jul
2010
0 Votes 0
Login to vote

Dynamic computer names. In DS 6.9 I used %NAME% in the Shell-Setup section of the unattend file for ComputerName. I changed this to %COMPNAME% and it worked. Thanks!

It would be nice if their token list showed what the variable actually is. For instance you can see that there is a token for "Computer Name" and what SQL script is used to build that token. However it doesn't show you what the token value actually is. I was trying %NAME%, %COMPUTER%, %Computer Name%, %ComputerName% and so on.

KrisH123's picture
21
Jul
2010
0 Votes 0
Login to vote

Example unattend.xml

There are example sysprep files that use tokens on the NS.

\\YourServerName\NSCap\bin\Win32\X86\Deployment

m_matukin@compfort.pl's picture
04
Aug
2010
0 Votes 0
Login to vote

Hi
Example file for OS script install are in :
\\YourServerName\NSCap\bin\Win32\X86\Deployment\SOI\AnswerFile

like :

Unattend_Default_Wind7.xml